Home
last modified time | relevance | path

Searched refs:mv_cost (Results 1 – 8 of 8) sorted by relevance

/external/libhevc/encoder/arm/
Dihevce_coarse_layer_sad_neon.c579 S32 mv_cost; in hme_combine_4x4_sads_and_compute_cost_high_speed_neon() local
585 mv_cost = gi2_mvy_range[ABS(mvy)][0] + in hme_combine_4x4_sads_and_compute_cost_high_speed_neon()
588 mv_cost = (mv_cost * lambda + rnd) >> lambda_q_shift; in hme_combine_4x4_sads_and_compute_cost_high_speed_neon()
590 sad_array[0][0] += mv_cost; in hme_combine_4x4_sads_and_compute_cost_high_speed_neon()
591 sad_array[1][0] += mv_cost; in hme_combine_4x4_sads_and_compute_cost_high_speed_neon()
740 S32 mv_cost; in hme_combine_4x4_sads_and_compute_cost_high_quality_neon() local
746 mv_cost = gi2_mvy_range[ABS(mvy)][0] + in hme_combine_4x4_sads_and_compute_cost_high_quality_neon()
750 mv_cost = (mv_cost * lambda + rnd) >> lambda_q_shift; in hme_combine_4x4_sads_and_compute_cost_high_quality_neon()
752 sad_array[0][0] += mv_cost; in hme_combine_4x4_sads_and_compute_cost_high_quality_neon()
753 sad_array[1][0] += mv_cost; in hme_combine_4x4_sads_and_compute_cost_high_quality_neon()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_mcomp.c85 static INLINE int mv_cost(const MV *mv, const int *joint_cost, in mv_cost() function
96 return ROUND_POWER_OF_TWO(mv_cost(&diff, mvjcost, mvcost) * weight, 7); in vp9_mv_bit_cost()
105 (int64_t)mv_cost(&diff, mvjcost, mvcost) * error_per_bit, in mv_err_cost()
116 (unsigned)mv_cost(&diff, x->nmvjointsadcost, x->nmvsadcost) * sad_per_bit, in mvsad_err_cost()
1837 const double mv_cost = in vp9_diamond_search_sad_new() local
1839 double thissad = mv_dist + lambda * mv_cost; in vp9_diamond_search_sad_new()
1843 *best_mv_cost = mv_cost; in vp9_diamond_search_sad_new()
1858 const double mv_cost = in vp9_diamond_search_sad_new() local
1860 double thissad = mv_dist + lambda * mv_cost; in vp9_diamond_search_sad_new()
1864 *best_mv_cost = mv_cost; in vp9_diamond_search_sad_new()
[all …]
Dvp9_encoder.h297 double mv_cost[3]; member
Dvp9_encoder.c5568 int mi_col, MV *mv, int rf_idx, double *mv_dist, double *mv_cost) { argument
5619 mv_dist, mv_cost);
6068 &tpl_stats->mv_cost[rf_idx]);
6342 this_tpl_stats->mv_cost[rf_idx] =
6346 tpl_frame->mv_cost_sum[rf_idx] += this_tpl_stats->mv_cost[rf_idx];
Dvp9_rdopt.c2395 double mv_cost = 0; in single_motion_search() local
2479 nb_full_mvs, nb_full_mv_num, &tmp_mv->as_mv, &mv_dist, &mv_cost); in single_motion_search()
2521 &mv_dist, &mv_cost); in single_motion_search()
/external/libvpx/libvpx/vp9/encoder/x86/
Dvp9_diamond_search_sad_avx.c43 static INLINE int mv_cost(const int_mv mv, const int *joint_cost, in mv_cost() function
54 (unsigned)mv_cost(diff, x->nmvjointsadcost, x->nmvsadcost) * sad_per_bit, in mvsad_err_cost()
/external/libvpx/libvpx/vp8/encoder/
Dfirstpass.c862 int mv_cost; in estimate_modemvcost() local
880 mv_cost = ((int)(fpstats->new_mv_count / fpstats->count) * 8) << 9; in estimate_modemvcost()
891 return mv_cost + mode_cost; in estimate_modemvcost()
/external/libaom/libaom/av1/encoder/
Dmcomp.c88 static INLINE int mv_cost(const MV *mv, const int *joint_cost, in mv_cost() function
97 return ROUND_POWER_OF_TWO(mv_cost(&diff, mvjcost, mvcost) * weight, 7); in av1_mv_bit_cost()
106 (int64_t)mv_cost(&diff, mvjcost, mvcost) * error_per_bit, in mv_err_cost()
117 (unsigned)mv_cost(&diff, x->nmv_vec_cost, x->mv_cost_stack) * sad_per_bit, in mvsad_err_cost()