diff options
author | Dai, Jianhui J <jianhui.j.dai-at-intel.com@ffmpeg.org> | 2023-11-13 01:53:35 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2023-11-15 10:29:03 -0500 |
commit | c9fe9fb86300c240da5e9c1441445c8dee5c7bce (patch) | |
tree | 1c3c464c1a61838f4c1f3f50aa9af4f7bd583aa4 /libavcodec/aacenc_quantization_misc.h | |
parent | 5cb8accd09054f8d9dd63f325a290a1008ce1e7e (diff) | |
download | ffmpeg-c9fe9fb86300c240da5e9c1441445c8dee5c7bce.tar.gz |
avcodec/cbs_vp8: Add support for VP8 codec bitstream
This commit adds support for VP8 bitstream read methods to the cbs
codec. This enables the trace_headers bitstream filter to support VP8,
in addition to AV1, H.264, H.265, and VP9. This can be useful for
debugging VP8 stream issues.
The CBS VP8 implements a simple VP8 boolean decoder using GetBitContext
to read the bitstream.
Only the read methods `read_unit` and `split_fragment` are implemented.
The write methods `write_unit` and `assemble_fragment` return the error
code AVERROR_PATCHWELCOME. This is because CBS VP8 write is unlikely to
be used by any applications at the moment. The write methods can be
added later if there is a real need for them.
TESTS: ffmpeg -i fate-suite/vp8/frame_size_change.webm -vcodec copy
-bsf:v trace_headers -f null -
Signed-off-by: Jianhui Dai <jianhui.j.dai@intel.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavcodec/aacenc_quantization_misc.h')
0 files changed, 0 insertions, 0 deletions