summaryrefslogtreecommitdiff
path: root/src/gallium/include
diff options
context:
space:
mode:
authorThong Thai <thong.thai@amd.com>2021-07-13 11:59:11 -0400
committerThong Thai <thong.thai@amd.com>2021-07-26 15:06:00 -0400
commit1e0d51259519aa93a6bfa267dcfb8eaa32001e8e (patch)
treebe086da41feb184c54e8f9e09288feea422d9095 /src/gallium/include
parentec53e519c31255291f68c66ea2eb0dc84b3eb991 (diff)
gallium: change rate ctrl struct to array
Signed-off-by: Thong Thai <thong.thai@amd.com> Reviewed-by: Boyuan Zhang <Boyuan.Zhang@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11850>
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_video_state.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_video_state.h b/src/gallium/include/pipe/p_video_state.h
index a1a37a49061..e268f0c1c24 100644
--- a/src/gallium/include/pipe/p_video_state.h
+++ b/src/gallium/include/pipe/p_video_state.h
@@ -391,7 +391,7 @@ struct pipe_h264_enc_picture_desc
{
struct pipe_picture_desc base;
- struct pipe_h264_enc_rate_control rate_ctrl;
+ struct pipe_h264_enc_rate_control rate_ctrl[4];
struct pipe_h264_enc_motion_estimation motion_est;
struct pipe_h264_enc_pic_control pic_ctrl;