mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
21 lines
480 B
Objective-C
Executable File
21 lines
480 B
Objective-C
Executable File
#import <Foundation/Foundation.h>
|
|
#import <AVFoundation/AVFoundation.h>
|
|
#import "GPUImageContext.h"
|
|
#import "GPUImageOutput.h"
|
|
|
|
@interface PGVideoMovie : GPUImageOutput
|
|
|
|
@property (readwrite, retain) AVPlayerItem *playerItem;
|
|
|
|
- (instancetype)initWithPlayerItem:(AVPlayerItem *)playerItem;
|
|
|
|
- (void)startProcessing;
|
|
- (void)endProcessing;
|
|
- (void)cancelProcessing;
|
|
- (void)processMovieFrame:(CMSampleBufferRef)movieSampleBuffer;
|
|
|
|
- (void)process;
|
|
- (void)reprocessCurrent;
|
|
|
|
@end
|