/external/libvpx/libvpx/vp8/encoder/ |
encodemv.h | 22 void vp8_build_component_cost_table(int *mvcost[2], const MV_CONTEXT *mvc,
|
mcomp.h | 32 int vp8_mv_bit_cost(int_mv *mv, int_mv *ref, int *mvcost[2], int Weight); 39 int *mvcost[2], int_mv *center_mv); 45 int *mvcost[2], int *distortion, 56 int *mvcost[2], int_mv *center_mv); 62 int *mvcost[2], int_mv *center_mv); 69 int *mvcost[2], int_mv *center_mv);
|
encodemv.c | 118 void vp8_build_component_cost_table(int *mvcost[2], const MV_CONTEXT *mvc, 129 mvcost[0][0] = cost_mvcomponent(0, &mvc[0]); 134 mvcost[0][i] = cost0 + vp8_cost_zero(mvc[0].prob[MVPsign]); 135 mvcost[0][-i] = cost0 + vp8_cost_one(mvc[0].prob[MVPsign]); 142 mvcost[1][0] = cost_mvcomponent(0, &mvc[1]); 147 mvcost[1][i] = cost1 + vp8_cost_zero(mvc[1].prob[MVPsign]); 148 mvcost[1][-i] = cost1 + vp8_cost_one(mvc[1].prob[MVPsign]); 317 cpi->mb.mvcost, (const MV_CONTEXT *)cpi->common.fc.mvc, flags);
|
mcomp.c | 24 int vp8_mv_bit_cost(int_mv *mv, int_mv *ref, int *mvcost[2], int Weight) { 36 return ((mvcost[0][mv_idx_row] + mvcost[1][mv_idx_col]) * Weight) >> 7; 39 static int mv_err_cost(int_mv *mv, int_mv *ref, int *mvcost[2], 41 /* Ignore mv costing if mvcost is NULL */ 42 if (mvcost) { 47 return ((mvcost[0][mv_idx_row] + mvcost[1][mv_idx_col]) * error_per_bit + 192 (mvcost \ 193 ? ((mvcost[0][(r)-rr] + mvcost[1][(c)-rc]) * error_per_bit + 128) >> 8 [all...] |
block.h | 94 int *mvcost[2]; member in struct:macroblock
|
ethreading.c | 350 z->mvcost[0] = x->mvcost[0]; 351 z->mvcost[1] = x->mvcost[1];
|
pickinter.c | 127 int *mvcost[2], int *distortion, 135 (void)mvcost; [all...] |
rdopt.c | 812 int_mv *best_ref_mv, int *mvcost[2]) { 844 thismvcost = vp8_mv_bit_cost(this_mv, best_ref_mv, mvcost, 102); 1069 v_fn_ptr, x->mvcost, bsi->ref_mv); 1082 v_fn_ptr, x->mvcost, bsi->ref_mv); 1101 v_fn_ptr, x->mvcost, bsi->ref_mv); 1119 x->errorperbit, v_fn_ptr, x->mvcost, 1125 bsi->ref_mv, x->mvcost); [all...] |
firstpass.c | 437 x->mvcost, ref_mv); 458 &v_fn_ptr, x->mvcost, ref_mv); 537 vp8_build_component_cost_table(cpi->mb.mvcost, [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
vp9_encodemv.h | 29 void vp9_build_nmv_cost_table(int *mvjoint, int *mvcost[2],
|
vp9_encodemv.c | 69 static void build_nmv_component_cost_table(int *mvcost, 98 mvcost[0] = 0; 112 mvcost[v] = cost + sign_cost[0]; 113 mvcost[-v] = cost + sign_cost[1]; 126 mvcost[v] = cost + hp_cost[0] + sign_cost[0]; 127 mvcost[-v] = cost + hp_cost[0] + sign_cost[1]; 129 mvcost[v + 1] = cost + hp_cost[1] + sign_cost[0]; 130 mvcost[-v - 1] = cost + hp_cost[1] + sign_cost[1]; 132 mvcost[v] = cost + sign_cost[0]; 133 mvcost[-v] = cost + sign_cost[1] [all...] |
vp9_mcomp.h | 46 int *mvcost[2], int weight); 76 int iters_per_step, int *cost_list, int *mvjcost, int *mvcost[2],
|
vp9_block.h | 112 int **mvcost; member in struct:macroblock
|
vp9_mcomp.c | 94 int *mvcost[2], int weight) { 96 return ROUND_POWER_OF_TWO(mv_cost(&diff, mvjcost, mvcost) * weight, 7); 101 int *mvcost[2], int error_per_bit) { 102 if (mvcost) { 105 (int64_t)mv_cost(&diff, mvjcost, mvcost) * error_per_bit, 180 tmpmse += mv_err_cost(&mv, &ref_mv, mvjcost, mvcost, error_per_bit); \ 205 if ((v = mv_err_cost(&mv, &ref_mv, mvjcost, mvcost, error_per_bit) + \ 305 int *mvjcost, int *mvcost[2], uint32_t *sse1, uint32_t *distortion) { 324 besterr += mv_err_cost(bestmv, ref_mv, mvjcost, mvcost, error_per_bit); 338 besterr += mv_err_cost(bestmv, ref_mv, mvjcost, mvcost, error_per_bit) [all...] |
vp9_pickmode.c | 222 *rate_mv = vp9_mv_bit_cost(&mvp_full, &ref_mv, x->nmvjointcost, x->mvcost, 250 x->nmvjointcost, x->mvcost, &dis, &x->pred_sse[ref], NULL, 0, 0, 253 x->mvcost, MV_COST_WEIGHT); [all...] |
vp9_rdopt.c | [all...] |
/external/libaom/libaom/av1/encoder/ |
encodemv.h | 24 void av1_build_nmv_cost_table(int *mvjoint, int *mvcost[2],
|
encodemv.c | 82 static void build_nmv_component_cost_table(int *mvcost, 106 mvcost[0] = 0; 135 mvcost[v] = cost + sign_cost[0]; 136 mvcost[-v] = cost + sign_cost[1]; 180 void av1_build_nmv_cost_table(int *mvjoint, int *mvcost[2], 184 build_nmv_component_cost_table(mvcost[0], &ctx->comps[0], precision); 185 build_nmv_component_cost_table(mvcost[1], &ctx->comps[1], precision);
|
mcomp.h | 63 int *mvcost[2], int weight); 109 int iters_per_step, int *cost_list, int *mvjcost, int *mvcost[2], 154 int *mvjcost, int *mvcost[2], int *distortion, unsigned int *sse1,
|
mcomp.c | 95 int *mvcost[2], int weight) { 97 return ROUND_POWER_OF_TWO(mv_cost(&diff, mvjcost, mvcost) * weight, 7); 102 int *mvcost[2], int error_per_bit) { 103 if (mvcost) { 106 (int64_t)mv_cost(&diff, mvjcost, mvcost) * error_per_bit, 187 v = mv_err_cost(&this_mv, ref_mv, mvjcost, mvcost, error_per_bit); \ 221 v = mv_err_cost(&this_mv, ref_mv, mvjcost, mvcost, error_per_bit); \ 338 int *mvcost[2], unsigned int *sse1, int *distortion) { 366 besterr += mv_err_cost(bestmv, ref_mv, mvjcost, mvcost, error_per_bit); 398 int *cost_list, int *mvjcost, int *mvcost[2], int *distortion [all...] |
/external/libvpx/config/x86/ |
vp8_rtcd.h | 106 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); 107 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); 126 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_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); 170 int vp8_refining_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int error_per_bit, int search_range, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv); 171 int vp8_refining_search_sadx4(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int error_per_bit, int search_range, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv);
|
/external/libvpx/config/x86_64/ |
vp8_rtcd.h | 106 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); 107 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); 126 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_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); 170 int vp8_refining_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int error_per_bit, int search_range, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv); 171 int vp8_refining_search_sadx4(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int error_per_bit, int search_range, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv);
|
/external/libvpx/config/generic/ |
vp8_rtcd.h | 78 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); 84 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); 117 int vp8_refining_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int error_per_bit, int search_range, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv);
|
/external/libvpx/config/arm-neon/ |
vp8_rtcd.h | 92 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); 99 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); 140 int vp8_refining_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int error_per_bit, int search_range, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv);
|
/external/libvpx/config/arm64/ |
vp8_rtcd.h | 92 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); 99 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); 140 int vp8_refining_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int error_per_bit, int search_range, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv);
|