[FFmpeg-cvslog] vvc.h: Enable 16-bit support for VVC_MAX_POINTS_IN_QP_TABLE
Nuo Mi
git at videolan.org
Wed Jul 5 14:54:34 EEST 2023
ffmpeg | branch: master | Nuo Mi <nuomi2021 at gmail.com> | Wed Jul 5 19:40:28 2023 +0800| [a357758ec59ad0c211ace22abd372a715ca41bb2] | committer: James Almer
vvc.h: Enable 16-bit support for VVC_MAX_POINTS_IN_QP_TABLE
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a357758ec59ad0c211ace22abd372a715ca41bb2
---
libavcodec/vvc.h | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/libavcodec/vvc.h b/libavcodec/vvc.h
index 099d2fc2ad..7cf26d5e8c 100644
--- a/libavcodec/vvc.h
+++ b/libavcodec/vvc.h
@@ -102,9 +102,10 @@ enum {
VVC_MAX_REF_ENTRIES = VVC_MAX_DPB_SIZE + 13,
//7.4.3.3 sps_num_points_in_qp_table_minus1[i] in range [0, 36 − sps_qp_table_start_minus26[i]],
- //sps_qp_table_start_minus26[i] in range [sps_qp_table_start_minus26[i] −26 − QpBdOffset, 36]
- //for 10 bitsQpBdOffset is 12, so sps_num_points_in_qp_table_minus1[i] in range [0, 74]
- VVC_MAX_POINTS_IN_QP_TABLE = 75,
+ //and sps_qp_table_start_minus26[i] in range [−26 − QpBdOffset, 36].
+ //so sps_num_points_in_qp_table_minus1[i] should in range [0, 62 + QpBdOffset]
+ //since 16 bits QpBdOffset is 48, sps_num_points_in_qp_table_minus1[i] should range [0, 110]
+ VVC_MAX_POINTS_IN_QP_TABLE = 111,
// 7.4.6.1: hrd_cpb_cnt_minus1 is in [0, 31].
VVC_MAX_CPB_CNT = 32,
More information about the ffmpeg-cvslog
mailing list