Files
2026-04-07 09:58:54 +02:00

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