mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-05-21 18:20:41 +00:00
23 lines
510 B
Plaintext
23 lines
510 B
Plaintext
// Sources/SubcodecObjC/SCDecodedFrame.mm
|
|
#import "SCDecodedFrame.h"
|
|
|
|
@implementation SCDecodedFrame
|
|
|
|
- (instancetype)initWithWidth:(int)width
|
|
height:(int)height
|
|
y:(NSData *)y
|
|
cb:(NSData *)cb
|
|
cr:(NSData *)cr {
|
|
self = [super init];
|
|
if (self) {
|
|
_width = width;
|
|
_height = height;
|
|
_y = [y copy];
|
|
_cb = [cb copy];
|
|
_cr = [cr copy];
|
|
}
|
|
return self;
|
|
}
|
|
|
|
@end
|