Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp8/encoder/
Dmcomp.c54 static int mvsad_err_cost(int_mv *mv, int_mv *ref, int *mvsadcost[2], in mvsad_err_cost()
58 if (mvsadcost) { in mvsad_err_cost()
59 return ((mvsadcost[0][(mv->as_mv.row - ref->as_mv.row)] + in mvsad_err_cost()
60 mvsadcost[1][(mv->as_mv.col - ref->as_mv.col)]) * in mvsad_err_cost()
823 mvsad_err_cost(&this_mv, &fcenter_mv, mvsadcost, sad_per_bit); \
839 const vp8_variance_fn_ptr_t *vfp, int *mvsadcost[2], in vp8_hex_search()
881 mvsad_err_cost(&this_mv, &fcenter_mv, mvsadcost, sad_per_bit); in vp8_hex_search()
1048 int *mvsadcost[2]; in vp8_diamond_search_sad_c() local
1051 mvsadcost[0] = x->mvsadcost[0]; in vp8_diamond_search_sad_c()
1052 mvsadcost[1] = x->mvsadcost[1]; in vp8_diamond_search_sad_c()
[all …]
Dmcomp.h38 const vp8_variance_fn_ptr_t *vfp, int *mvsadcost[2],
Dblock.h95 int *mvsadcost[2]; member
Dethreading.c352 z->mvsadcost[0] = x->mvsadcost[0]; in setup_mbby_copy()
353 z->mvsadcost[1] = x->mvsadcost[1]; in setup_mbby_copy()
Donyx_if.c1741 static void cal_mvsadcosts(int *mvsadcost[2]) { in cal_mvsadcosts()
1744 mvsadcost[0][0] = 300; in cal_mvsadcosts()
1745 mvsadcost[1][0] = 300; in cal_mvsadcosts()
1749 mvsadcost[0][i] = (int)z; in cal_mvsadcosts()
1750 mvsadcost[1][i] = (int)z; in cal_mvsadcosts()
1751 mvsadcost[0][-i] = (int)z; in cal_mvsadcosts()
1752 mvsadcost[1][-i] = (int)z; in cal_mvsadcosts()
2085 cpi->mb.mvsadcost[0] = &cpi->rd_costs.mvsadcosts[0][mvfp_max + 1]; in vp8_create_compressor()
2086 cpi->mb.mvsadcost[1] = &cpi->rd_costs.mvsadcosts[1][mvfp_max + 1]; in vp8_create_compressor()
2088 cal_mvsadcosts(cpi->mb.mvsadcost); in vp8_create_compressor()
Dpickinter.c1021 x->mvsadcost, &best_ref_mv); in vp8_pick_inter_mode()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_block.h118 int **mvsadcost; member
Dvp9_encoder.c801 mb->mvsadcost = mb->nmvsadcost_hp; in vp9_set_high_precision_mv()
804 mb->mvsadcost = mb->nmvsadcost; in vp9_set_high_precision_mv()
2129 static void cal_nmvsadcosts(int *mvsadcost[2]) { in cal_nmvsadcosts()
2135 mvsadcost[0][0] = 0; in cal_nmvsadcosts()
2136 mvsadcost[1][0] = 0; in cal_nmvsadcosts()
2140 mvsadcost[0][i] = (int)z; in cal_nmvsadcosts()
2141 mvsadcost[1][i] = (int)z; in cal_nmvsadcosts()
2142 mvsadcost[0][-i] = (int)z; in cal_nmvsadcosts()
2143 mvsadcost[1][-i] = (int)z; in cal_nmvsadcosts()
2147 static void cal_nmvsadcosts_hp(int *mvsadcost[2]) { in cal_nmvsadcosts_hp()
[all …]