Lines Matching refs:i4_mb_cost
116 WORD32 i4_cost_least = ps_mb_part->i4_mb_cost; in ime_diamond_search_16x16()
238 if (i4_cost_least < ps_mb_part->i4_mb_cost) in ime_diamond_search_16x16()
240 ps_mb_part->i4_mb_cost = i4_cost_least; in ime_diamond_search_16x16()
304 WORD32 i4_mb_cost, i4_mb_cost_least = INT_MAX, i4_distortion_least = INT_MAX; in ime_evaluate_init_srchposn_16x16() local
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()
346 if (i4_mb_cost < i4_mb_cost_least) in ime_evaluate_init_srchposn_16x16()
348 i4_mb_cost_least = i4_mb_cost; in ime_evaluate_init_srchposn_16x16()
357 if (i4_mb_cost_least < ps_mb_part->i4_mb_cost) in ime_evaluate_init_srchposn_16x16()
360 ps_mb_part->i4_mb_cost = i4_mb_cost_least; in ime_evaluate_init_srchposn_16x16()
487 WORD32 i4_mb_cost; in ime_sub_pel_motion_estimation_16x16() local
488 WORD32 i4_mb_cost_least = ps_mb_part->i4_mb_cost; 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()
570 if (i4_mb_cost < i4_mb_cost_least) in ime_sub_pel_motion_estimation_16x16()
572 i4_mb_cost_least = i4_mb_cost; 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()
604 if (i4_mb_cost < i4_mb_cost_least) in ime_sub_pel_motion_estimation_16x16()
606 i4_mb_cost_least = i4_mb_cost; 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()
641 if (i4_mb_cost < i4_mb_cost_least) in ime_sub_pel_motion_estimation_16x16()
643 i4_mb_cost_least = i4_mb_cost; in ime_sub_pel_motion_estimation_16x16()
662 if (i4_mb_cost_least < ps_mb_part->i4_mb_cost) in ime_sub_pel_motion_estimation_16x16()
664 ps_mb_part->i4_mb_cost = i4_mb_cost_least; in ime_sub_pel_motion_estimation_16x16()
708 WORD32 i4_mb_cost; in ime_compute_skip_cost() local
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()
776 if (i4_mb_cost <= ps_smb_part_info->i4_mb_cost) in ime_compute_skip_cost()
778 ps_smb_part_info->i4_mb_cost = i4_mb_cost; in ime_compute_skip_cost()