frontends/omx: apply avc seq parameters

change omx according to avc seq parameters

Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18877>
This commit is contained in:
Ruijing Dong
2022-09-29 15:47:27 -04:00
committed by Marge Bot
parent 47e2e15c24
commit 566d95ce14

View File

@@ -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)