Mesa (main): gallium: change rate ctrl struct to array
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Jul 26 20:27:34 UTC 2021
Module: Mesa
Branch: main
Commit: 1e0d51259519aa93a6bfa267dcfb8eaa32001e8e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1e0d51259519aa93a6bfa267dcfb8eaa32001e8e
Author: Thong Thai <thong.thai at amd.com>
Date: Tue Jul 13 11:59:11 2021 -0400
gallium: change rate ctrl struct to array
Signed-off-by: Thong Thai <thong.thai at amd.com>
Reviewed-by: Boyuan Zhang <Boyuan.Zhang at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11850>
---
src/gallium/include/pipe/p_video_state.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
More information about the mesa-commit
mailing list