Mark Thompson
eccc03c8fb
cbs_h264: Add support for filler NAL units
8 years ago
Mark Thompson
7157d95926
cbs_h264: Move slice_group_id array out of PPS structure
It's very large, and is only used in some FMO streams.
8 years ago
Mark Thompson
a2ca8ed903
cbs_h264: Add utility functions to insert/delete SEI messages
8 years ago
Mark Thompson
ce5870a3a8
cbs: Refcount all the things!
This makes it easier for users of the CBS API to get alloc/free right -
all subelements use the buffer API so that it's clear how to free them.
It also allows eliding some redundant copies: the packet -> fragment copy
disappears after this change if the input packet is refcounted, and more
codec-specific cases are now possible (but not included in this patch).
8 years ago
Mark Thompson
0e4c166cdd
cbs_h2645: Remove active ps references when it is replaced
8 years ago
Mark Thompson
1d12a545ce
cbs: Add an explicit type for coded bitstream unit types
Also fix conversion specifiers used for the unit type.
8 years ago
Mark Thompson
7bf3f38046
cbs: Add padding to slice data allocations
These may be read by the bitstream reader, so they should include the
necessary padding for overreads.
8 years ago
Mark Thompson
22aed77687
cbs_h2645: Fix memory leak on when reading SEI fails
8 years ago
Mark Thompson
9ed18f302b
cbs_h264: Fix writing streams with auxiliary pictures
Tested with the alphaconformanceG sample.
8 years ago
Mark Thompson
e7f64191b2
cbs: Add buffer padding when splitting fragments
Remove any trailing zeroes from H.26[45] NAL units at the same time.
8 years ago
Mark Thompson
44cde38c8a
cbs: Always check for bitstream end before reading
8 years ago
Mark Thompson
768eb9182e
cbs_h2645: Return error if writing fails
8 years ago
Mark Thompson
867381b8b5
lavc: Add coded bitstream read/write support for H.265
8 years ago
Mark Thompson
acf06f4544
lavc: Add coded bitstream read/write support for H.264
8 years ago