Home
last modified time | relevance | path

Searched refs:tmp_mv (Results 1 – 11 of 11) sorted by relevance

/external/libaom/libaom/av1/encoder/
Dfirstpass.c219 MV tmp_mv = kZeroMv; in first_pass_motion_search() local
240 &tmp_mv, step_param, x->sadperbit16, &num00, 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()
248 *best_mv = tmp_mv; in first_pass_motion_search()
262 x, &cpi->ss_cfg[SS_CFG_SRC], &ref_mv_full, &tmp_mv, step_param + n, 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()
271 *best_mv = tmp_mv; in first_pass_motion_search()
544 MV mv = kZeroMv, tmp_mv = kZeroMv; in av1_first_pass() local
581 first_pass_motion_search(cpi, x, &kZeroMv, &tmp_mv, &tmp_err); in av1_first_pass()
585 mv = tmp_mv; in av1_first_pass()
[all …]
Dmcomp.c2190 MV *tmp_mv = &xd->mi[0]->mv[0].as_mv; in av1_int_pro_motion_estimation() local
2210 tmp_mv->row = 0; in av1_int_pro_motion_estimation()
2211 tmp_mv->col = 0; in av1_int_pro_motion_estimation()
2248 tmp_mv->col = vector_match(hbuf, src_hbuf, mi_size_wide_log2[bsize]); in av1_int_pro_motion_estimation()
2249 tmp_mv->row = vector_match(vbuf, src_vbuf, mi_size_high_log2[bsize]); in av1_int_pro_motion_estimation()
2251 this_mv = *tmp_mv; in av1_int_pro_motion_estimation()
2270 tmp_mv->row = search_pos[idx].row + this_mv.row; in av1_int_pro_motion_estimation()
2271 tmp_mv->col = search_pos[idx].col + this_mv.col; in av1_int_pro_motion_estimation()
2289 *tmp_mv = this_mv; in av1_int_pro_motion_estimation()
2293 tmp_mv->row *= 8; in av1_int_pro_motion_estimation()
[all …]
Drdopt.c7450 int mi_row, int mi_col, int_mv *tmp_mv, int *rate_mv, int which) { in do_masked_motion_search_indexed() argument
7460 tmp_mv[0].as_int = cur_mv[0].as_int; in do_masked_motion_search_indexed()
7461 tmp_mv[1].as_int = cur_mv[1].as_int; in do_masked_motion_search_indexed()
7463 compound_single_motion_search_interinter(cpi, x, bsize, tmp_mv, mi_row, in do_masked_motion_search_indexed()
7467 joint_motion_search(cpi, x, bsize, tmp_mv, mi_row, mi_col, NULL, mask, in do_masked_motion_search_indexed()
7841 int_mv tmp_mv[2]; in interinter_compound_motion_search() local
7848 mi_row, mi_col, tmp_mv, &tmp_rate_mv, 2); in interinter_compound_motion_search()
7849 mbmi->mv[0].as_int = tmp_mv[0].as_int; in interinter_compound_motion_search()
7850 mbmi->mv[1].as_int = tmp_mv[1].as_int; in interinter_compound_motion_search()
7853 mi_row, mi_col, tmp_mv, &tmp_rate_mv, 0); in interinter_compound_motion_search()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_mbgraph.c82 MV tmp_mv; in do_16x16_motion_search() local
92 tmp_err = do_16x16_motion_iteration(cpi, ref_mv, &tmp_mv, mb_row, mb_col); in do_16x16_motion_search()
95 dst_mv->as_mv = tmp_mv; in do_16x16_motion_search()
102 MV zero_ref_mv = { 0, 0 }, tmp_mv; in do_16x16_motion_search() local
105 do_16x16_motion_iteration(cpi, &zero_ref_mv, &tmp_mv, mb_row, mb_col); in do_16x16_motion_search()
107 dst_mv->as_mv = tmp_mv; in do_16x16_motion_search()
Dvp9_mcomp.c2145 MV *tmp_mv = &xd->mi[0]->mv[0].as_mv; in vp9_int_pro_motion_estimation() local
2167 tmp_mv->row = 0; in vp9_int_pro_motion_estimation()
2168 tmp_mv->col = 0; in vp9_int_pro_motion_estimation()
2206 tmp_mv->col = vector_match(hbuf, src_hbuf, b_width_log2_lookup[bsize]); in vp9_int_pro_motion_estimation()
2207 tmp_mv->row = vector_match(vbuf, src_vbuf, b_height_log2_lookup[bsize]); in vp9_int_pro_motion_estimation()
2209 this_mv = *tmp_mv; in vp9_int_pro_motion_estimation()
2228 tmp_mv->row = search_pos[idx].row + this_mv.row; in vp9_int_pro_motion_estimation()
2229 tmp_mv->col = search_pos[idx].col + this_mv.col; in vp9_int_pro_motion_estimation()
2247 *tmp_mv = this_mv; in vp9_int_pro_motion_estimation()
2251 tmp_mv->row *= 8; in vp9_int_pro_motion_estimation()
[all …]
Dvp9_pickmode.c156 int_mv *tmp_mv, int *rate_mv, in combined_motion_search() argument
205 center_mv = tmp_mv->as_mv; in combined_motion_search()
208 tmp_mv->as_mv.row = x->sb_mvrow_part >> 3; in combined_motion_search()
209 tmp_mv->as_mv.col = x->sb_mvcol_part >> 3; in combined_motion_search()
213 cond_cost_list(cpi, cost_list), &center_mv, &tmp_mv->as_mv, INT_MAX, 0); in combined_motion_search()
219 mvp_full.row = tmp_mv->as_mv.row * 8; in combined_motion_search()
220 mvp_full.col = tmp_mv->as_mv.col * 8; in combined_motion_search()
240 if (abs(tmp_mv->as_mv.row) >= mv_thresh || in combined_motion_search()
241 abs(tmp_mv->as_mv.col) >= mv_thresh) in combined_motion_search()
247 x, &tmp_mv->as_mv, &ref_mv, cpi->common.allow_high_precision_mv, in combined_motion_search()
[all …]
Dvp9_rdopt.c1763 MV tmp_mv; in joint_motion_search() local
1802 tmp_mv = frame_mv[refs[id]].as_mv; in joint_motion_search()
1804 tmp_mv.col >>= 3; in joint_motion_search()
1805 tmp_mv.row >>= 3; in joint_motion_search()
1808 bestsme = vp9_refining_search_8p_c(x, &tmp_mv, sadpb, search_range, 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()
1831 frame_mv[refs[id]].as_mv = tmp_mv; in joint_motion_search()
2374 int mi_row, int mi_col, int_mv *tmp_mv, in single_motion_search() argument
2455 tmp_mv->as_int = INVALID_MV; in single_motion_search()
[all …]
Dvp9_firstpass.c395 MV tmp_mv = { 0, 0 }; in first_pass_motion_search() local
417 tmp_err = cpi->diamond_search_sad(x, &cpi->ss_cfg, &ref_mv_full, &tmp_mv, in first_pass_motion_search()
421 tmp_err = vp9_get_mvpred_var(x, &tmp_mv, ref_mv, &v_fn_ptr, 1); in first_pass_motion_search()
426 *best_mv = tmp_mv; in first_pass_motion_search()
439 tmp_err = cpi->diamond_search_sad(x, &cpi->ss_cfg, &ref_mv_full, &tmp_mv, in first_pass_motion_search()
443 tmp_err = vp9_get_mvpred_var(x, &tmp_mv, ref_mv, &v_fn_ptr, 1); in first_pass_motion_search()
449 *best_mv = tmp_mv; in first_pass_motion_search()
1041 MV mv = { 0, 0 }, tmp_mv = { 0, 0 }; in vp9_first_pass_encode_tile_mb_row() local
1100 first_pass_motion_search(cpi, x, &zero_mv, &tmp_mv, &tmp_err); in vp9_first_pass_encode_tile_mb_row()
1104 mv = tmp_mv; in vp9_first_pass_encode_tile_mb_row()
[all …]
Dvp9_mcomp.h116 MV *tmp_mv, int var_max, int rd);
/external/libvpx/libvpx/vp8/encoder/
Dfirstpass.c415 int_mv tmp_mv; in first_pass_motion_search() local
432 tmp_mv.as_int = 0; in first_pass_motion_search()
435 tmp_err = cpi->diamond_search_sad(x, b, d, &ref_mv_full, &tmp_mv, step_param, in first_pass_motion_search()
442 best_mv->row = tmp_mv.as_mv.row; in first_pass_motion_search()
443 best_mv->col = tmp_mv.as_mv.col; in first_pass_motion_search()
456 tmp_err = cpi->diamond_search_sad(x, b, d, &ref_mv_full, &tmp_mv, in first_pass_motion_search()
465 best_mv->row = tmp_mv.as_mv.row; in first_pass_motion_search()
466 best_mv->col = tmp_mv.as_mv.col; in first_pass_motion_search()
600 MV tmp_mv = { 0, 0 }; in vp8_first_pass() local
627 first_pass_motion_search(cpi, x, &zero_ref_mv, &tmp_mv, lst_yv12, in vp8_first_pass()
[all …]
/external/libaom/libaom/av1/common/
Dmvref_common.c666 CANDIDATE_MV tmp_mv = ref_mv_stack[ref_frame][idx - 1]; in setup_ref_mv_list() local
668 ref_mv_stack[ref_frame][idx] = tmp_mv; in setup_ref_mv_list()
681 CANDIDATE_MV tmp_mv = ref_mv_stack[ref_frame][idx - 1]; in setup_ref_mv_list() local
683 ref_mv_stack[ref_frame][idx] = tmp_mv; in setup_ref_mv_list()