/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
H A D | encodemv.c | 138 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 D | block.h | 100 int *mvcost[2]; member in struct:macroblock
|
H A D | mcomp.c | 26 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 1040 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 1164 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 1331 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 1427 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 1561 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 1725 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 1805 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 D | pickinter.c | 47 int *mvcost[2], int *distortion, 55 (void) mvcost; 945 cpi->mb.mvcost, 981 x->mvsadcost, x->mvcost, &best_ref_mv); 989 x->mvcost, &best_ref_mv); 1010 x->mvcost, &best_ref_mv); 1033 cpi->mb.mvcost, 1041 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
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
H A D | vp9_encodemv.c | 74 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 D | vp9_block.h | 124 int **mvcost; member in struct:macroblock
|
H A D | 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_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 1087 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 1303 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 1341 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 1433 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 1552 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 1602 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 1700 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 D | vp9_rdopt.c | 1479 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...] |