void getEncParamPresetH264(vlVaContext *context)
{
//motion estimation preset
- context->desc.h264enc.motion_est.motion_est_quarter_pixel = 0x00000001;
- context->desc.h264enc.motion_est.lsmvert = 0x00000002;
- context->desc.h264enc.motion_est.enc_disable_sub_mode = 0x00000078;
- context->desc.h264enc.motion_est.enc_en_ime_overw_dis_subm = 0x00000001;
- context->desc.h264enc.motion_est.enc_ime_overw_dis_subm_no = 0x00000001;
- context->desc.h264enc.motion_est.enc_ime2_search_range_x = 0x00000004;
- context->desc.h264enc.motion_est.enc_ime2_search_range_y = 0x00000004;
+ context->desc.h264enc.motion_est.motion_est_quarter_pixel = 0;
+ context->desc.h264enc.motion_est.lsmvert = 0;
+ context->desc.h264enc.motion_est.enc_disable_sub_mode = 254;
+ context->desc.h264enc.motion_est.enc_en_ime_overw_dis_subm = 0;
+ context->desc.h264enc.motion_est.enc_ime_overw_dis_subm_no = 0;
+ context->desc.h264enc.motion_est.enc_ime2_search_range_x = 1;
+ context->desc.h264enc.motion_est.enc_ime2_search_range_y = 1;
//pic control preset
context->desc.h264enc.pic_ctrl.enc_cabac_enable = 0x00000001;