Home
last modified time | relevance | path

Searched refs:ref_mv (Results 1 – 21 of 21) sorted by relevance

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_mcomp.c264 MV *bestmv, const MV *ref_mv, in vp9_find_best_sub_pixel_tree() argument
288 int rr = ref_mv->row; in vp9_find_best_sub_pixel_tree()
289 int rc = ref_mv->col; in vp9_find_best_sub_pixel_tree()
293 const int minc = MAX(x->mv_col_min * 8, ref_mv->col - MV_MAX); in vp9_find_best_sub_pixel_tree()
294 const int maxc = MIN(x->mv_col_max * 8, ref_mv->col + MV_MAX); in vp9_find_best_sub_pixel_tree()
295 const int minr = MAX(x->mv_row_min * 8, ref_mv->row - MV_MAX); in vp9_find_best_sub_pixel_tree()
296 const int maxr = MIN(x->mv_row_max * 8, ref_mv->row + MV_MAX); in vp9_find_best_sub_pixel_tree()
308 besterr += mv_err_cost(bestmv, ref_mv, mvjcost, mvcost, error_per_bit); in vp9_find_best_sub_pixel_tree()
329 if (allow_hp && vp9_use_mv_hp(ref_mv) && forced_stop == 0) { in vp9_find_best_sub_pixel_tree()
346 if ((abs(bestmv->col - ref_mv->col) > (MAX_FULL_PEL_VAL << 3)) || in vp9_find_best_sub_pixel_tree()
[all …]
Dvp9_mcomp.h60 const MV *ref_mv, MV *dst_mv);
64 MV *ref_mv,
81 MV *bestmv, const MV *ref_mv,
96 MV *bestmv, const MV *ref_mv,
110 const MV *ref_mv, int sad_per_bit,
117 MV *ref_mv, int sad_per_bit,
124 MV *ref_mv, MV *best_mv,
132 MV *ref_mv, int error_per_bit,
Dvp9_pickmode.c40 const MV ref_mv = mbmi->ref_mvs[ref][0].as_mv; in full_pixel_motion_search() local
61 vp9_set_mv_search_range(x, &ref_mv); in full_pixel_motion_search()
92 &ref_mv, &tmp_mv->as_mv); in full_pixel_motion_search()
97 &ref_mv, &tmp_mv->as_mv); in full_pixel_motion_search()
102 &ref_mv, &tmp_mv->as_mv); in full_pixel_motion_search()
107 &ref_mv, &tmp_mv->as_mv); in full_pixel_motion_search()
112 &ref_mv, &tmp_mv->as_mv); in full_pixel_motion_search()
119 &ref_mv, &tmp_mv->as_mv); in full_pixel_motion_search()
141 MV ref_mv = mbmi->ref_mvs[ref][0].as_mv; in sub_pixel_motion_search() local
157 cpi->find_fractional_mv_step(x, tmp_mv, &ref_mv, in sub_pixel_motion_search()
[all …]
Dvp9_mbgraph.c25 const MV *ref_mv, in do_16x16_motion_iteration() argument
44 vp9_set_mv_search_range(x, ref_mv); in do_16x16_motion_iteration()
46 ref_full.col = ref_mv->col >> 3; in do_16x16_motion_iteration()
47 ref_full.row = ref_mv->row >> 3; in do_16x16_motion_iteration()
51 ref_mv, dst_mv); in do_16x16_motion_iteration()
59 x, dst_mv, ref_mv, cpi->common.allow_high_precision_mv, x->errorperbit, in do_16x16_motion_iteration()
80 static int do_16x16_motion_search(VP9_COMP *cpi, const int_mv *ref_mv, in do_16x16_motion_search() argument
96 tmp_err = do_16x16_motion_iteration(cpi, &ref_mv->as_mv, &tmp_mv.as_mv, in do_16x16_motion_search()
105 if (ref_mv->as_int) { in do_16x16_motion_search()
Dvp9_rdopt.c1626 int_mv *ref_mv[2]; member
1845 vp9_set_mv_search_range(x, &bsi->ref_mv[0]->as_mv); in rd_check_segment_txsize()
1851 &bsi->ref_mv[0]->as_mv, in rd_check_segment_txsize()
1855 &bsi->ref_mv[0]->as_mv, in rd_check_segment_txsize()
1861 &bsi->ref_mv[0]->as_mv, in rd_check_segment_txsize()
1865 &bsi->ref_mv[0]->as_mv, in rd_check_segment_txsize()
1871 &bsi->ref_mv[0]->as_mv, in rd_check_segment_txsize()
1875 &bsi->ref_mv[0]->as_mv, in rd_check_segment_txsize()
1880 &bsi->ref_mv[0]->as_mv, in rd_check_segment_txsize()
1894 &bsi->ref_mv[0]->as_mv, in rd_check_segment_txsize()
[all …]
Dvp9_temporal_filter.c139 MV *ref_mv = &x->e_mbd.mi[0]->bmi[0].as_mv[0].as_mv; in temporal_filter_find_matching_mb_c() local
164 &cpi->fn_ptr[BLOCK_16X16], 0, &best_ref_mv1, ref_mv); in temporal_filter_find_matching_mb_c()
172 bestsme = cpi->find_fractional_mv_step(x, ref_mv, in temporal_filter_find_matching_mb_c()
Dvp9_firstpass.c391 const MV *ref_mv, MV *best_mv, in first_pass_motion_search() argument
395 MV ref_mv_full = {ref_mv->row >> 3, ref_mv->col >> 3}; in first_pass_motion_search()
420 x->mvcost, ref_mv); in first_pass_motion_search()
422 tmp_err = vp9_get_mvpred_var(x, &tmp_mv, ref_mv, &v_fn_ptr, 1); in first_pass_motion_search()
446 x->mvcost, ref_mv); in first_pass_motion_search()
448 tmp_err = vp9_get_mvpred_var(x, &tmp_mv, ref_mv, &v_fn_ptr, 1); in first_pass_motion_search()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dmcomp.c204 int_mv *bestmv, int_mv *ref_mv, in vp8_find_best_sub_pixel_step_iteratively() argument
212 int rr = ref_mv->as_mv.row >> 1, rc = ref_mv->as_mv.col >> 1; in vp8_find_best_sub_pixel_step_iteratively()
224 (ref_mv->as_mv.col >> 1) - ((1 << mvlong_width) - 1)); in vp8_find_best_sub_pixel_step_iteratively()
226 (ref_mv->as_mv.col >> 1) + ((1 << mvlong_width) - 1)); in vp8_find_best_sub_pixel_step_iteratively()
228 (ref_mv->as_mv.row >> 1) - ((1 << mvlong_width) - 1)); in vp8_find_best_sub_pixel_step_iteratively()
230 (ref_mv->as_mv.row >> 1) + ((1 << mvlong_width) - 1)); in vp8_find_best_sub_pixel_step_iteratively()
267 besterr += mv_err_cost(bestmv, ref_mv, mvcost, error_per_bit); in vp8_find_best_sub_pixel_step_iteratively()
347 if ((abs(bestmv->as_mv.col - ref_mv->as_mv.col) > (MAX_FULL_PEL_VAL<<3)) || in vp8_find_best_sub_pixel_step_iteratively()
348 (abs(bestmv->as_mv.row - ref_mv->as_mv.row) > (MAX_FULL_PEL_VAL<<3))) in vp8_find_best_sub_pixel_step_iteratively()
362 int_mv *bestmv, int_mv *ref_mv, in vp8_find_best_sub_pixel_step() argument
[all …]
Dmcomp.h50 int_mv *ref_mv,
61 (MACROBLOCK *x, BLOCK *b, BLOCKD *d, int_mv *bestmv, int_mv *ref_mv,
75 int_mv *ref_mv,
88 int_mv *ref_mv,
101 int_mv *ref_mv,
Drdopt.c1083 int_mv *ref_mv; member
1242 x->mvcost, bsi->ref_mv); in rd_check_segment()
1259 x->mvcost, bsi->ref_mv); in rd_check_segment()
1280 x->mvcost, bsi->ref_mv); in rd_check_segment()
1302 bsi->ref_mv, x->errorperbit, v_fn_ptr, x->mvcost, in rd_check_segment()
1308 bsi->ref_mv, x->mvcost); in rd_check_segment()
1342 bsi->ref_mv, x->mvcost); in rd_check_segment()
1398 bsi.ref_mv = best_ref_mv; in vp8_rd_pick_best_mbsegmentation()
Dfirstpass.c436 int_mv *ref_mv, MV *best_mv, in first_pass_motion_search() argument
463 ref_mv_full.as_mv.col = ref_mv->as_mv.col>>3; in first_pass_motion_search()
464 ref_mv_full.as_mv.row = ref_mv->as_mv.row>>3; in first_pass_motion_search()
467 x->mvcost, ref_mv); in first_pass_motion_search()
493 ref_mv); in first_pass_motion_search()
Dpickinter.c44 int_mv *bestmv, int_mv *ref_mv, in vp8_skip_fractional_mv_step() argument
52 (void) ref_mv; in vp8_skip_fractional_mv_step()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
Drtcd_defs.pl505 … "struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, …
510 … "struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, …
514 … "struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, union int_mv *bes…
/hardware/intel/common/omx-components/videocodec/libvpx_internal/generic/
Dvp8_rtcd.h277 …c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, …
280 …c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, …
283 …c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, union int_mv *bes…
/hardware/intel/common/omx-components/videocodec/libvpx_internal/mips/
Dvp8_rtcd.h277 …c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, …
280 …c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, …
283 …c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, union int_mv *bes…
/hardware/intel/common/omx-components/videocodec/libvpx_internal/x86/
Dvp8_rtcd.h121 …c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, union int_mv *bes…
122 …4(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, union int_mv *bes…
123 …)(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, union int_mv *bes…
144 …c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, …
145 …3(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, …
146 …8(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, …
147 …)(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, …
243 …c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, …
244 …4(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, …
245 …)(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, …
/hardware/intel/common/omx-components/videocodec/libvpx_internal/mips-dspr2/
Dvp8_rtcd.h295 …c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, …
298 …c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, …
301 …c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, union int_mv *bes…
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
Dvp9_rtcd_defs.pl757 add_proto qw/int vp9_full_search_sad/, "const struct macroblock *x, const struct mv *ref_mv, int sa…
762 add_proto qw/int vp9_refining_search_sad/, "const struct macroblock *x, struct mv *ref_mv, int sad_…
766 add_proto qw/int vp9_diamond_search_sad/, "const struct macroblock *x, struct mv *ref_mv, struct mv…
770 add_proto qw/int vp9_full_range_search/, "const struct macroblock *x, struct mv *ref_mv, struct mv …
/hardware/intel/common/omx-components/videocodec/libvpx_internal/armv7a/
Dvp8_rtcd.h320 …c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, …
323 …c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, …
326 …c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, union int_mv *bes…
/hardware/intel/common/omx-components/videocodec/libvpx_internal/armv7a-neon/
Dvp8_rtcd.h373 …c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, …
376 …c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, …
379 …c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, union int_mv *bes…
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
Dvp9_decodemv.c366 int_mv mv[2], int_mv ref_mv[2], in assign_mv()
377 read_mv(r, &mv[i].as_mv, &ref_mv[i].as_mv, &cm->fc.nmvc, mv_counts, in assign_mv()