Nuo Mi
763eb59187
cbs_h266: H266RawSliceHeader, expose NumRefIdxActive[]
...
Signed-off-by: James Almer <jamrial@gmail.com>
1 year ago
Nuo Mi
088bda0f8e
cbs_h266: H266RawPredWeightTable, expose num_weights_l0 and num_weights_l1
...
Signed-off-by: James Almer <jamrial@gmail.com>
1 year ago
Nuo Mi
ea8571dc99
cbs_h266: H266RawSliceHeader, expose NumEntryPoints
...
Signed-off-by: James Almer <jamrial@gmail.com>
1 year ago
James Almer
68e9d2835f
avcodec/cbs_h266: add support for Adaptation parameter set NALU type
...
Reviewed-by: Nuo Mi <nuomi2021@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
Frank Plowman
4b19690ff4
cbs_h266: add range extension support
...
example clips:
* 12b444vvc1_E_Sony_2
* 12b444Ietsrc_A_Kwai_2
* 10b444P16_D_Sony_2
* 12b444Iepp_A_Sharp_2
* 12b444SPetsrc_B_Kwai_2
Co-authored-by: Nuo Mi <nuomi2021@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
James Almer
8995e2f77e
avcodec/cbs_h266: add support for Decoding capability information NALU type
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
James Almer
6cb57bb457
avcodec/cbs_h266: add support for Operating point information NALU type
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
James Almer
319a6b3ae2
avcodec/cbs_h266: store RowHeightVal and ColWidthVal in the context
...
Stop overwriting values from the bitstream arrays pps_tile_column_width_minus1
and pps_tile_row_height_minus1.
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
Nuo Mi
8489e317bf
cbs_h266: fix sign for pps_xxx_qp_offset_list
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
James Almer
a77f5019f5
avcodec/cbs_h266: store SubpicIdVal in the context
...
And use it to derive CurrSubpicIdx
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
James Almer
96d6990517
avcodec/cbs_h266: use VVC_MAX_VPS_COUNT for range checks and array size
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
James Almer
995976750a
avcodec/cbs_h2645: fix parsing and storing Picture Header references in the context
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
Andreas Rheinhardt
e132fae1a5
avcodec/cbs_h266: Remove double ;
...
Fixes a warning from GCC when in pedantic mode:
"extra semicolon in struct or union specified"
May also fix compilation with MSVC, see
https://fate.ffmpeg.org/report.cgi?time=20230629174305&slot=x86_64-msvc17-windows-native
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2 years ago
Nuo Mi
dfc62fd1c6
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>
2 years ago