Swiftgram/submodules/ffmpeg/FFMpeg/FFMpegAVFrame.h
2019-07-12 22:12:29 +04:00

26 lines
599 B
Objective-C

#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM(NSUInteger, FFMpegAVFrameColorRange) {
FFMpegAVFrameColorRangeRestricted,
FFMpegAVFrameColorRangeFull
};
@interface FFMpegAVFrame : NSObject
@property (nonatomic, readonly) int32_t width;
@property (nonatomic, readonly) int32_t height;
@property (nonatomic, readonly) uint8_t **data;
@property (nonatomic, readonly) int *lineSize;
@property (nonatomic, readonly) int64_t pts;
@property (nonatomic, readonly) FFMpegAVFrameColorRange colorRange;
- (instancetype)init;
- (void *)impl;
@end
NS_ASSUME_NONNULL_END