Lines Matching refs:i4_mb_distortion

119     WORD32 i4_distortion_least = ps_mb_part->i4_mb_distortion;  in ime_diamond_search_16x16()
241 ps_mb_part->i4_mb_distortion = i4_distortion_least; in ime_diamond_search_16x16()
301 WORD32 i4_mb_distortion; in ime_evaluate_init_srchposn_16x16() local
339 …ble_fast_sad](pu1_curr_mb, pu1_ref, i4_src_strd, i4_ref_strd, i4_mb_cost_least, &i4_mb_distortion); in ime_evaluate_init_srchposn_16x16()
341 DEBUG_SAD_HISTOGRAM_ADD(i4_mb_distortion, 3); in ime_evaluate_init_srchposn_16x16()
343 …i4_mb_cost = i4_mb_distortion + u4_lambda_motion * ( pu1_mv_bits[ (ps_mv_list[i].i2_mvx << 2) - ps… in ime_evaluate_init_srchposn_16x16()
350 i4_distortion_least = i4_mb_distortion; in ime_evaluate_init_srchposn_16x16()
361 ps_mb_part->i4_mb_distortion = i4_distortion_least; in ime_evaluate_init_srchposn_16x16()
483 WORD32 i4_mb_distortion; in ime_sub_pel_motion_estimation_16x16() local
484 WORD32 i4_distortion_least = ps_mb_part->i4_mb_distortion; in ime_sub_pel_motion_estimation_16x16()
564 i4_mb_distortion = ai4_sad[i]; in ime_sub_pel_motion_estimation_16x16()
567 …i4_mb_cost = i4_mb_distortion + u4_lambda_motion * ( pu1_mv_bits[ mv_x_tmp - ps_mb_part->s_mv_pred… in ime_sub_pel_motion_estimation_16x16()
574 i4_distortion_least = i4_mb_distortion; in ime_sub_pel_motion_estimation_16x16()
598 i4_mb_distortion = ai4_sad[2 + i]; in ime_sub_pel_motion_estimation_16x16()
601 …i4_mb_cost = i4_mb_distortion + u4_lambda_motion * ( pu1_mv_bits[ mv_x_tmp - ps_mb_part->s_mv_pred… in ime_sub_pel_motion_estimation_16x16()
608 i4_distortion_least = i4_mb_distortion; in ime_sub_pel_motion_estimation_16x16()
635 i4_mb_distortion = ai4_sad[4 + i + 2 * j]; in ime_sub_pel_motion_estimation_16x16()
638 …i4_mb_cost = i4_mb_distortion + u4_lambda_motion * ( pu1_mv_bits[ mv_x_tmp - ps_mb_part->s_mv_pred… in ime_sub_pel_motion_estimation_16x16()
645 i4_distortion_least = i4_mb_distortion; in ime_sub_pel_motion_estimation_16x16()
665 ps_mb_part->i4_mb_distortion = i4_distortion_least; in ime_sub_pel_motion_estimation_16x16()
705 WORD32 i4_mb_distortion; in ime_compute_skip_cost() local
747 &i4_mb_distortion, &u4_is_nonzero); in ime_compute_skip_cost()
749 if (u4_is_nonzero == 0 || i4_mb_distortion <= ps_me_ctxt->i4_min_sad) in ime_compute_skip_cost()
752 ps_me_ctxt->i4_min_sad = (u4_is_nonzero == 0) ? 0 : i4_mb_distortion; in ime_compute_skip_cost()
759 ps_me_ctxt->i4_rec_strd, INT_MAX, &i4_mb_distortion); in ime_compute_skip_cost()
761 if(i4_mb_distortion <= ps_me_ctxt->i4_min_sad) in ime_compute_skip_cost()
763 ps_me_ctxt->i4_min_sad = i4_mb_distortion; in ime_compute_skip_cost()
774 …i4_mb_cost = i4_mb_distortion - (ps_me_ctxt->u4_lambda_motion * (ps_me_ctxt->i4_skip_bias[0] + ps_… in ime_compute_skip_cost()
779 ps_smb_part_info->i4_mb_distortion = i4_mb_distortion; in ime_compute_skip_cost()