Mark Thompson
84bb8327f5
cbs: Add a table of all supported codec IDs
...
Use it as the set of codec IDs supported by the trace_headers BSF.
7 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).
7 years ago
Mark Thompson
254e728d20
cbs: Minor comment fixes / cosmetics
7 years ago
Mark Thompson
1d12a545ce
cbs: Add an explicit type for coded bitstream unit types
...
Also fix conversion specifiers used for the unit type.
7 years ago
Mark Thompson
2651352988
cbs: Allocate the context inside the init function
...
... instead of making callers allocate it themselves. This is more
consistent with other APIs in libav.
7 years ago
Mark Thompson
686e388bbb
lavc: Add coded bitstream read/write support for MPEG-2
...
(cherry picked from commit 2bc9ba8d3c
)
(cherry picked from commit a41b69b5eb
)
7 years ago
Mark Thompson
9b0c7aa0e4
lavc: Add coded bitstream read/write support for H.265
...
(cherry picked from commit 867381b8b5
)
(cherry picked from commit f763489364
)
(cherry picked from commit 067a9ddeb8
)
7 years ago
Mark Thompson
b4c915f4b3
lavc: Add coded bitstream read/write support for H.264
...
(cherry picked from commit acf06f4544
)
(cherry picked from commit 768eb9182e
)
(cherry picked from commit e7f64191b2
)
7 years ago
Mark Thompson
6734eef6b8
lavc: Add coded bitstream read/write API
...
(cherry picked from commit 18f1706f33
)
(cherry picked from commit 44cde38c8a
)
7 years ago
Mark Thompson
18f1706f33
lavc: Add coded bitstream read/write API
7 years ago