aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/cbs_h266.h
diff options
context:
space:
mode:
authorNuo Mi <nuomi2021@gmail.com>2023-08-08 18:59:01 +0800
committerJames Almer <jamrial@gmail.com>2023-08-17 10:05:24 -0300
commit088bda0f8e33c803f5069dce7c7821ed083ca639 (patch)
tree71d7005593e96a0bdabcab44a9f70f989aa833d7 /libavcodec/cbs_h266.h
parentea8571dc997d8fd41235a9f870828a61c878f607 (diff)
downloadffmpeg-088bda0f8e33c803f5069dce7c7821ed083ca639.tar.gz
cbs_h266: H266RawPredWeightTable, expose num_weights_l0 and num_weights_l1
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/cbs_h266.h')
-rw-r--r--libavcodec/cbs_h266.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/cbs_h266.h b/libavcodec/cbs_h266.h
index 1d80c74feb..87a2d02cfd 100644
--- a/libavcodec/cbs_h266.h
+++ b/libavcodec/cbs_h266.h
@@ -666,6 +666,9 @@ typedef struct H266RawPredWeightTable {
int8_t luma_offset_l1[15];
int8_t delta_chroma_weight_l1[15][2];
int16_t delta_chroma_offset_l1[15][2];
+
+ uint8_t num_weights_l0; ///< NumWeightsL0
+ uint8_t num_weights_l1; ///< NumWeightsL1
} H266RawPredWeightTable;
typedef struct H266RawPictureHeader {