radeonsi/vce: Tweak motion estimation params for better quality
This gives better video quality while not slowing down the encoding speed too much (less than 10% slower). Reviewed-by: Ruijing Dong <ruijing.dong@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25991>
This commit is contained in:
parent
8dda860f83
commit
5f70379e0d
1 changed files with 4 additions and 4 deletions
|
|
@ -40,13 +40,13 @@ static void get_rate_control_param(struct rvce_encoder *enc, struct pipe_h264_en
|
|||
static void get_motion_estimation_param(struct rvce_encoder *enc,
|
||||
struct pipe_h264_enc_picture_desc *pic)
|
||||
{
|
||||
enc->enc_pic.me.motion_est_quarter_pixel = 0;
|
||||
enc->enc_pic.me.motion_est_quarter_pixel = 1;
|
||||
enc->enc_pic.me.enc_disable_sub_mode = 254;
|
||||
enc->enc_pic.me.lsmvert = 0;
|
||||
enc->enc_pic.me.lsmvert = 2;
|
||||
enc->enc_pic.me.enc_en_ime_overw_dis_subm = 0;
|
||||
enc->enc_pic.me.enc_ime_overw_dis_subm_no = 0;
|
||||
enc->enc_pic.me.enc_ime2_search_range_x = 1;
|
||||
enc->enc_pic.me.enc_ime2_search_range_y = 1;
|
||||
enc->enc_pic.me.enc_ime2_search_range_x = 4;
|
||||
enc->enc_pic.me.enc_ime2_search_range_y = 4;
|
||||
enc->enc_pic.me.enc_ime_decimation_search = 0x00000001;
|
||||
enc->enc_pic.me.motion_est_half_pixel = 0x00000001;
|
||||
enc->enc_pic.me.enc_search_range_x = 0x00000010;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue