HomeSort by relevance Sort by last modified time
    Searched refs:mvcost (Results 1 - 25 of 31) sorted by null

1 2

  /external/libvpx/libvpx/vp8/encoder/
encodemv.h 19 void vp8_build_component_cost_table(int *mvcost[2], const MV_CONTEXT *mvc, int mvc_flag[2]);
mcomp.h 36 extern int vp8_mv_bit_cost(int_mv *mv, int_mv *ref, int *mvcost[2], int Weight);
52 int *mvcost[2],
58 int error_per_bit, const vp8_variance_fn_ptr_t *vfp, int *mvcost[2],
75 int *mvcost[2],
88 int *mvcost[2],
103 int *mvcost[2],
encodemv.c 138 void vp8_build_component_cost_table(int *mvcost[2], const MV_CONTEXT *mvc, int mvc_flag[2])
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);
mcomp.c 26 int vp8_mv_bit_cost(int_mv *mv, int_mv *ref, int *mvcost[2], int Weight)
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)
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[0][(r)-rr] + mvcost[1][(c) - rc]) * error_per_bit + 128 )>>8 : 0
    [all...]
block.h 96 int *mvcost[2]; member in struct:macroblock
ethreading.c 344 z->mvcost[0] = x->mvcost[0];
345 z->mvcost[1] = x->mvcost[1];
pickinter.c 47 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);
    [all...]
rdopt.c 952 int *mvcost[2]
990 thismvcost = vp8_mv_bit_cost(this_mv, best_ref_mv, mvcost, 102);
    [all...]
  /external/libvpx/libvpx/vp9/encoder/
vp9_mcomp.h 32 const int *mvjcost, int *mvcost[2], int weight);
83 int *mvcost[2],
97 int *mvjcost, int *mvcost[2],
107 int *mvjcost, int *mvcost[2],
114 int *mvjcost, int *mvcost[2],
122 int *mvjcost, int *mvcost[2],
128 int *mvjcost, int *mvcost[2],
vp9_encodemv.h 23 int *mvcost[2],
vp9_encodemv.c 65 static void build_nmv_component_cost_table(int *mvcost,
93 mvcost[0] = 0;
122 mvcost[v] = cost + sign_cost[0];
123 mvcost[-v] = cost + sign_cost[1];
289 int *mvcost[2],
297 build_nmv_component_cost_table(mvcost[0], &mvctx->comps[0], usehp);
299 build_nmv_component_cost_table(mvcost[1], &mvctx->comps[1], usehp);
vp9_mcomp.c 69 const int *mvjcost, int *mvcost[2], int weight) {
72 return ROUND_POWER_OF_TWO(mv_cost(&diff, mvjcost, mvcost) * weight, 7);
76 const int *mvjcost, int *mvcost[2],
78 if (mvcost) {
81 return ROUND_POWER_OF_TWO(mv_cost(&diff, mvjcost, mvcost) *
175 (mvcost ? \
177 mvcost[0][((r) - rr)] + mvcost[1][((c) - rc)]) * \
283 int *mvjcost, int *mvcost[2],
322 besterr += mv_err_cost(bestmv, ref_mv, mvjcost, mvcost, error_per_bit)
    [all...]
vp9_block.h 124 int **mvcost; member in struct:macroblock
vp9_rdopt.c     [all...]
  /frameworks/av/media/libstagefright/codecs/avc/enc/src/
findhalfpel.cpp 63 int mvcost; local
86 mvcost = MV_COST_S(lambda_motion, mot->x, mot->y, cmvx, cmvy);
88 dmin += mvcost;
95 mvcost = MV_COST_S(lambda_motion, mot->x + xh[h], mot->y + yh[h], cmvx, cmvy);
96 d += mvcost;
102 satd_min = d - mvcost;
119 mvcost = MV_COST_S(lambda_motion, mot->x + xq[q], mot->y + yq[q], cmvx, cmvy);
120 d += mvcost;
125 satd_min = d - mvcost;
motion_est.cpp 988 int mvcost; local
1280 int mvcost; local
    [all...]
  /external/libvpx/generic/
vp8_rtcd.h 277 int vp8_full_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv);
280 int vp8_refining_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv);
283 int vp8_diamond_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, union int_mv *best_mv, int search_param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv);
vp9_rtcd.h 23 #define DEC_MVCOSTS int *mvjcost, int *mvcost[2]
  /external/libvpx/mips/
vp8_rtcd.h 277 int vp8_full_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv);
280 int vp8_refining_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv);
283 int vp8_diamond_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, union int_mv *best_mv, int search_param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv);
vp9_rtcd.h 23 #define DEC_MVCOSTS int *mvjcost, int *mvcost[2]
  /external/libvpx/mips-dspr2/
vp8_rtcd.h 295 int vp8_full_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv);
298 int vp8_refining_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv);
301 int vp8_diamond_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, union int_mv *best_mv, int search_param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv);
  /external/libvpx/armv7a/
vp8_rtcd.h 320 int vp8_full_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv);
323 int vp8_refining_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv);
326 int vp8_diamond_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, union int_mv *best_mv, int search_param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv);
vp9_rtcd.h 23 #define DEC_MVCOSTS int *mvjcost, int *mvcost[2]
  /external/libvpx/armv7a-neon/
vp8_rtcd.h 373 int vp8_full_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv);
376 int vp8_refining_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv);
379 int vp8_diamond_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, union int_mv *best_mv, int search_param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv);
vp9_rtcd.h 23 #define DEC_MVCOSTS int *mvjcost, int *mvcost[2]

Completed in 187 milliseconds

1 2