/external/libvpx/libvpx/vp8/encoder/ |
encodemv.h | 23 void vp8_build_component_cost_table(int *mvcost[2], const MV_CONTEXT *mvc, int mvc_flag[2]);
|
mcomp.h | 40 extern int vp8_mv_bit_cost(int_mv *mv, int_mv *ref, int *mvcost[2], int Weight); 56 int *mvcost[2], 62 int error_per_bit, const vp8_variance_fn_ptr_t *vfp, int *mvcost[2], 79 int *mvcost[2], 92 int *mvcost[2], 107 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 | 30 int vp8_mv_bit_cost(int_mv *mv, int_mv *ref, int *mvcost[2], int Weight) 39 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; 42 static int mv_err_cost(int_mv *mv, int_mv *ref, int *mvcost[2], int error_per_bit) 44 /* Ignore mv costing if mvcost is NULL */ 45 if (mvcost) 46 return ((mvcost[0][(mv->as_mv.row - ref->as_mv.row) >> 1] + 47 mvcost[1][(mv->as_mv.col - ref->as_mv.col) >> 1]) 194 #define MVC(r,c) (mvcost ? ((mvcost[0][(r)-rr] + mvcost[1][(c) - rc]) * error_per_bit + 128 )>>8 : 0 [all...] |
block.h | 100 int *mvcost[2]; member in struct:macroblock
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
encodemv.h | 23 void vp8_build_component_cost_table(int *mvcost[2], const MV_CONTEXT *mvc, int mvc_flag[2]);
|
mcomp.h | 40 extern int vp8_mv_bit_cost(int_mv *mv, int_mv *ref, int *mvcost[2], int Weight); 56 int *mvcost[2], 62 int error_per_bit, const vp8_variance_fn_ptr_t *vfp, int *mvcost[2], 79 int *mvcost[2], 92 int *mvcost[2], 107 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 | 100 int *mvcost[2]; member in struct:macroblock
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
vp9_mcomp.h | 37 const int *mvjcost, int *mvcost[2], int weight); 88 int *mvcost[2], 102 int *mvjcost, int *mvcost[2], 113 int *mvjcost, int *mvcost[2], 120 int *mvjcost, int *mvcost[2], 128 int *mvjcost, int *mvcost[2], 135 int *mvjcost, int *mvcost[2],
|
vp9_encodemv.h | 28 void vp9_build_nmv_cost_table(int *mvjoint, int *mvcost[2],
|
vp9_encodemv.c | 74 static void build_nmv_component_cost_table(int *mvcost, 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], 228 build_nmv_component_cost_table(mvcost[0], &ctx->comps[0], usehp); 229 build_nmv_component_cost_table(mvcost[1], &ctx->comps[1], usehp);
|
vp9_mcomp.c | 75 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_bit) [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
vp9_encodemv.h | 29 void vp9_build_nmv_cost_table(int *mvjoint, int *mvcost[2],
|
vp9_mcomp.h | 51 const int *mvjcost, int *mvcost[2], int weight); 90 int *mvjcost, int *mvcost[2],
|
vp9_encodemv.c | 75 static void build_nmv_component_cost_table(int *mvcost, 103 mvcost[0] = 0; 132 mvcost[v] = cost + sign_cost[0]; 133 mvcost[-v] = cost + sign_cost[1]; 226 void vp9_build_nmv_cost_table(int *mvjoint, int *mvcost[2], 229 build_nmv_component_cost_table(mvcost[0], &ctx->comps[0], usehp); 230 build_nmv_component_cost_table(mvcost[1], &ctx->comps[1], usehp);
|
vp9_block.h | 89 int **mvcost; member in struct:macroblock
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
findhalfpel.cpp | 50 int mvcost; local 73 mvcost = MV_COST_S(lambda_motion, mot->x, mot->y, cmvx, cmvy); 75 dmin += mvcost; 82 mvcost = MV_COST_S(lambda_motion, mot->x + xh[h], mot->y + yh[h], cmvx, cmvy); 83 d += mvcost; 89 satd_min = d - mvcost; 106 mvcost = MV_COST_S(lambda_motion, mot->x + xq[q], mot->y + yq[q], cmvx, cmvy); 107 d += mvcost; 112 satd_min = d - mvcost;
|
/external/libvpx/config/generic/ |
vp8_rtcd.h | 77 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); 83 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); 116 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);
|
/external/libvpx/config/mips32/ |
vp8_rtcd.h | 77 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); 83 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); 116 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);
|
/external/libvpx/config/mips32-dspr2/ |
vp8_rtcd.h | 84 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); 90 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); 127 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);
|
/external/libvpx/config/mips64/ |
vp8_rtcd.h | 77 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); 83 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); 116 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);
|
/external/libvpx/config/x86/ |
vp8_rtcd.h | 115 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); 116 int vp8_diamond_search_sadx4(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); 135 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); 136 int vp8_full_search_sadx3(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); 207 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); 208 int vp8_refining_search_sadx4(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);
|
/external/libvpx/config/x86_64/ |
vp8_rtcd.h | 115 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); 116 int vp8_diamond_search_sadx4(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); 135 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); 136 int vp8_full_search_sadx3(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); 207 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); 208 int vp8_refining_search_sadx4(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);
|