mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-12 18:10:13 +01:00
avcodec/cbs: add cbs implementation for H266/VVC
Add CodedBitstreamContext to parse VPS,SPS,PPS in VVC nal units. Implement parsing and writing of SPS,PPS,VPS,PH,AUD,SEI and slices. Add ff_cbs_type_h266 to cbs types tables and AV_CODEC_ID_H266 to cbs codec ids. Co-authored-by: Thomas Siedel <thomas.ff@spin-digital.com> Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -40,6 +40,9 @@ static const CodedBitstreamType *const cbs_type_table[] = {
|
||||
#if CONFIG_CBS_H265
|
||||
&ff_cbs_type_h265,
|
||||
#endif
|
||||
#if CONFIG_CBS_H266
|
||||
&ff_cbs_type_h266,
|
||||
#endif
|
||||
#if CONFIG_CBS_JPEG
|
||||
&ff_cbs_type_jpeg,
|
||||
#endif
|
||||
@@ -61,6 +64,9 @@ const enum AVCodecID ff_cbs_all_codec_ids[] = {
|
||||
#if CONFIG_CBS_H265
|
||||
AV_CODEC_ID_H265,
|
||||
#endif
|
||||
#if CONFIG_CBS_H266
|
||||
AV_CODEC_ID_H266,
|
||||
#endif
|
||||
#if CONFIG_CBS_JPEG
|
||||
AV_CODEC_ID_MJPEG,
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user