Mesa (main): vl: add cabac init idc for h264 encode
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Jul 25 13:43:27 UTC 2022
Module: Mesa
Branch: main
Commit: ea9e8e776a0d6a2208f6885ed60459a799f49c1b
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ea9e8e776a0d6a2208f6885ed60459a799f49c1b
Author: Boyuan Zhang <boyuan.zhang at amd.com>
Date: Fri Apr 22 19:00:45 2022 -0400
vl: add cabac init idc for h264 encode
Add interface to store cabac init idc value.
Signed-off-by: Boyuan Zhang <boyuan.zhang at amd.com>
Acked-by: Leo Liu <leo.liu at amd.com>
Reviewed-by: Ruijing Dong <ruijing.dong at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16113>
---
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;
More information about the mesa-commit
mailing list