Mesa (main): r600: change rate ctrl struct to array
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Jul 26 20:27:35 UTC 2021
Module: Mesa
Branch: main
Commit: 21da3be7a252eca8a0784857da82b509b448efdb
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=21da3be7a252eca8a0784857da82b509b448efdb
Author: Thong Thai <thong.thai at amd.com>
Date: Tue Jul 13 11:59:50 2021 -0400
r600: 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/drivers/r600/radeon_vce.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/r600/radeon_vce.c b/src/gallium/drivers/r600/radeon_vce.c
index 1cf8522ba3b..132802d243d 100644
--- a/src/gallium/drivers/r600/radeon_vce.c
+++ b/src/gallium/drivers/r600/radeon_vce.c
@@ -270,7 +270,7 @@ static void rvce_begin_frame(struct pipe_video_codec *encoder,
struct pipe_h264_enc_picture_desc *pic = (struct pipe_h264_enc_picture_desc *)picture;
bool need_rate_control =
- enc->pic.rate_ctrl.rate_ctrl_method != pic->rate_ctrl.rate_ctrl_method ||
+ enc->pic.rate_ctrl[0].rate_ctrl_method != pic->rate_ctrl[0].rate_ctrl_method ||
enc->pic.quant_i_frames != pic->quant_i_frames ||
enc->pic.quant_p_frames != pic->quant_p_frames ||
enc->pic.quant_b_frames != pic->quant_b_frames;
More information about the mesa-commit
mailing list