/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) + \ 305 int *mvjcost, int *mvcost[2], uint32_t *sse1, uint32_t *distortion) { in setup_center_error() 324 besterr += mv_err_cost(bestmv, ref_mv, mvjcost, mvcost, error_per_bit); in setup_center_error() 338 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); 76 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 | 112 int **mvcost; member
|
D | vp9_rdopt.c | 1434 int *mvcost[2]) { in set_and_cost_bmi_mvs() 1447 mvjcost, mvcost, MV_COST_WEIGHT_SUB); in set_and_cost_bmi_mvs() 1451 mvjcost, mvcost, MV_COST_WEIGHT_SUB); in set_and_cost_bmi_mvs() 1823 cpi->sf.mv.subpel_search_level, NULL, x->nmvjointcost, x->mvcost, in joint_motion_search() 1850 x->nmvjointcost, x->mvcost, MV_COST_WEIGHT); in joint_motion_search() 2015 x->nmvjointcost, x->mvcost, &distortion, in rd_pick_best_sub8x8_mode() 2054 bsi->ref_mv, x->nmvjointcost, x->mvcost); in rd_pick_best_sub8x8_mode() 2148 x->mvcost); in rd_pick_best_sub8x8_mode() 2544 x->nmvjointcost, x->mvcost, &dis, &x->pred_sse[ref], NULL, pw, ph, in single_motion_search() 2548 x->mvcost, MV_COST_WEIGHT); in single_motion_search() [all …]
|
D | vp9_pickmode.c | 222 *rate_mv = vp9_mv_bit_cost(&mvp_full, &ref_mv, x->nmvjointcost, x->mvcost, in combined_motion_search() 250 x->nmvjointcost, x->mvcost, &dis, &x->pred_sse[ref], NULL, 0, 0, in combined_motion_search() 253 x->mvcost, MV_COST_WEIGHT); in combined_motion_search() 1534 x->nmvjointcost, x->mvcost, MV_COST_WEIGHT); in search_new_mv() 1544 x->nmvjointcost, x->mvcost, &dis, &x->pred_sse[ref_frame], NULL, 0, 0, in search_new_mv() 2760 x->nmvjointcost, x->mvcost, MV_COST_WEIGHT); in vp9_pick_inter_mode_sub8x8() 2771 x->nmvjointcost, x->mvcost, &dummy_dist, in vp9_pick_inter_mode_sub8x8()
|
/external/libvpx/libvpx/vp8/encoder/ |
D | 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);
|
D | mcomp.c | 24 int vp8_mv_bit_cost(int_mv *mv, int_mv *ref, int *mvcost[2], int Weight) { in vp8_mv_bit_cost() 36 return ((mvcost[0][mv_idx_row] + mvcost[1][mv_idx_col]) * Weight) >> 7; in vp8_mv_bit_cost() 39 static int mv_err_cost(int_mv *mv, int_mv *ref, int *mvcost[2], in mv_err_cost() 42 if (mvcost) { in mv_err_cost() 47 return ((mvcost[0][mv_idx_row] + mvcost[1][mv_idx_col]) * error_per_bit + in mv_err_cost() 192 (mvcost \ 193 ? ((mvcost[0][(r)-rr] + mvcost[1][(c)-rc]) * error_per_bit + 128) >> 8 \ 225 int *mvcost[2], int *distortion, in vp8_find_best_sub_pixel_step_iteratively() 292 besterr += mv_err_cost(bestmv, ref_mv, mvcost, error_per_bit); in vp8_find_best_sub_pixel_step_iteratively() 369 int *mvcost[2], int *distortion, in vp8_find_best_sub_pixel_step() [all …]
|
D | encodemv.c | 118 void vp8_build_component_cost_table(int *mvcost[2], const MV_CONTEXT *mvc, in vp8_build_component_cost_table() 129 mvcost[0][0] = cost_mvcomponent(0, &mvc[0]); in vp8_build_component_cost_table() 134 mvcost[0][i] = cost0 + vp8_cost_zero(mvc[0].prob[MVPsign]); in vp8_build_component_cost_table() 135 mvcost[0][-i] = cost0 + vp8_cost_one(mvc[0].prob[MVPsign]); in vp8_build_component_cost_table() 142 mvcost[1][0] = cost_mvcomponent(0, &mvc[1]); in vp8_build_component_cost_table() 147 mvcost[1][i] = cost1 + vp8_cost_zero(mvc[1].prob[MVPsign]); in vp8_build_component_cost_table() 148 mvcost[1][-i] = cost1 + vp8_cost_one(mvc[1].prob[MVPsign]); in vp8_build_component_cost_table() 317 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() 985 &cpi->fn_ptr[BLOCK_16X16], cpi->mb.mvcost, &distortion2, &sse); in vp8_pick_inter_mode() 1018 x->mvsadcost, x->mvcost, &best_ref_mv); in vp8_pick_inter_mode() 1023 &cpi->fn_ptr[BLOCK_16X16], x->mvcost, &best_ref_mv); in vp8_pick_inter_mode() 1038 &num00, &cpi->fn_ptr[BLOCK_16X16], x->mvcost, &best_ref_mv); in vp8_pick_inter_mode() 1057 &cpi->fn_ptr[BLOCK_16X16], cpi->mb.mvcost, &distortion2, &sse); in vp8_pick_inter_mode() 1068 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() 2065 &cpi->fn_ptr[BLOCK_16X16], x->mvcost, &best_ref_mv); in vp8_rd_pick_inter_mode() 2086 &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/libaom/libaom/av1/encoder/ |
D | encodemv.c | 82 static void build_nmv_component_cost_table(int *mvcost, in build_nmv_component_cost_table() argument 106 mvcost[0] = 0; in build_nmv_component_cost_table() 135 mvcost[v] = cost + sign_cost[0]; in build_nmv_component_cost_table() 136 mvcost[-v] = cost + sign_cost[1]; in build_nmv_component_cost_table() 180 void av1_build_nmv_cost_table(int *mvjoint, int *mvcost[2], in av1_build_nmv_cost_table() 184 build_nmv_component_cost_table(mvcost[0], &ctx->comps[0], precision); in av1_build_nmv_cost_table() 185 build_nmv_component_cost_table(mvcost[1], &ctx->comps[1], precision); in av1_build_nmv_cost_table()
|
D | 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,
|
D | mcomp.c | 95 int *mvcost[2], int weight) { in av1_mv_bit_cost() 97 return ROUND_POWER_OF_TWO(mv_cost(&diff, mvjcost, mvcost) * weight, 7); in av1_mv_bit_cost() 102 int *mvcost[2], int error_per_bit) { in mv_err_cost() 103 if (mvcost) { in mv_err_cost() 106 (int64_t)mv_cost(&diff, mvjcost, mvcost) * error_per_bit, in mv_err_cost() 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) { in setup_center_error() 366 besterr += mv_err_cost(bestmv, ref_mv, mvjcost, mvcost, error_per_bit); in setup_center_error() 398 int *cost_list, int *mvjcost, int *mvcost[2], int *distortion, in av1_find_best_sub_pixel_tree_pruned_evenmore() [all …]
|
D | encodemv.h | 24 void av1_build_nmv_cost_table(int *mvjoint, int *mvcost[2],
|
/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 …nt error_per_bit, int search_range, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 171 …nt error_per_bit, int search_range, 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 …nt error_per_bit, int search_range, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 171 …nt error_per_bit, int search_range, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
|
/external/libvpx/libvpx/vp8/common/ |
D | rtcd_defs.pl | 219 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 224 …nt error_per_bit, int search_range, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 229 …param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
|
/external/libvpx/config/generic/ |
D | vp8_rtcd.h | 78 …param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 84 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 117 …nt error_per_bit, int search_range, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
|
/external/libvpx/config/arm-neon/ |
D | vp8_rtcd.h | 92 …param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 99 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 140 …nt error_per_bit, int search_range, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
|
/external/libvpx/config/arm64/ |
D | vp8_rtcd.h | 92 …param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 99 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *… 140 …nt error_per_bit, int search_range, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
|