summaryrefslogtreecommitdiffstats
path: root/libavcodec/cbs.c
Commit message (Collapse)AuthorAgeFilesLines
* cbs: Refcount all the things!Mark Thompson2018-02-201-29/+136
| | | | | | | | 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).
* cbs: Demote the "decomposition unimplemented" warningMark Thompson2018-02-201-1/+1
| | | | | | This is harmless and should not be a warning - unknown units are passed through to the write functions unchanged, and no other code will interact with them.
* cbs: Add an explicit type for coded bitstream unit typesMark Thompson2018-02-201-5/+7
| | | | Also fix conversion specifiers used for the unit type.
* cbs: Allocate the context inside the init functionMark Thompson2018-02-201-3/+17
| | | | | ... instead of making callers allocate it themselves. This is more consistent with other APIs in libav.
* cbs: Add a missing return value checkMark Thompson2017-11-121-1/+1
|
* cbs: Always check for bitstream end before readingMark Thompson2017-09-121-0/+6
|
* lavc: Add coded bitstream read/write support for MPEG-2Mark Thompson2017-08-201-0/+3
| | | | Also enable MPEG-2 support in the trace_headers filter.
* lavc: Add coded bitstream read/write support for H.265Mark Thompson2017-08-121-0/+3
|
* lavc: Add coded bitstream read/write support for H.264Mark Thompson2017-08-121-0/+3
|
* lavc: Add coded bitstream read/write APIMark Thompson2017-08-121-0/+460
OpenPOWER on IntegriCloud