James Almer
ee09f20796
avcodec/cbs_h266: don't infer derived values
...
The macro is meant for coded values only.
Signed-off-by: James Almer <jamrial@gmail.com>
2023-07-05 18:18:33 -03:00
Frank Plowman
a8178be3b3
cbs_h266: expand the bit depth range to 16 bits
...
Signed-off-by: James Almer <jamrial@gmail.com>
2023-07-05 08:46:50 -03:00
Nuo Mi
3720fa5fec
cbs_h266: fix typo for ols_mode_idc == 2
...
Signed-off-by: James Almer <jamrial@gmail.com>
2023-07-02 09:37:16 -03:00
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>
2023-07-01 19:41:12 -03:00
Andreas Rheinhardt
e7f152a8c2
avcodec/cbs_h266_syntax_template: Avoid shadowing
...
Reviewed-by: Nuo Mi <nuomi2021@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2023-07-01 17:38:54 +02:00
Andreas Rheinhardt
c732fdfa05
avcodec/cbs_h266_syntax_template: Don't use uninitialized value
...
Just a typo. Fixes a warning from Clang.
Reviewed-by: Nuo Mi <nuomi2021@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2023-07-01 17:37:55 +02:00
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>
2023-06-30 08:42:07 -03:00
James Almer
995976750a
avcodec/cbs_h2645: fix parsing and storing Picture Header references in the context
...
Signed-off-by: James Almer <jamrial@gmail.com>
2023-06-30 08:26:38 -03:00
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>
2023-06-29 14:12:50 -03:00