Home
last modified time | relevance | path

Searched refs:mvcost (Results 1 – 25 of 29) sorted by relevance

12

/external/libvpx/libvpx/vp8/encoder/
Dmcomp.h40 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],
Dmcomp.c30 int vp8_mv_bit_cost(int_mv *mv, int_mv *ref, int *mvcost[2], int Weight) in vp8_mv_bit_cost()
39 …return ((mvcost[0][(mv->as_mv.row - ref->as_mv.row) >> 1] + mvcost[1][(mv->as_mv.col - ref->as_mv.… in vp8_mv_bit_cost()
42 static int mv_err_cost(int_mv *mv, int_mv *ref, int *mvcost[2], int error_per_bit) in mv_err_cost()
45 if (mvcost) in mv_err_cost()
46 return ((mvcost[0][(mv->as_mv.row - ref->as_mv.row) >> 1] + in mv_err_cost()
47 mvcost[1][(mv->as_mv.col - ref->as_mv.col) >> 1]) in mv_err_cost()
194 #define MVC(r,c) (mvcost ? ((mvcost[0][(r)-rr] + mvcost[1][(c) - rc]) * error_per_bit + 128 )>>8 : …
211 int *mvcost[2], int *distortion, in vp8_find_best_sub_pixel_step_iteratively()
271 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 …]
Dencodemv.c138 void vp8_build_component_cost_table(int *mvcost[2], const MV_CONTEXT *mvc, int mvc_flag[2]) in vp8_build_component_cost_table()
150 mvcost [0] [0] = cost_mvcomponent(0, &mvc[0]); in vp8_build_component_cost_table()
156 mvcost [0] [i] = cost0 + vp8_cost_zero(mvc[0].prob[MVPsign]); in vp8_build_component_cost_table()
157 mvcost [0] [-i] = cost0 + vp8_cost_one(mvc[0].prob[MVPsign]); in vp8_build_component_cost_table()
166 mvcost [1] [0] = cost_mvcomponent(0, &mvc[1]); in vp8_build_component_cost_table()
172 mvcost [1] [i] = cost1 + vp8_cost_zero(mvc[1].prob[MVPsign]); in vp8_build_component_cost_table()
173 mvcost [1] [-i] = cost1 + vp8_cost_one(mvc[1].prob[MVPsign]); in vp8_build_component_cost_table()
375 … vp8_build_component_cost_table(cpi->mb.mvcost, (const MV_CONTEXT *) cpi->common.fc.mvc, flags); in vp8_write_mvprobs()
Dencodemv.h23 void vp8_build_component_cost_table(int *mvcost[2], const MV_CONTEXT *mvc, int mvc_flag[2]);
Dpickinter.c174 int *mvcost[2], int *distortion, in vp8_skip_fractional_mv_step()
183 (void) mvcost; in vp8_skip_fractional_mv_step()
1160 cpi->mb.mvcost, in vp8_pick_inter_mode()
1198 x->mvsadcost, x->mvcost, &best_ref_mv); in vp8_pick_inter_mode()
1206 x->mvcost, &best_ref_mv); in vp8_pick_inter_mode()
1227 x->mvcost, &best_ref_mv); in vp8_pick_inter_mode()
1250 cpi->mb.mvcost, in vp8_pick_inter_mode()
1261 cpi->mb.mvcost, 128); in vp8_pick_inter_mode()
Dethreading.c360 z->mvcost[0] = x->mvcost[0]; in setup_mbby_copy()
361 z->mvcost[1] = x->mvcost[1]; in setup_mbby_copy()
Drdopt.c956 int *mvcost[2] in labels2mode()
994 thismvcost = vp8_mv_bit_cost(this_mv, best_ref_mv, mvcost, 102); in labels2mode()
1244 x->mvcost, bsi->ref_mv); in rd_check_segment()
1261 x->mvcost, bsi->ref_mv); in rd_check_segment()
1282 x->mvcost, bsi->ref_mv); in rd_check_segment()
1304 bsi->ref_mv, x->errorperbit, v_fn_ptr, x->mvcost, in rd_check_segment()
1310 bsi->ref_mv, x->mvcost); in rd_check_segment()
1344 bsi->ref_mv, x->mvcost); in rd_check_segment()
2293 x->mvcost, &best_ref_mv); in vp8_rd_pick_inter_mode()
2316 &cpi->fn_ptr[BLOCK_16X16], x->mvcost, in vp8_rd_pick_inter_mode()
[all …]
Dblock.h100 int *mvcost[2]; member
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encodemv.c75 static void build_nmv_component_cost_table(int *mvcost, in build_nmv_component_cost_table() argument
103 mvcost[0] = 0; 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()
226 void vp9_build_nmv_cost_table(int *mvjoint, int *mvcost[2], in vp9_build_nmv_cost_table()
229 build_nmv_component_cost_table(mvcost[0], &ctx->comps[0], usehp); in vp9_build_nmv_cost_table()
230 build_nmv_component_cost_table(mvcost[1], &ctx->comps[1], usehp); in vp9_build_nmv_cost_table()
Dvp9_mcomp.c77 const int *mvjcost, int *mvcost[2], int weight) { in vp9_mv_bit_cost()
80 return ROUND_POWER_OF_TWO(mv_cost(&diff, mvjcost, mvcost) * weight, 7); in vp9_mv_bit_cost()
84 const int *mvjcost, int *mvcost[2], in mv_err_cost()
86 if (mvcost) { in mv_err_cost()
89 return ROUND_POWER_OF_TWO(mv_cost(&diff, mvjcost, mvcost) * in mv_err_cost()
160 (mvcost ? \
162 mvcost[0][((r) - rr)] + mvcost[1][((c) - rc)]) * \
322 int *mvjcost, int *mvcost[2], in setup_center_error()
343 besterr += mv_err_cost(bestmv, ref_mv, mvjcost, mvcost, error_per_bit); in setup_center_error()
354 besterr += mv_err_cost(bestmv, ref_mv, mvjcost, mvcost, error_per_bit); in setup_center_error()
[all …]
Dvp9_mcomp.h51 const int *mvjcost, int *mvcost[2], int weight);
90 int *mvjcost, int *mvcost[2],
Dvp9_encodemv.h29 void vp9_build_nmv_cost_table(int *mvjoint, int *mvcost[2],
Dvp9_block.h89 int **mvcost; member
Dvp9_pickmode.c181 x->nmvjointcost, x->mvcost, MV_COST_WEIGHT); in combined_motion_search()
196 x->nmvjointcost, x->mvcost, in combined_motion_search()
199 x->nmvjointcost, x->mvcost, MV_COST_WEIGHT); in combined_motion_search()
1282 x->nmvjointcost, x->mvcost, MV_COST_WEIGHT); in vp9_pick_inter_mode()
1294 x->nmvjointcost, x->mvcost, &dis, in vp9_pick_inter_mode()
1831 x->nmvjointcost, x->mvcost, in vp9_pick_inter_mode_sub8x8()
1847 x->nmvjointcost, x->mvcost, in vp9_pick_inter_mode_sub8x8()
Dvp9_rdopt.c1269 int *mvcost[2]) { in set_and_cost_bmi_mvs()
1283 mvjcost, mvcost, MV_COST_WEIGHT_SUB); in set_and_cost_bmi_mvs()
1287 mvjcost, mvcost, MV_COST_WEIGHT_SUB); in set_and_cost_bmi_mvs()
1685 x->nmvjointcost, x->mvcost, in joint_motion_search()
1714 x->nmvjointcost, x->mvcost, MV_COST_WEIGHT); in joint_motion_search()
1907 x->nmvjointcost, x->mvcost, in rd_pick_best_sub8x8_mode()
1950 x->nmvjointcost, x->mvcost); in rd_pick_best_sub8x8_mode()
2048 x->mvcost); in rd_pick_best_sub8x8_mode()
2335 x->nmvjointcost, x->mvcost, in single_motion_search()
2339 x->nmvjointcost, x->mvcost, MV_COST_WEIGHT); in single_motion_search()
[all …]
/external/libvpx/config/x86_64/
Dvp8_rtcd.h115 …param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
116 …param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
135 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
136 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
207 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
208 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
/external/libvpx/config/x86/
Dvp8_rtcd.h115 …param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
116 …param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
135 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
136 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
207 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
208 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
/external/libvpx/config/generic/
Dvp8_rtcd.h77 …param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
83 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
116 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
/external/libvpx/config/mips64/
Dvp8_rtcd.h77 …param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
83 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
116 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
/external/libvpx/config/mips32/
Dvp8_rtcd.h77 …param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
83 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
116 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
/external/libvpx/libvpx/vp8/common/
Drtcd_defs.pl289 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
294 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
298 …param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
/external/libvpx/config/mips32-dspr2/
Dvp8_rtcd.h84 …param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
90 …_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 *…
/external/libvpx/config/arm64/
Dvp8_rtcd.h90 …param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
97 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
138 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
/external/libvpx/config/arm/
Dvp8_rtcd.h89 …param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
95 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
136 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
/external/libvpx/config/arm-neon/
Dvp8_rtcd.h102 …param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
109 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…
158 …_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *…

12