mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-05-21 18:20:41 +00:00
23 lines
607 B
Objective-C
23 lines
607 B
Objective-C
// Sources/SubcodecObjC/include/SCDecodedFrame.h
|
|
#import <Foundation/Foundation.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface SCDecodedFrame : NSObject
|
|
|
|
@property (nonatomic, readonly) int width;
|
|
@property (nonatomic, readonly) int height;
|
|
@property (nonatomic, readonly) NSData *y;
|
|
@property (nonatomic, readonly) NSData *cb;
|
|
@property (nonatomic, readonly) NSData *cr;
|
|
|
|
- (instancetype)initWithWidth:(int)width
|
|
height:(int)height
|
|
y:(NSData *)y
|
|
cb:(NSData *)cb
|
|
cr:(NSData *)cr;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|