Files
ffmpeg/libavcodec
Dai, Jianhui J c9fe9fb863 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>
2023-11-15 10:29:03 -05:00
..
2023-11-10 00:14:02 +01:00
2023-09-11 00:27:45 +02:00
2023-08-15 19:09:23 +02:00
2023-11-08 17:37:58 +11:00
2023-05-15 10:24:54 +02:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-09-22 13:15:00 +08:00
2023-09-01 23:59:14 +02:00
2023-09-11 00:27:45 +02:00
2023-09-07 00:23:30 +02:00
2023-09-22 13:15:00 +08:00
2023-09-22 13:15:00 +08:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-11-08 17:37:58 +11:00
2023-11-08 17:37:58 +11:00
2023-09-11 00:27:45 +02:00
2023-09-19 21:28:40 +02:00
2023-09-11 00:27:45 +02:00
2023-10-01 02:25:09 +02:00
2023-09-07 00:42:10 +02:00
2023-09-11 00:27:45 +02:00
2023-05-21 10:50:59 +02:00
2023-09-11 00:27:45 +02:00
2023-11-14 19:15:51 +02:00
2023-10-09 19:52:51 +03:00
2023-09-07 00:42:10 +02:00
2023-05-15 10:24:54 +02:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-10-03 00:27:14 +02:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-10-31 21:33:25 +02:00
2023-10-31 21:33:25 +02:00
2023-09-07 00:42:10 +02:00
2023-09-11 00:27:45 +02:00
2023-09-07 00:42:10 +02:00
2023-09-07 00:42:10 +02:00
2023-11-08 17:37:58 +11:00
2023-11-08 17:37:58 +11:00
2023-05-15 10:24:54 +02:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-09-07 00:42:10 +02:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-09-04 11:04:45 +02:00
2023-09-11 00:27:45 +02:00
2023-11-09 12:53:35 +01:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-09-28 19:37:58 +02:00
2023-09-30 15:35:04 +02:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-10-05 22:05:21 +02:00
2023-11-01 22:53:26 +02:00
2023-11-01 22:53:26 +02:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-06-18 14:29:12 +02:00
2023-09-07 20:58:00 +02:00
2023-09-11 00:27:45 +02:00
2023-10-10 00:22:55 +02:00
2023-11-08 17:37:58 +11:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-11-01 20:16:02 +01:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00