/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_encodemv.c | 69 static void build_nmv_component_cost_table(int *mvcost, in build_nmv_component_cost_table() argument 98 mvcost[0] = 0; in build_nmv_component_cost_table() 112 mvcost[v] = cost + sign_cost[0]; in build_nmv_component_cost_table() 113 mvcost[-v] = cost + sign_cost[1]; in build_nmv_component_cost_table() 126 mvcost[v] = cost + hp_cost[0] + sign_cost[0]; in build_nmv_component_cost_table() 127 mvcost[-v] = cost + hp_cost[0] + sign_cost[1]; in build_nmv_component_cost_table() 129 mvcost[v + 1] = cost + hp_cost[1] + sign_cost[0]; in build_nmv_component_cost_table() 130 mvcost[-v - 1] = cost + hp_cost[1] + sign_cost[1]; in build_nmv_component_cost_table() 132 mvcost[v] = cost + sign_cost[0]; in build_nmv_component_cost_table() 133 mvcost[-v] = cost + sign_cost[1]; in build_nmv_component_cost_table() [all …]
|
D | vp9_mcomp.c | 94 int *mvcost[2], int weight) { in vp9_mv_bit_cost() 96 return ROUND_POWER_OF_TWO(mv_cost(&diff, mvjcost, mvcost) * weight, 7); in vp9_mv_bit_cost() 101 int *mvcost[2], int error_per_bit) { in mv_err_cost() 102 if (mvcost) { in mv_err_cost() 105 (int64_t)mv_cost(&diff, mvjcost, mvcost) * error_per_bit, in mv_err_cost() 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) + \ 326 int *mvjcost, int *mvcost[2], uint32_t *sse1, uint32_t *distortion) { in setup_center_error() 345 besterr += mv_err_cost(bestmv, ref_mv, mvjcost, mvcost, error_per_bit); in setup_center_error() 359 besterr += mv_err_cost(bestmv, ref_mv, mvjcost, mvcost, error_per_bit); in setup_center_error() [all …]
|
D | vp9_mcomp.h | 46 int *mvcost[2], int weight); 75 int iters_per_step, int *cost_list, int *mvjcost, int *mvcost[2],
|
D | vp9_encodemv.h | 29 void vp9_build_nmv_cost_table(int *mvjoint, int *mvcost[2],
|
D | vp9_block.h | 111 int **mvcost; member
|
/external/libvpx/libvpx/vp8/encoder/ |
D | mcomp.h | 38 extern int vp8_mv_bit_cost(int_mv *mv, int_mv *ref, int *mvcost[2], int Weight); 45 int *mvcost[2], int_mv *center_mv); 51 int *mvcost[2], int *distortion, 62 int *mvcost[2], int_mv *center_mv); 68 int *mvcost[2], int_mv *center_mv); 75 int *mvcost[2], int_mv *center_mv);
|
D | mcomp.c | 29 int vp8_mv_bit_cost(int_mv *mv, int_mv *ref, int *mvcost[2], int Weight) { in vp8_mv_bit_cost() 37 return ((mvcost[0][(mv->as_mv.row - ref->as_mv.row) >> 1] + in vp8_mv_bit_cost() 38 mvcost[1][(mv->as_mv.col - ref->as_mv.col) >> 1]) * in vp8_mv_bit_cost() 43 static int mv_err_cost(int_mv *mv, int_mv *ref, int *mvcost[2], in mv_err_cost() 46 if (mvcost) { in mv_err_cost() 47 return ((mvcost[0][(mv->as_mv.row - ref->as_mv.row) >> 1] + in mv_err_cost() 48 mvcost[1][(mv->as_mv.col - ref->as_mv.col) >> 1]) * in mv_err_cost() 194 (mvcost \ 195 ? ((mvcost[0][(r)-rr] + mvcost[1][(c)-rc]) * error_per_bit + 128) >> 8 \ 227 int *mvcost[2], int *distortion, in vp8_find_best_sub_pixel_step_iteratively() [all …]
|
D | encodemv.c | 122 void vp8_build_component_cost_table(int *mvcost[2], const MV_CONTEXT *mvc, in vp8_build_component_cost_table() 133 mvcost[0][0] = cost_mvcomponent(0, &mvc[0]); in vp8_build_component_cost_table() 138 mvcost[0][i] = cost0 + vp8_cost_zero(mvc[0].prob[MVPsign]); in vp8_build_component_cost_table() 139 mvcost[0][-i] = cost0 + vp8_cost_one(mvc[0].prob[MVPsign]); in vp8_build_component_cost_table() 146 mvcost[1][0] = cost_mvcomponent(0, &mvc[1]); in vp8_build_component_cost_table() 151 mvcost[1][i] = cost1 + vp8_cost_zero(mvc[1].prob[MVPsign]); in vp8_build_component_cost_table() 152 mvcost[1][-i] = cost1 + vp8_cost_one(mvc[1].prob[MVPsign]); in vp8_build_component_cost_table() 324 cpi->mb.mvcost, (const MV_CONTEXT *)cpi->common.fc.mvc, flags); in vp8_write_mvprobs()
|
D | encodemv.h | 22 void vp8_build_component_cost_table(int *mvcost[2], const MV_CONTEXT *mvc,
|
D | pickinter.c | 127 int *mvcost[2], int *distortion, in vp8_skip_fractional_mv_step() 135 (void)mvcost; in vp8_skip_fractional_mv_step() 986 &cpi->fn_ptr[BLOCK_16X16], cpi->mb.mvcost, &distortion2, &sse); in vp8_pick_inter_mode() 1019 x->mvsadcost, x->mvcost, &best_ref_mv); in vp8_pick_inter_mode() 1024 &cpi->fn_ptr[BLOCK_16X16], x->mvcost, &best_ref_mv); in vp8_pick_inter_mode() 1039 &num00, &cpi->fn_ptr[BLOCK_16X16], x->mvcost, &best_ref_mv); in vp8_pick_inter_mode() 1058 &cpi->fn_ptr[BLOCK_16X16], cpi->mb.mvcost, &distortion2, &sse); in vp8_pick_inter_mode() 1069 vp8_mv_bit_cost(&mode_mv[NEWMV], &best_ref_mv, cpi->mb.mvcost, 128); in vp8_pick_inter_mode()
|
D | rdopt.c | 812 int_mv *best_ref_mv, int *mvcost[2]) { in labels2mode() 844 thismvcost = vp8_mv_bit_cost(this_mv, best_ref_mv, mvcost, 102); in labels2mode() 1069 v_fn_ptr, x->mvcost, bsi->ref_mv); in rd_check_segment() 1082 v_fn_ptr, x->mvcost, bsi->ref_mv); in rd_check_segment() 1101 v_fn_ptr, x->mvcost, bsi->ref_mv); in rd_check_segment() 1119 x->errorperbit, v_fn_ptr, x->mvcost, in rd_check_segment() 1125 bsi->ref_mv, x->mvcost); in rd_check_segment() 1158 bsi->ref_mv, x->mvcost); in rd_check_segment() 2061 &cpi->fn_ptr[BLOCK_16X16], x->mvcost, &best_ref_mv); in vp8_rd_pick_inter_mode() 2082 &cpi->fn_ptr[BLOCK_16X16], x->mvcost, &best_ref_mv); in vp8_rd_pick_inter_mode() [all …]
|
D | ethreading.c | 350 z->mvcost[0] = x->mvcost[0]; in setup_mbby_copy() 351 z->mvcost[1] = x->mvcost[1]; in setup_mbby_copy()
|
D | block.h | 94 int *mvcost[2]; member
|
/external/libvpx/config/mips32-msa/ |
D | vp8_rtcd.h | 90 …param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 91 …param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 98 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 141 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 142 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
|
/external/libvpx/config/mips64-msa/ |
D | vp8_rtcd.h | 90 …param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 91 …param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 98 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 141 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 142 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
|
/external/libvpx/config/x86_64/ |
D | vp8_rtcd.h | 106 …param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 107 …param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 126 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 127 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 170 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 171 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
|
/external/libvpx/config/x86/ |
D | vp8_rtcd.h | 106 …param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 107 …param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 126 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 127 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 170 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 171 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
|
/external/libvpx/libvpx/vp8/common/ |
D | rtcd_defs.pl | 221 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 226 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 231 …param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
|
/external/libvpx/config/mips64/ |
D | vp8_rtcd.h | 75 …param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 81 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 114 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
|
/external/libvpx/config/generic/ |
D | vp8_rtcd.h | 75 …param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 81 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 114 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
|
/external/libvpx/config/mips32/ |
D | vp8_rtcd.h | 75 …param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 81 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 114 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
|
/external/libvpx/config/arm/ |
D | vp8_rtcd.h | 75 …param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 81 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 114 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
|
/external/libvpx/config/mips32-dspr2/ |
D | vp8_rtcd.h | 82 …param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 88 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 125 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
|
/external/libvpx/config/arm-neon/ |
D | vp8_rtcd.h | 89 …param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 96 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 137 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
|
/external/libvpx/config/arm64/ |
D | vp8_rtcd.h | 89 …param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 96 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 137 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
|