Append the NAL data by reference instead of copying into a new buffer
This commit is contained in:
parent
f3b3d2bd08
commit
f909371a90
2 changed files with 18 additions and 13 deletions
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
- (id)initWithView:(UIView*)view;
|
||||
|
||||
- (size_t)updateBufferForRange:(CMBlockBufferRef)existingBuffer data:(unsigned char *)data offset:(int)offset length:(int)nalLength;
|
||||
- (void)updateBufferForRange:(CMBlockBufferRef)existingBuffer data:(unsigned char *)data offset:(int)offset length:(int)nalLength;
|
||||
|
||||
- (void)submitDecodeBuffer:(unsigned char *)data length:(int)length;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue