Home
last modified time | relevance | path

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

12

/external/libvpx/libvpx/vp9/encoder/
Dvp9_mcomp.c53 const MV *ref_mv) { in vp9_set_subpel_mv_search_range() argument
55 ref_mv->col - MAX_FULL_PEL_VAL * 8); in vp9_set_subpel_mv_search_range()
57 ref_mv->col + MAX_FULL_PEL_VAL * 8); in vp9_set_subpel_mv_search_range()
59 ref_mv->row - MAX_FULL_PEL_VAL * 8); in vp9_set_subpel_mv_search_range()
61 ref_mv->row + MAX_FULL_PEL_VAL * 8); in vp9_set_subpel_mv_search_range()
166 const MV ref_mv = { rr, rc }; \
175 tmpmse += mv_err_cost(&mv, &ref_mv, mvjcost, mvcost, error_per_bit); \
193 const MV ref_mv = { rr, rc }; \
200 if ((v = mv_err_cost(&mv, &ref_mv, mvjcost, mvcost, error_per_bit) + \
276 int rr = ref_mv->row; \
[all …]
Dvp9_mcomp.h69 int vp9_refining_search_sad(const struct macroblock *x, struct mv *ref_mv,
78 const MV *ref_mv);
81 const MACROBLOCK *x, MV *bestmv, const MV *ref_mv, int allow_hp,
96 typedef int (*vp9_full_search_fn_t)(const MACROBLOCK *x, const MV *ref_mv,
101 typedef int (*vp9_refining_search_fn_t)(const MACROBLOCK *x, MV *ref_mv,
107 const MACROBLOCK *x, const search_site_config *cfg, MV *ref_mv, MV *best_mv,
111 int vp9_refining_search_8p_c(const MACROBLOCK *x, MV *ref_mv, int error_per_bit,
124 int error_per_bit, int *cost_list, const MV *ref_mv,
129 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.c554 uint8_t *frame_ptr_buf, int stride, MV *ref_mv, MV *blk_mvs, in temporal_filter_find_matching_mb_c() argument
593 &best_ref_mv1, ref_mv, 0, 0); in temporal_filter_find_matching_mb_c()
602 x, ref_mv, &best_ref_mv1, cpi->common.allow_high_precision_mv, in temporal_filter_find_matching_mb_c()
608 best_ref_mv1.row = ref_mv->row; in temporal_filter_find_matching_mb_c()
609 best_ref_mv1.col = ref_mv->col; in temporal_filter_find_matching_mb_c()
704 MV ref_mv; in vp9_temporal_filter_iterate_row_c() local
745 ref_mv.row = 0; in vp9_temporal_filter_iterate_row_c()
746 ref_mv.col = 0; in vp9_temporal_filter_iterate_row_c()
764 &ref_mv, blk_mvs, blk_bestsme); in vp9_temporal_filter_iterate_row_c()
808 mb_uv_width, mb_uv_height, ref_mv.row, ref_mv.col, predictor, scale, in vp9_temporal_filter_iterate_row_c()
Dvp9_rdopt.c1754 int_mv *ref_mv[2]; member
1852 int_mv ref_mv[2]; in joint_motion_search() local
1874 ref_mv[ref] = x->mbmi_ext->ref_mvs[refs[ref]][0]; in joint_motion_search()
1942 vp9_set_mv_search_range(&x->mv_limits, &ref_mv[id].as_mv); in joint_motion_search()
1952 &cpi->fn_ptr[bsize], &ref_mv[id].as_mv, in joint_motion_search()
1955 bestsme = vp9_get_mvpred_av_var(x, &tmp_mv, &ref_mv[id].as_mv, in joint_motion_search()
1964 x, &tmp_mv, &ref_mv[id].as_mv, cpi->common.allow_high_precision_mv, in joint_motion_search()
2033 bsi->ref_mv[0] = best_ref_mv; in rd_pick_best_sub8x8_mode()
2034 bsi->ref_mv[1] = second_best_ref_mv; in rd_pick_best_sub8x8_mode()
2142 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,
/external/libaom/libaom/av1/encoder/
Dmcomp.h64 const MV *ref_mv; member
73 int av1_mv_bit_cost(const MV *mv, const MV *ref_mv, const int *mvjcost,
77 const MV *ref_mv, const aom_variance_fn_ptr_t *vfp);
159 const MV *ref_mv,
211 const MV *ref_mv);
273 const MV *ref_mv, const int *cost_list);
302 const MV *ref_mv) { in av1_set_subpel_mv_search_range() argument
305 AOMMAX(GET_MV_SUBPEL(mv_limits->col_min), ref_mv->col - max_mv); in av1_set_subpel_mv_search_range()
307 AOMMIN(GET_MV_SUBPEL(mv_limits->col_max), ref_mv->col + max_mv); in av1_set_subpel_mv_search_range()
309 AOMMAX(GET_MV_SUBPEL(mv_limits->row_min), ref_mv->row - max_mv); in av1_set_subpel_mv_search_range()
[all …]
Dmotion_search_facade.c120 const MV ref_mv = av1_get_ref_mv(x, ref_idx).as_mv; in av1_single_motion_search() local
125 start_mv = get_fullmv_from_mv(&ref_mv); in av1_single_motion_search()
212 av1_make_default_fullpel_ms_params(&full_ms_params, cpi, x, bsize, &ref_mv, in av1_single_motion_search()
264 av1_mv_bit_cost(&this_mv.as_mv, &ref_mv, x->nmv_vec_cost, in av1_single_motion_search()
303 av1_make_default_subpel_ms_params(&ms_params, cpi, x, bsize, &ref_mv, in av1_single_motion_search()
341 *rate_mv = av1_mv_bit_cost(&best_mv->as_mv, &ref_mv, x->nmv_vec_cost, in av1_single_motion_search()
364 int_mv ref_mv[2]; in av1_joint_motion_search() local
411 ref_mv[ref] = av1_get_ref_mv(x, ref); in av1_joint_motion_search()
456 &ref_mv[id].as_mv, NULL); in av1_joint_motion_search()
500 &ref_mv[id].as_mv, NULL); in av1_joint_motion_search()
[all …]
Dmv_prec.c124 static AOM_INLINE void keep_one_mv_stat(MV_STATS *mv_stats, const MV *ref_mv, in keep_one_mv_stat() argument
133 const MV diff = { cur_mv->row - ref_mv->row, cur_mv->col - ref_mv->col }; in keep_one_mv_stat()
205 const MV ref_mv = in collect_mv_stats_b() local
208 keep_one_mv_stat(mv_stats, &ref_mv, &cur_mv, cpi); in collect_mv_stats_b()
216 const MV ref_mv = in collect_mv_stats_b() local
220 keep_one_mv_stat(mv_stats, &ref_mv, &cur_mv, cpi); in collect_mv_stats_b()
Dmcomp.c36 const MACROBLOCK *x, const MV *ref_mv) { in init_mv_cost_params() argument
37 mv_cost_params->ref_mv = ref_mv; in init_mv_cost_params()
38 mv_cost_params->full_ref_mv = get_fullmv_from_mv(ref_mv); in init_mv_cost_params()
59 const MACROBLOCK *x, BLOCK_SIZE bsize, const MV *ref_mv, in av1_make_default_fullpel_ms_params() argument
81 av1_set_mv_search_range(&ms_params->mv_limits, ref_mv); in av1_make_default_fullpel_ms_params()
84 init_mv_cost_params(&ms_params->mv_cost_params, x, ref_mv); in av1_make_default_fullpel_ms_params()
90 const MV *ref_mv, const int *cost_list) { in av1_make_default_subpel_ms_params() argument
98 av1_set_subpel_mv_search_range(&ms_params->mv_limits, &x->mv_limits, ref_mv); in av1_make_default_subpel_ms_params()
101 init_mv_cost_params(&ms_params->mv_cost_params, x, ref_mv); in av1_make_default_subpel_ms_params()
189 int av1_mv_bit_cost(const MV *mv, const MV *ref_mv, const int *mvjcost, in av1_mv_bit_cost() argument
[all …]
Dtemporal_filter.c64 const int mb_col, MV *ref_mv, MV *subblock_mvs, in tf_motion_search() argument
101 FULLPEL_MV start_mv = get_fullmv_from_mv(ref_mv); in tf_motion_search()
155 *ref_mv = best_mv.as_mv; in tf_motion_search()
161 start_mv = get_fullmv_from_mv(ref_mv); in tf_motion_search()
988 MV ref_mv = kZeroMv; // Reference motion vector passed down along frames. in tf_do_filtering() local
1003 ref_mv.row *= -1; in tf_do_filtering()
1004 ref_mv.col *= -1; in tf_do_filtering()
1007 block_size, mb_row, mb_col, &ref_mv, in tf_do_filtering()
1012 ref_mv = kZeroMv; in tf_do_filtering()
Dnonrd_pickmode.c130 const MV ref_mv = av1_get_ref_mv(x, mi->ref_mv_idx).as_mv; in combined_motion_search() local
149 start_mv = get_fullmv_from_mv(&ref_mv); in combined_motion_search()
152 center_mv = ref_mv; in combined_motion_search()
169 *rate_mv = av1_mv_bit_cost(&mvp_full, &ref_mv, x->nmv_vec_cost, in combined_motion_search()
177 av1_make_default_subpel_ms_params(&ms_params, cpi, x, bsize, &ref_mv, in combined_motion_search()
184 *rate_mv = av1_mv_bit_cost(&tmp_mv->as_mv, &ref_mv, x->nmv_vec_cost, in combined_motion_search()
222 MV ref_mv = av1_get_ref_mv(x, 0).as_mv; in search_new_mv() local
225 av1_mv_bit_cost(&frame_mv[NEWMV][ref_frame].as_mv, &ref_mv, in search_new_mv()
231 av1_make_default_subpel_ms_params(&ms_params, cpi, x, bsize, &ref_mv, in search_new_mv()
Dfirstpass.c215 const MV *ref_mv, in first_pass_motion_search() argument
219 FULLPEL_MV start_mv = get_fullmv_from_mv(ref_mv); in first_pass_motion_search()
230 av1_make_default_fullpel_ms_params(&ms_params, cpi, x, bsize, ref_mv, in first_pass_motion_search()
239 tmp_err = av1_get_mvpred_sse(x, &this_best_mv, ref_mv, &v_fn_ptr) + in first_pass_motion_search()
/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/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/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/libgav1/libgav1/src/
Dmotion_vector.cc131 [&candidate_mv](const MotionVector& ref_mv) { in SearchStack() argument
132 return ref_mv == candidate_mv; in SearchStack()
168 [&candidate_mv](const CompoundMotionVector& ref_mv) { in CompoundSearchStack() argument
169 return ref_mv == candidate_mv; in CompoundSearchStack()
313 [&candidate_mv](const CompoundMotionVector& ref_mv) { in AddTemporalReferenceMvCandidate() argument
314 return ref_mv == candidate_mv; in AddTemporalReferenceMvCandidate()
338 [&candidate_mv](const MotionVector& ref_mv) { in AddTemporalReferenceMvCandidate() argument
339 return ref_mv == candidate_mv; in AddTemporalReferenceMvCandidate()
369 [&candidate_mv](const MotionVector& ref_mv) { in AddTemporalReferenceMvCandidate() argument
370 return ref_mv == candidate_mv; in AddTemporalReferenceMvCandidate()
/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…
/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/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/decoder/
Ddecodemv.c672 const int_mv *ref_mv, int mi_row, int mi_col, in assign_dv() argument
675 read_mv(r, &mv->as_mv, &ref_mv->as_mv, &ec_ctx->ndvc, MV_SUBPEL_NONE); in assign_dv()
1109 int_mv ref_mv[2], int_mv nearest_mv[2], in assign_mv()
1122 read_mv(r, &mv[0].as_mv, &ref_mv[0].as_mv, nmvc, allow_hp); in assign_mv()
1145 read_mv(r, &mv[i].as_mv, &ref_mv[i].as_mv, nmvc, allow_hp); in assign_mv()
1163 read_mv(r, &mv[0].as_mv, &ref_mv[0].as_mv, nmvc, allow_hp); in assign_mv()
1171 read_mv(r, &mv[1].as_mv, &ref_mv[1].as_mv, nmvc, allow_hp); in assign_mv()
1178 read_mv(r, &mv[1].as_mv, &ref_mv[1].as_mv, nmvc, allow_hp); in assign_mv()
1184 read_mv(r, &mv[0].as_mv, &ref_mv[0].as_mv, nmvc, allow_hp); in assign_mv()
1342 int_mv ref_mv[2] = { nearestmv[0], nearestmv[1] }; in read_inter_block_mode_info() local
[all …]
/external/libvpx/libvpx/vp9/common/
Dvp9_rtcd_defs.pl177 … struct macroblock *x, const struct search_site_config *cfg, struct mv *ref_mv, struct mv *best_m…

12