Home
last modified time | relevance | path

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

12

/external/libvpx/libvpx/vp9/encoder/
Dvp9_mcomp.c58 const MV *ref_mv) { in vp9_set_subpel_mv_search_range() argument
60 ref_mv->col - MAX_FULL_PEL_VAL * 8); in vp9_set_subpel_mv_search_range()
62 ref_mv->col + MAX_FULL_PEL_VAL * 8); in vp9_set_subpel_mv_search_range()
64 ref_mv->row - MAX_FULL_PEL_VAL * 8); in vp9_set_subpel_mv_search_range()
66 ref_mv->row + MAX_FULL_PEL_VAL * 8); in vp9_set_subpel_mv_search_range()
171 const MV ref_mv = { rr, rc }; \
180 tmpmse += mv_err_cost(&mv, &ref_mv, mvjcost, mvcost, error_per_bit); \
198 const MV ref_mv = { rr, rc }; \
205 if ((v = mv_err_cost(&mv, &ref_mv, mvjcost, mvcost, error_per_bit) + \
281 int rr = ref_mv->row; \
[all …]
Dvp9_mcomp.h61 int vp9_refining_search_sad(const struct macroblock *x, struct mv *ref_mv,
70 const MV *ref_mv);
73 const MACROBLOCK *x, MV *bestmv, const MV *ref_mv, int allow_hp,
88 typedef int (*vp9_full_search_fn_t)(const MACROBLOCK *x, const MV *ref_mv,
93 typedef int (*vp9_refining_search_fn_t)(const MACROBLOCK *x, MV *ref_mv,
99 const MACROBLOCK *x, const search_site_config *cfg, MV *ref_mv, MV *best_mv,
103 int vp9_refining_search_8p_c(const MACROBLOCK *x, MV *ref_mv, int error_per_bit,
115 int error_per_bit, int *cost_list, const MV *ref_mv,
120 const MV *ref_mv);
Dvp9_mbgraph.c25 static unsigned int do_16x16_motion_iteration(VP9_COMP *cpi, const MV *ref_mv, in do_16x16_motion_iteration() argument
41 vp9_set_mv_search_range(&x->mv_limits, ref_mv); in do_16x16_motion_iteration()
43 ref_full.col = ref_mv->col >> 3; in do_16x16_motion_iteration()
44 ref_full.row = ref_mv->row >> 3; in do_16x16_motion_iteration()
49 cond_cost_list(cpi, cost_list), ref_mv, dst_mv, 0, 0); in do_16x16_motion_iteration()
62 x, dst_mv, ref_mv, cpi->common.allow_high_precision_mv, x->errorperbit, in do_16x16_motion_iteration()
77 static int do_16x16_motion_search(VP9_COMP *cpi, const MV *ref_mv, in do_16x16_motion_search() argument
92 tmp_err = do_16x16_motion_iteration(cpi, ref_mv, &tmp_mv, mb_row, mb_col); in do_16x16_motion_search()
100 if (ref_mv->row != 0 || ref_mv->col != 0) { in do_16x16_motion_search()
Dvp9_temporal_filter.c498 uint8_t *frame_ptr_buf, int stride, MV *ref_mv, MV *blk_mvs, in temporal_filter_find_matching_mb_c() argument
536 &best_ref_mv1, ref_mv, 0, 0); in temporal_filter_find_matching_mb_c()
545 x, ref_mv, &best_ref_mv1, cpi->common.allow_high_precision_mv, in temporal_filter_find_matching_mb_c()
551 best_ref_mv1.row = ref_mv->row; in temporal_filter_find_matching_mb_c()
552 best_ref_mv1.col = ref_mv->col; in temporal_filter_find_matching_mb_c()
647 MV ref_mv; in vp9_temporal_filter_iterate_row_c() local
686 ref_mv.row = 0; in vp9_temporal_filter_iterate_row_c()
687 ref_mv.col = 0; in vp9_temporal_filter_iterate_row_c()
705 &ref_mv, blk_mvs, blk_bestsme); in vp9_temporal_filter_iterate_row_c()
749 mb_uv_width, mb_uv_height, ref_mv.row, ref_mv.col, predictor, scale, in vp9_temporal_filter_iterate_row_c()
Dvp9_rdopt.c1612 int_mv *ref_mv[2]; member
1709 int_mv ref_mv[2]; in joint_motion_search() local
1731 ref_mv[ref] = x->mbmi_ext->ref_mvs[refs[ref]][0]; in joint_motion_search()
1799 vp9_set_mv_search_range(&x->mv_limits, &ref_mv[id].as_mv); in joint_motion_search()
1809 &cpi->fn_ptr[bsize], &ref_mv[id].as_mv, in joint_motion_search()
1812 bestsme = vp9_get_mvpred_av_var(x, &tmp_mv, &ref_mv[id].as_mv, in joint_motion_search()
1821 x, &tmp_mv, &ref_mv[id].as_mv, cpi->common.allow_high_precision_mv, in joint_motion_search()
1890 bsi->ref_mv[0] = best_ref_mv; in rd_pick_best_sub8x8_mode()
1891 bsi->ref_mv[1] = second_best_ref_mv; in rd_pick_best_sub8x8_mode()
1999 vp9_set_mv_search_range(&x->mv_limits, &bsi->ref_mv[0]->as_mv); in rd_pick_best_sub8x8_mode()
[all …]
/external/libvpx/libvpx/vp8/encoder/
Dmcomp.c222 int_mv *bestmv, int_mv *ref_mv, in vp8_find_best_sub_pixel_step_iteratively() argument
229 int rr = ref_mv->as_mv.row >> 1, rc = ref_mv->as_mv.col >> 1; in vp8_find_best_sub_pixel_step_iteratively()
241 (ref_mv->as_mv.col >> 1) - ((1 << mvlong_width) - 1)); in vp8_find_best_sub_pixel_step_iteratively()
243 (ref_mv->as_mv.col >> 1) + ((1 << mvlong_width) - 1)); in vp8_find_best_sub_pixel_step_iteratively()
245 (ref_mv->as_mv.row >> 1) - ((1 << mvlong_width) - 1)); in vp8_find_best_sub_pixel_step_iteratively()
247 (ref_mv->as_mv.row >> 1) + ((1 << mvlong_width) - 1)); 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()
350 if ((abs(bestmv->as_mv.col - ref_mv->as_mv.col) > (MAX_FULL_PEL_VAL << 3)) || in vp8_find_best_sub_pixel_step_iteratively()
351 (abs(bestmv->as_mv.row - ref_mv->as_mv.row) > (MAX_FULL_PEL_VAL << 3))) { in vp8_find_best_sub_pixel_step_iteratively()
366 int_mv *bestmv, int_mv *ref_mv, in vp8_find_best_sub_pixel_step() argument
[all …]
Dmcomp.h36 int vp8_hex_search(MACROBLOCK *x, BLOCK *b, BLOCKD *d, int_mv *ref_mv,
42 int_mv *bestmv, int_mv *ref_mv,
54 int_mv *ref_mv, int sad_per_bit,
59 int_mv *ref_mv, int sad_per_bit,
65 int_mv *ref_mv, int_mv *best_mv,
Drdopt.c924 int_mv *ref_mv; member
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()
1118 cpi->find_fractional_mv_step(x, c, e, &mode_mv[NEW4X4], bsi->ref_mv, in rd_check_segment()
1125 bsi->ref_mv, x->mvcost); in rd_check_segment()
1158 bsi->ref_mv, x->mvcost); in rd_check_segment()
1211 bsi.ref_mv = best_ref_mv; in vp8_rd_pick_best_mbsegmentation()
/external/libaom/libaom/av1/encoder/
Dmcomp.c64 const MV *ref_mv) { in set_subpel_mv_search_range() argument
66 const int minc = AOMMAX(mv_limits->col_min * 8, ref_mv->col - max_mv); in set_subpel_mv_search_range()
67 const int maxc = AOMMIN(mv_limits->col_max * 8, ref_mv->col + max_mv); in set_subpel_mv_search_range()
68 const int minr = AOMMAX(mv_limits->row_min * 8, ref_mv->row - max_mv); in set_subpel_mv_search_range()
69 const int maxr = AOMMIN(mv_limits->row_max * 8, ref_mv->row + max_mv); in set_subpel_mv_search_range()
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); \
327 ref_mv); \
333 const MACROBLOCKD *xd, const MV *bestmv, const MV *ref_mv, in setup_center_error() argument
366 besterr += mv_err_cost(bestmv, ref_mv, mvjcost, mvcost, error_per_bit); in setup_center_error()
[all …]
Dmcomp.h83 int av1_refining_search_sad(struct macroblock *x, MV *ref_mv, int sad_per_bit,
90 const MV *ref_mv);
97 const MV *ref_mv, MV *dst_mv);
106 const MV *ref_mv, int allow_hp, int error_per_bit,
121 typedef int (*av1_full_search_fn_t)(const MACROBLOCK *x, const MV *ref_mv,
127 MACROBLOCK *x, const search_site_config *cfg, MV *ref_mv, MV *best_mv,
140 int *cost_list, const MV *ref_mv, int var_max, int rd,
148 const MV *ref_mv, MV *dst_mv, int is_second,
152 MV *bestmv, const MV *ref_mv, int allow_hp, int error_per_bit,
Dmbgraph.c27 static unsigned int do_16x16_motion_iteration(AV1_COMP *cpi, const MV *ref_mv, in do_16x16_motion_iteration() argument
42 av1_set_mv_search_range(&x->mv_limits, ref_mv); in do_16x16_motion_iteration()
44 ref_full.col = ref_mv->col >> 3; in do_16x16_motion_iteration()
45 ref_full.row = ref_mv->row >> 3; in do_16x16_motion_iteration()
49 cond_cost_list(cpi, cost_list), &v_fn_ptr, 0, ref_mv); in do_16x16_motion_iteration()
60 x, &cpi->common, mb_row, mb_col, ref_mv, in do_16x16_motion_iteration()
84 static int do_16x16_motion_search(AV1_COMP *cpi, const MV *ref_mv, int mb_row, in do_16x16_motion_search() argument
99 tmp_err = do_16x16_motion_iteration(cpi, ref_mv, mb_row, mb_col); in do_16x16_motion_search()
107 if (ref_mv->row != 0 || ref_mv->col != 0) { in do_16x16_motion_search()
Dencodemv.c195 int_mv ref_mv; in av1_get_ref_mv_from_stack() local
196 ref_mv.as_int = INVALID_MV; in av1_get_ref_mv_from_stack()
200 ref_mv = curr_ref_mv_stack[ref_mv_idx].this_mv; in av1_get_ref_mv_from_stack()
203 ref_mv = curr_ref_mv_stack[ref_mv_idx].comp_mv; in av1_get_ref_mv_from_stack()
208 ref_mv = curr_ref_mv_stack[ref_mv_idx].this_mv; in av1_get_ref_mv_from_stack()
210 ref_mv = mbmi_ext->global_mvs[ref_frame_type]; in av1_get_ref_mv_from_stack()
213 return ref_mv; in av1_get_ref_mv_from_stack()
Dfirstpass.c216 const MV *ref_mv, MV *best_mv, in first_pass_motion_search() argument
220 MV ref_mv_full = { ref_mv->row >> 3, ref_mv->col >> 3 }; in first_pass_motion_search()
241 &v_fn_ptr, ref_mv); in first_pass_motion_search()
243 tmp_err = av1_get_mvpred_var(x, &tmp_mv, ref_mv, &v_fn_ptr, 1); in first_pass_motion_search()
263 x->sadperbit16, &num00, &v_fn_ptr, ref_mv); in first_pass_motion_search()
265 tmp_err = av1_get_mvpred_var(x, &tmp_mv, ref_mv, &v_fn_ptr, 1); in first_pass_motion_search()
/external/libvpx/config/x86/
Dvp8_rtcd.h106 …c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, union int_mv *bes…
107 …4(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, union int_mv *bes…
126 …c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, …
127 …3(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, …
170 …c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int error_per_bit…
171 …4(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int error_per_bit…
/external/libvpx/config/x86_64/
Dvp8_rtcd.h106 …c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, union int_mv *bes…
107 …4(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, union int_mv *bes…
126 …c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, …
127 …3(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, …
170 …c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int error_per_bit…
171 …4(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int error_per_bit…
/external/libvpx/libvpx/vp8/common/
Drtcd_defs.pl219 … "struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, …
224 … "struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int error_per_bit…
229 … "struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, union int_mv *bes…
/external/libvpx/config/generic/
Dvp8_rtcd.h78 …c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, union int_mv *bes…
84 …c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, …
117 …c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int error_per_bit…
Dvp9_rtcd.h40 … struct macroblock *x, const struct search_site_config *cfg, struct mv *ref_mv, struct mv *best_m…
/external/libaom/libaom/av1/decoder/
Ddecodemv.c652 const int_mv *ref_mv, int mi_row, int mi_col, in assign_dv() argument
655 read_mv(r, &mv->as_mv, &ref_mv->as_mv, &ec_ctx->ndvc, MV_SUBPEL_NONE); in assign_dv()
1097 int_mv ref_mv[2], int_mv nearest_mv[2], in assign_mv()
1109 read_mv(r, &mv[0].as_mv, &ref_mv[0].as_mv, nmvc, allow_hp); in assign_mv()
1132 read_mv(r, &mv[i].as_mv, &ref_mv[i].as_mv, nmvc, allow_hp); in assign_mv()
1150 read_mv(r, &mv[0].as_mv, &ref_mv[0].as_mv, nmvc, allow_hp); in assign_mv()
1158 read_mv(r, &mv[1].as_mv, &ref_mv[1].as_mv, nmvc, allow_hp); in assign_mv()
1165 read_mv(r, &mv[1].as_mv, &ref_mv[1].as_mv, nmvc, allow_hp); in assign_mv()
1171 read_mv(r, &mv[0].as_mv, &ref_mv[0].as_mv, nmvc, allow_hp); in assign_mv()
1329 int_mv ref_mv[2]; in read_inter_block_mode_info() local
[all …]
/external/libvpx/config/arm-neon/
Dvp8_rtcd.h92 …c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, union int_mv *bes…
99 …c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, …
140 …c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int error_per_bit…
/external/libvpx/config/arm64/
Dvp8_rtcd.h92 …c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, union int_mv *bes…
99 …c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, …
140 …c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int error_per_bit…
Dvp9_rtcd.h40 … struct macroblock *x, const struct search_site_config *cfg, struct mv *ref_mv, struct mv *best_m…
/external/libvpx/libvpx/vp9/encoder/x86/
Dvp9_diamond_search_sad_avx.c74 const search_site_config *cfg, MV *ref_mv, in vp9_diamond_search_sad_avx() argument
101 const int ref_row = clamp(ref_mv->row, minmv.as_mv.row, maxmv.as_mv.row); in vp9_diamond_search_sad_avx()
102 const int ref_col = clamp(ref_mv->col, minmv.as_mv.col, maxmv.as_mv.col); in vp9_diamond_search_sad_avx()
/external/libaom/libaom/av1/common/
Dav1_rtcd_defs.pl259 …_sad/, "struct macroblock *x, const struct search_site_config *cfg, MV *ref_mv, MV *best_mv, int …
261 …, "const struct macroblock *x, const struct search_site_config *cfg, MV *ref_mv, MV *best_mv, int …
/external/libvpx/libvpx/vp9/common/
Dvp9_rtcd_defs.pl183 … struct macroblock *x, const struct search_site_config *cfg, struct mv *ref_mv, struct mv *best_m…

12