vvc.h: Enable 16-bit support for VVC_MAX_POINTS_IN_QP_TABLE

Signed-off-by: James Almer <jamrial@gmail.com>
pull/389/head
Nuo Mi 1 year ago committed by James Almer
parent a8178be3b3
commit a357758ec5
  1. 7
      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,

Loading…
Cancel
Save