Searched defs:mvcost (Results 1 - 16 of 16) sorted by relevance

/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/
H A Dencodemv.c138 void vp8_build_component_cost_table(int *mvcost[2], const MV_CONTEXT *mvc, int mvc_flag[2]) argument
150 mvcost [0] [0] = cost_mvcomponent(0, &mvc[0]);
156 mvcost [0] [i] = cost0 + vp8_cost_zero(mvc[0].prob[MVPsign]);
157 mvcost [0] [-i] = cost0 + vp8_cost_one(mvc[0].prob[MVPsign]);
166 mvcost [1] [0] = cost_mvcomponent(0, &mvc[1]);
172 mvcost [1] [i] = cost1 + vp8_cost_zero(mvc[1].prob[MVPsign]);
173 mvcost [1] [-i] = cost1 + vp8_cost_one(mvc[1].prob[MVPsign]);
375 vp8_build_component_cost_table(cpi->mb.mvcost, (const MV_CONTEXT *) cpi->common.fc.mvc, flags);
H A Dblock.h100 int *mvcost[2]; member in struct:macroblock
H A Dmcomp.c27 int vp8_mv_bit_cost(int_mv *mv, int_mv *ref, int *mvcost[2], int Weight) argument
36 return ((mvcost[0][(mv->as_mv.row - ref->as_mv.row) >> 1] + mvcost[1][(mv->as_mv.col - ref->as_mv.col) >> 1]) * Weight) >> 7;
39 static int mv_err_cost(int_mv *mv, int_mv *ref, int *mvcost[2], int error_per_bit) argument
41 /* Ignore mv costing if mvcost is NULL */
42 if (mvcost)
43 return ((mvcost[0][(mv->as_mv.row - ref->as_mv.row) >> 1] +
44 mvcost[1][(mv->as_mv.col - ref->as_mv.col) >> 1])
191 #define MVC(r,c) (mvcost ? ((mvcost[
204 vp8_find_best_sub_pixel_step_iteratively(MACROBLOCK *x, BLOCK *b, BLOCKD *d, int_mv *bestmv, int_mv *ref_mv, int error_per_bit, const vp8_variance_fn_ptr_t *vfp, int *mvcost[2], int *distortion, unsigned int *sse1) argument
362 vp8_find_best_sub_pixel_step(MACROBLOCK *x, BLOCK *b, BLOCKD *d, int_mv *bestmv, int_mv *ref_mv, int error_per_bit, const vp8_variance_fn_ptr_t *vfp, int *mvcost[2], int *distortion, unsigned int *sse1) argument
673 vp8_find_best_half_pixel_step(MACROBLOCK *x, BLOCK *b, BLOCKD *d, int_mv *bestmv, int_mv *ref_mv, int error_per_bit, const vp8_variance_fn_ptr_t *vfp, int *mvcost[2], int *distortion, unsigned int *sse1) argument
850 vp8_hex_search( MACROBLOCK *x, BLOCK *b, BLOCKD *d, int_mv *ref_mv, int_mv *best_mv, int search_param, int sad_per_bit, const vp8_variance_fn_ptr_t *vfp, int *mvsadcost[2], int *mvcost[2], int_mv *center_mv ) argument
1039 vp8_diamond_search_sad_c( MACROBLOCK *x, BLOCK *b, BLOCKD *d, int_mv *ref_mv, int_mv *best_mv, int search_param, int sad_per_bit, int *num00, vp8_variance_fn_ptr_t *fn_ptr, int *mvcost[2], int_mv *center_mv ) argument
1163 vp8_diamond_search_sadx4( MACROBLOCK *x, BLOCK *b, BLOCKD *d, int_mv *ref_mv, int_mv *best_mv, int search_param, int sad_per_bit, int *num00, vp8_variance_fn_ptr_t *fn_ptr, int *mvcost[2], int_mv *center_mv ) argument
1330 vp8_full_search_sad_c(MACROBLOCK *x, BLOCK *b, BLOCKD *d, int_mv *ref_mv, int sad_per_bit, int distance, vp8_variance_fn_ptr_t *fn_ptr, int *mvcost[2], int_mv *center_mv) argument
1426 vp8_full_search_sadx3(MACROBLOCK *x, BLOCK *b, BLOCKD *d, int_mv *ref_mv, int sad_per_bit, int distance, vp8_variance_fn_ptr_t *fn_ptr, int *mvcost[2], int_mv *center_mv) argument
1560 vp8_full_search_sadx8(MACROBLOCK *x, BLOCK *b, BLOCKD *d, int_mv *ref_mv, int sad_per_bit, int distance, vp8_variance_fn_ptr_t *fn_ptr, int *mvcost[2], int_mv *center_mv) argument
1724 vp8_refining_search_sad_c(MACROBLOCK *x, BLOCK *b, BLOCKD *d, int_mv *ref_mv, int error_per_bit, int search_range, vp8_variance_fn_ptr_t *fn_ptr, int *mvcost[2], int_mv *center_mv) argument
1804 vp8_refining_search_sadx4(MACROBLOCK *x, BLOCK *b, BLOCKD *d, int_mv *ref_mv, int error_per_bit, int search_range, vp8_variance_fn_ptr_t *fn_ptr, int *mvcost[2], int_mv *center_mv) argument
[all...]
H A Dpickinter.c47 int *mvcost[2], int *distortion,
55 (void) mvcost;
952 cpi->mb.mvcost,
988 x->mvsadcost, x->mvcost, &best_ref_mv);
996 x->mvcost, &best_ref_mv);
1017 x->mvcost, &best_ref_mv);
1040 cpi->mb.mvcost,
1048 cpi->mb.mvcost, 128);
43 vp8_skip_fractional_mv_step(MACROBLOCK *mb, BLOCK *b, BLOCKD *d, int_mv *bestmv, int_mv *ref_mv, int error_per_bit, const vp8_variance_fn_ptr_t *vfp, int *mvcost[2], int *distortion, unsigned int *sse) argument
/external/libvpx/libvpx/vp8/encoder/
H A Dencodemv.c138 void vp8_build_component_cost_table(int *mvcost[2], const MV_CONTEXT *mvc, int mvc_flag[2]) argument
150 mvcost [0] [0] = cost_mvcomponent(0, &mvc[0]);
156 mvcost [0] [i] = cost0 + vp8_cost_zero(mvc[0].prob[MVPsign]);
157 mvcost [0] [-i] = cost0 + vp8_cost_one(mvc[0].prob[MVPsign]);
166 mvcost [1] [0] = cost_mvcomponent(0, &mvc[1]);
172 mvcost [1] [i] = cost1 + vp8_cost_zero(mvc[1].prob[MVPsign]);
173 mvcost [1] [-i] = cost1 + vp8_cost_one(mvc[1].prob[MVPsign]);
375 vp8_build_component_cost_table(cpi->mb.mvcost, (const MV_CONTEXT *) cpi->common.fc.mvc, flags);
H A Dblock.h100 int *mvcost[2]; member in struct:macroblock
H A Dmcomp.c26 int vp8_mv_bit_cost(int_mv *mv, int_mv *ref, int *mvcost[2], int Weight) argument
35 return ((mvcost[0][(mv->as_mv.row - ref->as_mv.row) >> 1] + mvcost[1][(mv->as_mv.col - ref->as_mv.col) >> 1]) * Weight) >> 7;
38 static int mv_err_cost(int_mv *mv, int_mv *ref, int *mvcost[2], int error_per_bit) argument
40 /* Ignore mv costing if mvcost is NULL */
41 if (mvcost)
42 return ((mvcost[0][(mv->as_mv.row - ref->as_mv.row) >> 1] +
43 mvcost[1][(mv->as_mv.col - ref->as_mv.col) >> 1])
190 #define MVC(r,c) (mvcost ? ((mvcost[
203 vp8_find_best_sub_pixel_step_iteratively(MACROBLOCK *x, BLOCK *b, BLOCKD *d, int_mv *bestmv, int_mv *ref_mv, int error_per_bit, const vp8_variance_fn_ptr_t *vfp, int *mvcost[2], int *distortion, unsigned int *sse1) argument
361 vp8_find_best_sub_pixel_step(MACROBLOCK *x, BLOCK *b, BLOCKD *d, int_mv *bestmv, int_mv *ref_mv, int error_per_bit, const vp8_variance_fn_ptr_t *vfp, int *mvcost[2], int *distortion, unsigned int *sse1) argument
672 vp8_find_best_half_pixel_step(MACROBLOCK *x, BLOCK *b, BLOCKD *d, int_mv *bestmv, int_mv *ref_mv, int error_per_bit, const vp8_variance_fn_ptr_t *vfp, int *mvcost[2], int *distortion, unsigned int *sse1) argument
849 vp8_hex_search( MACROBLOCK *x, BLOCK *b, BLOCKD *d, int_mv *ref_mv, int_mv *best_mv, int search_param, int sad_per_bit, const vp8_variance_fn_ptr_t *vfp, int *mvsadcost[2], int *mvcost[2], int_mv *center_mv ) argument
1038 vp8_diamond_search_sad_c( MACROBLOCK *x, BLOCK *b, BLOCKD *d, int_mv *ref_mv, int_mv *best_mv, int search_param, int sad_per_bit, int *num00, vp8_variance_fn_ptr_t *fn_ptr, int *mvcost[2], int_mv *center_mv ) argument
1162 vp8_diamond_search_sadx4( MACROBLOCK *x, BLOCK *b, BLOCKD *d, int_mv *ref_mv, int_mv *best_mv, int search_param, int sad_per_bit, int *num00, vp8_variance_fn_ptr_t *fn_ptr, int *mvcost[2], int_mv *center_mv ) argument
1329 vp8_full_search_sad_c(MACROBLOCK *x, BLOCK *b, BLOCKD *d, int_mv *ref_mv, int sad_per_bit, int distance, vp8_variance_fn_ptr_t *fn_ptr, int *mvcost[2], int_mv *center_mv) argument
1425 vp8_full_search_sadx3(MACROBLOCK *x, BLOCK *b, BLOCKD *d, int_mv *ref_mv, int sad_per_bit, int distance, vp8_variance_fn_ptr_t *fn_ptr, int *mvcost[2], int_mv *center_mv) argument
1559 vp8_full_search_sadx8(MACROBLOCK *x, BLOCK *b, BLOCKD *d, int_mv *ref_mv, int sad_per_bit, int distance, vp8_variance_fn_ptr_t *fn_ptr, int *mvcost[2], int_mv *center_mv) argument
1723 vp8_refining_search_sad_c(MACROBLOCK *x, BLOCK *b, BLOCKD *d, int_mv *ref_mv, int error_per_bit, int search_range, vp8_variance_fn_ptr_t *fn_ptr, int *mvcost[2], int_mv *center_mv) argument
1803 vp8_refining_search_sadx4(MACROBLOCK *x, BLOCK *b, BLOCKD *d, int_mv *ref_mv, int error_per_bit, int search_range, vp8_variance_fn_ptr_t *fn_ptr, int *mvcost[2], int_mv *center_mv) argument
[all...]
H A Dpickinter.c47 int *mvcost[2], int *distortion,
55 (void) mvcost;
942 cpi->mb.mvcost,
978 x->mvsadcost, x->mvcost, &best_ref_mv);
986 x->mvcost, &best_ref_mv);
1007 x->mvcost, &best_ref_mv);
1030 cpi->mb.mvcost,
1038 cpi->mb.mvcost, 128);
43 vp8_skip_fractional_mv_step(MACROBLOCK *mb, BLOCK *b, BLOCKD *d, int_mv *bestmv, int_mv *ref_mv, int error_per_bit, const vp8_variance_fn_ptr_t *vfp, int *mvcost[2], int *distortion, unsigned int *sse) argument
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
H A Dvp9_block.h81 int **mvcost; member in struct:macroblock
H A Dvp9_encodemv.c74 static void build_nmv_component_cost_table(int *mvcost, argument
102 mvcost[0] = 0;
131 mvcost[v] = cost + sign_cost[0];
132 mvcost[-v] = cost + sign_cost[1];
225 void vp9_build_nmv_cost_table(int *mvjoint, int *mvcost[2], argument
228 build_nmv_component_cost_table(mvcost[0], &ctx->comps[0], usehp);
229 build_nmv_component_cost_table(mvcost[1], &ctx->comps[1], usehp);
H A Dvp9_mcomp.c73 const int *mvjcost, int *mvcost[2], int weight) {
76 return ROUND_POWER_OF_TWO(mv_cost(&diff, mvjcost, mvcost) * weight, 7);
80 const int *mvjcost, int *mvcost[2],
82 if (mvcost) {
85 return ROUND_POWER_OF_TWO(mv_cost(&diff, mvjcost, mvcost) *
159 (mvcost ? \
161 mvcost[0][((r) - rr)] + mvcost[1][((c) - rc)]) * \
296 besterr += mv_err_cost(bestmv, ref_mv, mvjcost, mvcost, error_per_bit);
306 int *mvjcost, int *mvcost[
72 vp9_mv_bit_cost(const MV *mv, const MV *ref, const int *mvjcost, int *mvcost[2], int weight) argument
79 mv_err_cost(const MV *mv, const MV *ref, const int *mvjcost, int *mvcost[2], int error_per_bit) argument
298 vp9_find_best_sub_pixel_tree_pruned(const MACROBLOCK *x, MV *bestmv, const MV *ref_mv, int allow_hp, int error_per_bit, const vp9_variance_fn_ptr_t *vfp, int forced_stop, int iters_per_step, int *sad_list, int *mvjcost, int *mvcost[2], int *distortion, unsigned int *sse1, const uint8_t *second_pred, int w, int h) argument
390 vp9_find_best_sub_pixel_tree(const MACROBLOCK *x, MV *bestmv, const MV *ref_mv, int allow_hp, int error_per_bit, const vp9_variance_fn_ptr_t *vfp, int forced_stop, int iters_per_step, int *sad_list, int *mvjcost, int *mvcost[2], int *distortion, unsigned int *sse1, const uint8_t *second_pred, int w, int h) argument
[all...]
H A Dvp9_rdopt.c1042 int *mvcost[2]) {
1055 mvjcost, mvcost, MV_COST_WEIGHT_SUB);
1059 mvjcost, mvcost, MV_COST_WEIGHT_SUB);
1454 x->nmvjointcost, x->mvcost,
1497 x->nmvjointcost, x->mvcost);
1595 x->mvcost);
1876 x->nmvjointcost, x->mvcost,
1880 x->nmvjointcost, x->mvcost, MV_COST_WEIGHT);
2001 x->nmvjointcost, x->mvcost,
2029 x->nmvjointcost, x->mvcost, MV_COST_WEIGH
1037 set_and_cost_bmi_mvs(VP9_COMP *cpi, MACROBLOCKD *xd, int i, PREDICTION_MODE mode, int_mv this_mv[2], int_mv frame_mv[MB_MODE_COUNT][MAX_REF_FRAMES], int_mv seg_mvs[MAX_REF_FRAMES], int_mv *best_ref_mv[2], const int *mvjcost, int *mvcost[2]) argument
[all...]
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_encodemv.c74 static void build_nmv_component_cost_table(int *mvcost, argument
102 mvcost[0] = 0;
131 mvcost[v] = cost + sign_cost[0];
132 mvcost[-v] = cost + sign_cost[1];
225 void vp9_build_nmv_cost_table(int *mvjoint, int *mvcost[2], argument
228 build_nmv_component_cost_table(mvcost[0], &ctx->comps[0], usehp);
229 build_nmv_component_cost_table(mvcost[1], &ctx->comps[1], usehp);
H A Dvp9_block.h124 int **mvcost; member in struct:macroblock
H A Dvp9_mcomp.c75 const int *mvjcost, int *mvcost[2], int weight) {
78 return ROUND_POWER_OF_TWO(mv_cost(&diff, mvjcost, mvcost) * weight, 7);
82 const int *mvjcost, int *mvcost[2],
84 if (mvcost) {
87 return ROUND_POWER_OF_TWO(mv_cost(&diff, mvjcost, mvcost) *
162 (mvcost ? \
164 mvcost[0][((r) - rr)] + mvcost[1][((c) - rc)]) * \
270 int *mvjcost, int *mvcost[2],
308 besterr += mv_err_cost(bestmv, ref_mv, mvjcost, mvcost, error_per_bi
74 vp9_mv_bit_cost(const MV *mv, const MV *ref, const int *mvjcost, int *mvcost[2], int weight) argument
81 mv_err_cost(const MV *mv, const MV *ref, const int *mvjcost, int *mvcost[2], int error_per_bit) argument
263 vp9_find_best_sub_pixel_tree(const MACROBLOCK *x, MV *bestmv, const MV *ref_mv, int allow_hp, int error_per_bit, const vp9_variance_fn_ptr_t *vfp, int forced_stop, int iters_per_step, int *mvjcost, int *mvcost[2], int *distortion, unsigned int *sse1) argument
359 vp9_find_best_sub_pixel_comp_tree(const MACROBLOCK *x, MV *bestmv, const MV *ref_mv, int allow_hp, int error_per_bit, const vp9_variance_fn_ptr_t *vfp, int forced_stop, int iters_per_step, int *mvjcost, int *mvcost[2], int *distortion, unsigned int *sse1, const uint8_t *second_pred, int w, int h) argument
880 vp9_full_range_search_c(const MACROBLOCK *x, MV *ref_mv, MV *best_mv, int search_param, int sad_per_bit, int *num00, const vp9_variance_fn_ptr_t *fn_ptr, int *mvjcost, int *mvcost[2], const MV *center_mv) argument
978 vp9_diamond_search_sad_c(const MACROBLOCK *x, MV *ref_mv, MV *best_mv, int search_param, int sad_per_bit, int *num00, const vp9_variance_fn_ptr_t *fn_ptr, int *mvjcost, int *mvcost[2], const MV *center_mv) argument
1070 vp9_diamond_search_sadx4(const MACROBLOCK *x, MV *ref_mv, MV *best_mv, int search_param, int sad_per_bit, int *num00, const vp9_variance_fn_ptr_t *fn_ptr, int *mvjcost, int *mvcost[2], const MV *center_mv) argument
1286 vp9_full_search_sad_c(const MACROBLOCK *x, const MV *ref_mv, int sad_per_bit, int distance, const vp9_variance_fn_ptr_t *fn_ptr, int *mvjcost, int *mvcost[2], const MV *center_mv, MV *best_mv) argument
1324 vp9_full_search_sadx3(const MACROBLOCK *x, const MV *ref_mv, int sad_per_bit, int distance, const vp9_variance_fn_ptr_t *fn_ptr, int *mvjcost, int *mvcost[2], const MV *center_mv, MV *best_mv) argument
1416 vp9_full_search_sadx8(const MACROBLOCK *x, const MV *ref_mv, int sad_per_bit, int distance, const vp9_variance_fn_ptr_t *fn_ptr, int *mvjcost, int *mvcost[2], const MV *center_mv, MV *best_mv) argument
1535 vp9_refining_search_sad_c(const MACROBLOCK *x, MV *ref_mv, int error_per_bit, int search_range, const vp9_variance_fn_ptr_t *fn_ptr, int *mvjcost, int *mvcost[2], const MV *center_mv) argument
1585 vp9_refining_search_sadx4(const MACROBLOCK *x, MV *ref_mv, int error_per_bit, int search_range, const vp9_variance_fn_ptr_t *fn_ptr, int *mvjcost, int *mvcost[2], const MV *center_mv) argument
1671 vp9_refining_search_8p_c(const MACROBLOCK *x, MV *ref_mv, int error_per_bit, int search_range, const vp9_variance_fn_ptr_t *fn_ptr, int *mvjcost, int *mvcost[2], const MV *center_mv, const uint8_t *second_pred, int w, int h) argument
[all...]
H A Dvp9_rdopt.c1479 const int *mvjcost, int *mvcost[2]) {
1494 mvjcost, mvcost, MV_COST_WEIGHT_SUB);
1498 mvjcost, mvcost, MV_COST_WEIGHT_SUB);
1893 x->nmvjointcost, x->mvcost,
1915 x->nmvjointcost, x->mvcost,
1956 seg_mvs[i], bsi->ref_mv, x->nmvjointcost, x->mvcost);
2054 x->mvcost);
2517 x->nmvjointcost, x->mvcost,
2521 x->nmvjointcost, x->mvcost, MV_COST_WEIGHT);
2621 x->nmvjointcost, x->mvcost,
1473 labels2mode(VP9_COMP *cpi, MACROBLOCKD *xd, int i, MB_PREDICTION_MODE mode, int_mv this_mv[2], int_mv frame_mv[MB_MODE_COUNT][MAX_REF_FRAMES], int_mv seg_mvs[MAX_REF_FRAMES], int_mv *best_ref_mv[2], const int *mvjcost, int *mvcost[2]) argument
[all...]

Completed in 256 milliseconds