Home
last modified time | relevance | path

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

/external/libvpx/vp8/encoder/
Dmcomp.c37 int vp8_mv_bit_cost(MV *mv, MV *ref, int *mvcost[2], int Weight) in vp8_mv_bit_cost()
43 …return ((mvcost[0][(mv->row - ref->row) >> 1] + mvcost[1][(mv->col - ref->col) >> 1]) * Weight) >>… in vp8_mv_bit_cost()
46 int vp8_mv_err_cost(MV *mv, MV *ref, int *mvcost[2], int error_per_bit) in vp8_mv_err_cost()
53 …return ((mvcost[0][(mv->row - ref->row) >> 1] + mvcost[1][(mv->col - ref->col) >> 1]) * error_per_… in vp8_mv_err_cost()
58 static int mv_bits(MV *mv, MV *ref, int *mvcost[2]) in mv_bits()
62 …return ((mvcost[0][(mv->row - ref->row) >> 1] + mvcost[1][(mv->col - ref->col)>> 1]) + 128) >> 8; in mv_bits()
186 #define MVC(r,c) (((mvcost[0][(r)-rr] + mvcost[1][(c) - rc]) * error_per_bit + 128 )>>8 ) // estima…
198 …KD *d, MV *bestmv, MV *ref_mv, int error_per_bit, const vp8_variance_fn_ptr_t *vfp, int *mvcost[2]) in vp8_find_best_sub_pixel_step_iteratively()
224 besterr += vp8_mv_err_cost(bestmv, ref_mv, mvcost, error_per_bit); in vp8_find_best_sub_pixel_step_iteratively()
312 …KD *d, MV *bestmv, MV *ref_mv, int error_per_bit, const vp8_variance_fn_ptr_t *vfp, int *mvcost[2]) in vp8_find_best_sub_pixel_step()
[all …]
Dmcomp.h30 extern int vp8_mv_bit_cost(MV *mv, MV *ref, int *mvcost[2], int Weight);
47 int *mvcost[2]
53 int error_per_bit, const vp8_variance_fn_ptr_t *vfp, int *mvcost[2]);
69 int *mvcost[2], \
86 int *mvcost[2] \
Dencodemv.c140 void vp8_build_component_cost_table(int *mvcost[2], int *mvsadcost[2], const MV_CONTEXT *mvc, int m… in vp8_build_component_cost_table()
167 mvcost [0] [0] = cost_mvcomponent(0, &mvc[0]); in vp8_build_component_cost_table()
174 mvcost [0] [i] = cost0 + vp8_cost_zero(mvc[0].prob[MVPsign]); in vp8_build_component_cost_table()
175 mvcost [0] [-i] = cost0 + vp8_cost_one(mvc[0].prob[MVPsign]); in vp8_build_component_cost_table()
184 mvcost [1] [0] = cost_mvcomponent(0, &mvc[1]); in vp8_build_component_cost_table()
191 mvcost [1] [i] = cost1 + vp8_cost_zero(mvc[1].prob[MVPsign]); in vp8_build_component_cost_table()
192 mvcost [1] [-i] = cost1 + vp8_cost_one(mvc[1].prob[MVPsign]); in vp8_build_component_cost_table()
439 …vp8_build_component_cost_table(cpi->mb.mvcost, cpi->mb.mvsadcost, (const MV_CONTEXT *) cpi->common… in vp8_write_mvprobs()
Drdopt.c926 int *mvcost[2] in labels2mode()
963 thismvcost = vp8_mv_bit_cost(this_mv, best_ref_mv, mvcost, 102); in labels2mode()
1106 …ate, int *returnyrate, int *returndistortion, int compressor_speed, int *mvcost[2], int mvthresh, … in vp8_rd_pick_best_mbsegmentation()
1236 …mv, &mode_mv[NEW4X4], step_param, sadpb/*x->errorperbit*/, &num00, v_fn_ptr, x->mvsadcost, mvcost); in vp8_rd_pick_best_mbsegmentation()
1239 …&mode_mv[NEW4X4], step_param, sadpb / 2/*x->errorperbit*/, &num00, v_fn_ptr, x->mvsadcost, mvcost); in vp8_rd_pick_best_mbsegmentation()
1252 …mv, &temp_mv, step_param + n, sadpb / 2/*x->errorperbit*/, &num00, v_fn_ptr, x->mvsadcost, mvcost); in vp8_rd_pick_best_mbsegmentation()
1267 …sme = cpi->full_search_sad(x, c, e, best_ref_mv, sadpb / 4, 16, v_fn_ptr, x->mvcost, x->mvsadcost); in vp8_rd_pick_best_mbsegmentation()
1285 …d_fractional_mv_step(x, c, e, &mode_mv[NEW4X4], best_ref_mv, x->errorperbit / 2, v_fn_ptr, mvcost); in vp8_rd_pick_best_mbsegmentation()
1287 …_skip_fractional_mv_step(x, c, e, &mode_mv[NEW4X4], best_ref_mv, x->errorperbit, v_fn_ptr, mvcost); in vp8_rd_pick_best_mbsegmentation()
1291 … rate = labels2mode(x, labels, i, this_mode, &mode_mv[this_mode], best_ref_mv, mvcost); in vp8_rd_pick_best_mbsegmentation()
[all …]
Dpickinter.c48 …ROBLOCK *x, MV *best_ref_mv, int best_rd, int *, int *, int *, int, int *mvcost[2], int, int fullp…
53 …KD *d, MV *bestmv, MV *ref_mv, int error_per_bit, const vp8_variance_fn_ptr_t *vfp, int *mvcost[2]) in vp8_skip_fractional_mv_step()
60 (void) mvcost; in vp8_skip_fractional_mv_step()
688 …bmi.mv.as_mv, step_param, x->errorperbit, &num00, &cpi->fn_ptr, cpi->mb.mvsadcost, cpi->mb.mvcost); in vp8_pick_inter_mode()
701 …>bmi.mv.as_mv, step_param + n, x->errorperbit, &num00, &cpi->fn_ptr, cpi->mb.mvsadcost, x->mvcost); in vp8_pick_inter_mode()
721 …, step_param, sadpb/*x->errorperbit*/, &num00, &cpi->fn_ptr[BLOCK_16X16], x->mvsadcost, x->mvcost); in vp8_pick_inter_mode()
727 …dpb / 2/*x->errorperbit*/, &num00, &cpi->fn_ptr[BLOCK_16X16], x->mvsadcost, x->mvcost); //sadpb < 9 in vp8_pick_inter_mode()
746 …dpb / 4/*x->errorperbit*/, &num00, &cpi->fn_ptr[BLOCK_16X16], x->mvsadcost, x->mvcost); //sadpb = 9 in vp8_pick_inter_mode()
767 … b, d, &d->bmi.mv.as_mv, &best_ref_mv1, x->errorperbit, &cpi->fn_ptr[BLOCK_16X16], cpi->mb.mvcost); in vp8_pick_inter_mode()
773 rate2 += vp8_mv_bit_cost(&mode_mv[NEWMV], &best_ref_mv1, cpi->mb.mvcost, 128); in vp8_pick_inter_mode()
Dtemporal_filter.c196 int *mvcost[2] = { &dummy_cost[mv_max+1], &dummy_cost[mv_max+1] }; in find_matching_mb() local
238 mvsadcost, mvcost); in find_matching_mb()
249 mvsadcost, mvcost); //sadpb < 9 in find_matching_mb()
271 mvsadcost, mvcost); //sadpb = 9 in find_matching_mb()
295 cpi->mb.mvcost); in find_matching_mb()
Dencodemv.h19 void vp8_build_component_cost_table(int *mvcost[2], int *mvsadcost[2], const MV_CONTEXT *mvc, int m…
Dblock.h86 int *mvcost[2]; member
Dethreading.c268 z->mvcost[0] = &z->mvcosts[0][mv_max+1]; in setup_mbby_copy()
269 z->mvcost[1] = &z->mvcosts[1][mv_max+1]; in setup_mbby_copy()
Dfirstpass.c475 …(x, b, d, ref_mv, &tmp_mv, step_param, x->errorperbit, &num00, &v_fn_ptr, x->mvsadcost, x->mvcost); in vp8_first_pass_motion_search()
498 …b, d, ref_mv, &tmp_mv, step_param + n, x->errorperbit, &num00, &v_fn_ptr, x->mvsadcost, x->mvcost); in vp8_first_pass_motion_search()
571 …vp8_build_component_cost_table(cpi->mb.mvcost, cpi->mb.mvsadcost, (const MV_CONTEXT *) cm->fc.mvc,… in vp8_first_pass()
Dratectrl.c311 …vp8_build_component_cost_table(cpi->mb.mvcost, cpi->mb.mvsadcost, (const MV_CONTEXT *) cpi->common… in vp8_setup_key_frame()
Dencodeframe.c882 …vp8_build_component_cost_table(cpi->mb.mvcost, cpi->mb.mvsadcost, (const MV_CONTEXT *) cm->fc.mvc,… in vp8_encode_frame()
Donyx_if.c2270 cpi->mb.mvcost[0] = &cpi->mb.mvcosts[0][mv_max+1]; in vp8_create_compressor()
2271 cpi->mb.mvcost[1] = &cpi->mb.mvcosts[1][mv_max+1]; in vp8_create_compressor()