From 566d95ce14e4f2eaa18f5efec7ef1d29eea8de9a Mon Sep 17 00:00:00 2001 From: Ruijing Dong Date: Thu, 29 Sep 2022 15:47:27 -0400 Subject: [PATCH] frontends/omx: apply avc seq parameters change omx according to avc seq parameters Reviewed-by: Leo Liu Signed-off-by: Ruijing Dong Part-of: --- src/gallium/frontends/omx/vid_enc_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/frontends/omx/vid_enc_common.c b/src/gallium/frontends/omx/vid_enc_common.c index cd92af5aad3..01a86d83def 100644 --- a/src/gallium/frontends/omx/vid_enc_common.c +++ b/src/gallium/frontends/omx/vid_enc_common.c @@ -58,7 +58,7 @@ static void enc_GetPictureParamPreset(struct pipe_h264_enc_picture_desc *picture picture->motion_est.enc_disable_sub_mode = 0x000000fe; picture->motion_est.enc_ime2_search_range_x = 0x00000001; picture->motion_est.enc_ime2_search_range_y = 0x00000001; - picture->pic_ctrl.enc_constraint_set_flags = 0x00000040; + picture->seq.enc_constraint_set_flags = 0x00000040; } enum pipe_video_profile enc_TranslateOMXProfileToPipe(unsigned omx_profile)