r600: 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>
This commit is contained in:
parent
1e0d512595
commit
21da3be7a2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue