HomeSort by relevance Sort by last modified time
    Searched full:mvcost (Results 1 - 17 of 17) sorted by null

  /external/libvpx/vp8/encoder/
mcomp.h 29 extern int vp8_mv_bit_cost(MV *mv, MV *ref, int *mvcost[2], int Weight);
46 int *mvcost[2],
52 int error_per_bit, const vp8_variance_fn_ptr_t *vfp, int *mvcost[2]);
68 int *mvcost[2], \
86 int *mvcost[2], \
encodemv.h 19 void vp8_build_component_cost_table(int *mvcost[2], int *mvsadcost[2], const MV_CONTEXT *mvc, int mvc_flag[2]);
encodemv.c 140 void vp8_build_component_cost_table(int *mvcost[2], int *mvsadcost[2], const MV_CONTEXT *mvc, int mvc_flag[2])
167 mvcost [0] [0] = cost_mvcomponent(0, &mvc[0]);
171 //mvcost [0] [i] = cost_mvcomponent( i, &mvc[0]);
174 mvcost [0] [i] = cost0 + vp8_cost_zero(mvc[0].prob[MVPsign]);
175 mvcost [0] [-i] = cost0 + vp8_cost_one(mvc[0].prob[MVPsign]);
184 mvcost [1] [0] = cost_mvcomponent(0, &mvc[1]);
188 //mvcost [1] [i] = cost_mvcomponent( i, mvc[1]);
191 mvcost [1] [i] = cost1 + vp8_cost_zero(mvc[1].prob[MVPsign]);
192 mvcost [1] [-i] = cost1 + vp8_cost_one(mvc[1].prob[MVPsign]);
201 mvcost [0] [i] = cost_mvcomponent( i, mvc[0])
    [all...]
mcomp.c 37 int vp8_mv_bit_cost(MV *mv, MV *ref, int *mvcost[2], int Weight)
43 return ((mvcost[0][(mv->row - ref->row) >> 1] + mvcost[1][(mv->col - ref->col) >> 1]) * Weight) >> 7;
46 static int mv_err_cost(MV *mv, MV *ref, int *mvcost[2], int error_per_bit)
49 //return ((mvcost[0][(mv->row - ref->row)>>1] + mvcost[1][(mv->col - ref->col)>>1] + 128) * error_per_bit) >> 8;
50 //return ( (vp8_mv_bit_cost(mv, ref, mvcost, 100) + 128) * error_per_bit) >> 8;
52 //i = (vp8_mv_bit_cost(mv, ref, mvcost, 100) * error_per_bit + 128) >> 8;
53 return ((mvcost[0][(mv->row - ref->row) >> 1] + mvcost[1][(mv->col - ref->col) >> 1]) * error_per_bit + 128) >> 8
    [all...]
block.h 88 int *mvcost[2]; member in struct:__anon7457
temporal_filter.c 164 int *mvcost[2] = { &dummy_cost[mv_max+1], &dummy_cost[mv_max+1] }; local
206 mvsadcost, mvcost, &best_ref_mv1);
217 mvsadcost, mvcost, &best_ref_mv1); //sadpb < 9
239 mvsadcost, mvcost, &best_ref_mv1); //sadpb = 9
263 mvcost);
pickinter.c 48 extern int vp8_rd_pick_best_mbsegmentation(VP8_COMP *cpi, MACROBLOCK *x, MV *best_ref_mv, int best_rd, int *, int *, int *, int, int *mvcost[2], int, int fullpixel);
53 int vp8_skip_fractional_mv_step(MACROBLOCK *mb, BLOCK *b, BLOCKD *d, MV *bestmv, MV *ref_mv, int error_per_bit, const vp8_variance_fn_ptr_t *vfp, int *mvcost[2])
60 (void) mvcost;
735 bestsme = vp8_hex_search(x, b, d, &mvp, &d->bmi.mv.as_mv, step_param, sadpb/*x->errorperbit*/, &num00, &cpi->fn_ptr[BLOCK_16X16], x->mvsadcost, x->mvcost, &best_ref_mv);
741 bestsme = cpi->diamond_search_sad(x, b, d, &mvp, &d->bmi.mv.as_mv, step_param, sadpb / 2/*x->errorperbit*/, &num00, &cpi->fn_ptr[BLOCK_16X16], x->mvsadcost, x->mvcost, &best_ref_mv); //sadpb < 9
760 thissme = cpi->diamond_search_sad(x, b, d, &mvp, &d->bmi.mv.as_mv, step_param + n, sadpb / 4/*x->errorperbit*/, &num00, &cpi->fn_ptr[BLOCK_16X16], x->mvsadcost, x->mvcost, &best_ref_mv); //sadpb = 9
786 cpi->find_fractional_mv_step(x, b, d, &d->bmi.mv.as_mv, &best_ref_mv, x->errorperbit, &cpi->fn_ptr[BLOCK_16X16], cpi->mb.mvcost);
792 rate2 += vp8_mv_bit_cost(&mode_mv[NEWMV], &best_ref_mv, cpi->mb.mvcost, 128);
ethreading.c 320 z->mvcost[0] = &z->mvcosts[0][mv_max+1];
321 z->mvcost[1] = &z->mvcosts[1][mv_max+1];
329 //memcpy(z->mvcost, x->mvcost, sizeof(x->mvcost));
rdopt.c 885 int *mvcost[2]
922 thismvcost = vp8_mv_bit_cost(this_mv, best_ref_mv, mvcost, 102);
1156 &mode_mv[NEW4X4], step_param, sadpb, &num00, v_fn_ptr, x->mvsadcost, x->mvcost, bsi->ref_mv);
1162 sadpb / 2, &num00, v_fn_ptr, x->mvsadcost, x->mvcost, bsi->ref_mv);
1177 sadpb / 2, &num00, v_fn_ptr, x->mvsadcost, x->mvcost, bsi->ref_mv);
    [all...]
firstpass.c 449 tmp_err = cpi->diamond_search_sad(x, b, d, ref_mv, &tmp_mv, step_param, x->errorperbit, &num00, &v_fn_ptr, x->mvsadcost, x->mvcost, ref_mv);
472 tmp_err = cpi->diamond_search_sad(x, b, d, ref_mv, &tmp_mv, step_param + n, x->errorperbit, &num00, &v_fn_ptr, x->mvsadcost, x->mvcost, ref_mv);
543 vp8_build_component_cost_table(cpi->mb.mvcost, cpi->mb.mvsadcost, (const MV_CONTEXT *) cm->fc.mvc, flag);
    [all...]
encodeframe.c     [all...]
ratectrl.c 313 vp8_build_component_cost_table(cpi->mb.mvcost, cpi->mb.mvsadcost, (const MV_CONTEXT *) cpi->common.fc.mvc, flag);
    [all...]
onyx_if.c     [all...]
  /frameworks/base/media/libstagefright/codecs/avc/enc/src/
findhalfpel.cpp 63 int mvcost; local
86 mvcost = MV_COST_S(lambda_motion, mot->x, mot->y, cmvx, cmvy);
88 dmin += mvcost;
95 mvcost = MV_COST_S(lambda_motion, mot->x + xh[h], mot->y + yh[h], cmvx, cmvy);
96 d += mvcost;
102 satd_min = d - mvcost;
119 mvcost = MV_COST_S(lambda_motion, mot->x + xq[q], mot->y + yq[q], cmvx, cmvy);
120 d += mvcost;
125 satd_min = d - mvcost;
motion_est.cpp 988 int mvcost; local
1280 int mvcost; local
    [all...]
avcenc_lib.h 618 \param "cmvx, cmvy" "Predicted motion vector use for mvcost."
    [all...]
  /external/libvpx/vp8/common/
onyxc_int.h 46 MV_CONTEXT pre_mvc[2]; /* not to caculate the mvcost for the frame if mvc doesn't change. */

Completed in 131 milliseconds