From ea9e8e776a0d6a2208f6885ed60459a799f49c1b Mon Sep 17 00:00:00 2001 From: Boyuan Zhang Date: Fri, 22 Apr 2022 19:00:45 -0400 Subject: [PATCH] vl: add cabac init idc for h264 encode Add interface to store cabac init idc value. Signed-off-by: Boyuan Zhang Acked-by: Leo Liu Reviewed-by: Ruijing Dong Part-of: --- src/gallium/include/pipe/p_video_state.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/include/pipe/p_video_state.h b/src/gallium/include/pipe/p_video_state.h index 4d0495c715b..db34fce73ae 100755 --- a/src/gallium/include/pipe/p_video_state.h +++ b/src/gallium/include/pipe/p_video_state.h @@ -391,6 +391,7 @@ struct pipe_h264_enc_motion_estimation struct pipe_h264_enc_pic_control { unsigned enc_cabac_enable; + unsigned enc_cabac_init_idc; unsigned enc_constraint_set_flags; unsigned enc_frame_cropping_flag; unsigned enc_frame_crop_left_offset;