Home
last modified time | relevance | path

Searched refs:as_mv (Results 1 – 25 of 82) sorted by relevance

1234

/external/libvpx/vp8/encoder/
Dmcomp.c33 clamp((mv->as_mv.row - ref->as_mv.row) >> 1, 0, MVvals); in vp8_mv_bit_cost()
35 clamp((mv->as_mv.col - ref->as_mv.col) >> 1, 0, MVvals); in vp8_mv_bit_cost()
44 clamp((mv->as_mv.row - ref->as_mv.row) >> 1, 0, MVvals); in mv_err_cost()
46 clamp((mv->as_mv.col - ref->as_mv.col) >> 1, 0, MVvals); in mv_err_cost()
59 return ((mvsadcost[0][(mv->as_mv.row - ref->as_mv.row)] + in mvsad_err_cost()
60 mvsadcost[1][(mv->as_mv.col - ref->as_mv.col)]) * in mvsad_err_cost()
232 int rr = ref_mv->as_mv.row >> 1, rc = ref_mv->as_mv.col >> 1; in vp8_find_best_sub_pixel_step_iteratively()
233 int br = bestmv->as_mv.row * 4, bc = bestmv->as_mv.col * 4; in vp8_find_best_sub_pixel_step_iteratively()
244 (ref_mv->as_mv.col >> 1) - ((1 << mvlong_width) - 1)); in vp8_find_best_sub_pixel_step_iteratively()
246 (ref_mv->as_mv.col >> 1) + ((1 << mvlong_width) - 1)); in vp8_find_best_sub_pixel_step_iteratively()
[all …]
Dpickinter.c138 bestmv->as_mv.row *= 8; in vp8_skip_fractional_mv_step()
139 bestmv->as_mv.col *= 8; in vp8_skip_fractional_mv_step()
152 int xoffset = this_mv.as_mv.col & 7; in vp8_get_inter_mbpred_error()
153 int yoffset = this_mv.as_mv.row & 7; in vp8_get_inter_mbpred_error()
155 in_what += (this_mv.as_mv.row >> 3) * pre_stride + (this_mv.as_mv.col >> 3); in vp8_get_inter_mbpred_error()
383 x->MVcount[0][mv_max + ((xd->mode_info_context->mbmi.mv.as_mv.row - in update_mvcount()
384 best_ref_mv->as_mv.row) >> in update_mvcount()
386 x->MVcount[1][mv_max + ((xd->mode_info_context->mbmi.mv.as_mv.col - in update_mvcount()
387 best_ref_mv->as_mv.col) >> in update_mvcount()
431 (*parent_ref_mv).as_mv.row = store_mode_info[parent_mb_index].mv.as_mv.row * in get_lower_res_motion_info()
[all …]
Dmr_dissim.c33 mvx[cnt] = x->mbmi.mv.as_mv.row; \
34 mvy[cnt] = x->mbmi.mv.as_mv.col; \
40 mvx[cnt] = x->mbmi.mv.as_mv.row; \
41 mvy[cnt] = x->mbmi.mv.as_mv.col; \
175 mmvx = VPXMAX(abs(min_mvx - here->mbmi.mv.as_mv.row), in vp8_cal_dissimilarity()
176 abs(max_mvx - here->mbmi.mv.as_mv.row)); in vp8_cal_dissimilarity()
177 mmvy = VPXMAX(abs(min_mvy - here->mbmi.mv.as_mv.col), in vp8_cal_dissimilarity()
178 abs(max_mvy - here->mbmi.mv.as_mv.col)); in vp8_cal_dissimilarity()
Drdopt.c379 int mv_row = x->e_mbd.mode_info_context->mbmi.mv.as_mv.row; in VP8_UVSSE()
380 int mv_col = x->e_mbd.mode_info_context->mbmi.mv.as_mv.col; in VP8_UVSSE()
1057 mvp_full.as_mv.row = bsi->mvp.as_mv.row >> 3; in rd_check_segment()
1058 mvp_full.as_mv.col = bsi->mvp.as_mv.col >> 3; in rd_check_segment()
1128 if (((mode_mv[this_mode].as_mv.row >> 3) < x->mv_row_min) || in rd_check_segment()
1129 ((mode_mv[this_mode].as_mv.row >> 3) > x->mv_row_max) || in rd_check_segment()
1130 ((mode_mv[this_mode].as_mv.col >> 3) < x->mv_col_min) || in rd_check_segment()
1131 ((mode_mv[this_mode].as_mv.col >> 3) > x->mv_col_max)) { in rd_check_segment()
1178 bsi->mvs[i].as_mv = x->partition_info->bmi[i].mv.as_mv; in rd_check_segment()
1233 int col_min = ((best_ref_mv->as_mv.col + 7) >> 3) - MAX_FULL_PEL_VAL; in vp8_rd_pick_best_mbsegmentation()
[all …]
Dtemporal_filter.c138 best_ref_mv1_full.as_mv.col = best_ref_mv1.as_mv.col >> 3; in vp8_temporal_filter_find_matching_mb_c()
139 best_ref_mv1_full.as_mv.row = best_ref_mv1.as_mv.row >> 3; in vp8_temporal_filter_find_matching_mb_c()
242 mbd->block[0].bmi.mv.as_mv.row = 0; in vp8_temporal_filter_iterate_c()
243 mbd->block[0].bmi.mv.as_mv.col = 0; in vp8_temporal_filter_iterate_c()
270 cpi->frames[frame]->y_stride, mbd->block[0].bmi.mv.as_mv.row, in vp8_temporal_filter_iterate_c()
271 mbd->block[0].bmi.mv.as_mv.col, predictor); in vp8_temporal_filter_iterate_c()
Dfirstpass.c429 ref_mv_full.as_mv.col = ref_mv->as_mv.col >> 3; in first_pass_motion_search()
430 ref_mv_full.as_mv.row = ref_mv->as_mv.row >> 3; in first_pass_motion_search()
438 best_mv->row = tmp_mv.as_mv.row; in first_pass_motion_search()
439 best_mv->col = tmp_mv.as_mv.col; in first_pass_motion_search()
461 best_mv->row = tmp_mv.as_mv.row; in first_pass_motion_search()
462 best_mv->col = tmp_mv.as_mv.col; in first_pass_motion_search()
604 d->bmi.mv.as_mv.row = 0; in vp8_first_pass()
605 d->bmi.mv.as_mv.col = 0; in vp8_first_pass()
614 first_pass_motion_search(cpi, x, &best_ref_mv, &d->bmi.mv.as_mv, in vp8_first_pass()
627 d->bmi.mv.as_mv.row = tmp_mv.row; in vp8_first_pass()
[all …]
/external/libvpx/vp8/common/
Dreconinter.c64 ptr = base_pre + d->offset + (d->bmi.mv.as_mv.row >> 3) * pre_stride + in vp8_build_inter_predictors_b()
65 (d->bmi.mv.as_mv.col >> 3); in vp8_build_inter_predictors_b()
67 if (d->bmi.mv.as_mv.row & 7 || d->bmi.mv.as_mv.col & 7) { in vp8_build_inter_predictors_b()
68 sppf(ptr, pre_stride, d->bmi.mv.as_mv.col & 7, d->bmi.mv.as_mv.row & 7, in vp8_build_inter_predictors_b()
86 ptr = base_pre + d->offset + (d->bmi.mv.as_mv.row >> 3) * pre_stride + in build_inter_predictors4b()
87 (d->bmi.mv.as_mv.col >> 3); in build_inter_predictors4b()
89 if (d->bmi.mv.as_mv.row & 7 || d->bmi.mv.as_mv.col & 7) { in build_inter_predictors4b()
90 x->subpixel_predict8x8(ptr, pre_stride, d->bmi.mv.as_mv.col & 7, in build_inter_predictors4b()
91 d->bmi.mv.as_mv.row & 7, dst, dst_stride); in build_inter_predictors4b()
101 ptr = base_pre + d->offset + (d->bmi.mv.as_mv.row >> 3) * pre_stride + in build_inter_predictors2b()
[all …]
Dfindnearmv.h27 mvp->as_mv.row *= -1; in mv_bias()
28 mvp->as_mv.col *= -1; in mv_bias()
35 if (mv->as_mv.col < (xd->mb_to_left_edge - LEFT_TOP_MARGIN)) { in vp8_clamp_mv2()
36 mv->as_mv.col = xd->mb_to_left_edge - LEFT_TOP_MARGIN; in vp8_clamp_mv2()
37 } else if (mv->as_mv.col > xd->mb_to_right_edge + RIGHT_BOTTOM_MARGIN) { in vp8_clamp_mv2()
38 mv->as_mv.col = xd->mb_to_right_edge + RIGHT_BOTTOM_MARGIN; in vp8_clamp_mv2()
41 if (mv->as_mv.row < (xd->mb_to_top_edge - LEFT_TOP_MARGIN)) { in vp8_clamp_mv2()
42 mv->as_mv.row = xd->mb_to_top_edge - LEFT_TOP_MARGIN; in vp8_clamp_mv2()
43 } else if (mv->as_mv.row > xd->mb_to_bottom_edge + RIGHT_BOTTOM_MARGIN) { in vp8_clamp_mv2()
44 mv->as_mv.row = xd->mb_to_bottom_edge + RIGHT_BOTTOM_MARGIN; in vp8_clamp_mv2()
[all …]
Ddebugmodes.c101 fprintf(mvs, "%5d:%-5d", mi[mb_index].mbmi.mv.as_mv.row / 2, in vp8_print_modes_and_motion_vectors()
102 mi[mb_index].mbmi.mv.as_mv.col / 2); in vp8_print_modes_and_motion_vectors()
125 fprintf(mvs, "%3d:%-3d ", mi[mb_index].bmi[bindex].mv.as_mv.row, in vp8_print_modes_and_motion_vectors()
126 mi[mb_index].bmi[bindex].mv.as_mv.col); in vp8_print_modes_and_motion_vectors()
Dfindnearmv.c125 inv->as_mv.row = src->as_mv.row * -1; in invert_and_clamp_mvs()
126 inv->as_mv.col = src->as_mv.col * -1; in invert_and_clamp_mvs()
/external/libavc/encoder/svc/
Disvce_ilp_mv.c352 ps_ilp_mv_outputs->s_ilp_me_cands.as_mv[i4_num_ilp_mvs][L0] = s_default_mv; in isvce_get_ilp_mvs_for_me()
353 ps_ilp_mv_outputs->s_ilp_me_cands.as_mv[i4_num_ilp_mvs][L1] = s_default_mv; in isvce_get_ilp_mvs_for_me()
370 ps_ilp_mv_outputs->s_ilp_me_cands.as_mv[i4_num_ilp_mvs][L1] = in isvce_get_ilp_mvs_for_me()
373 ps_ilp_mv_outputs->s_ilp_me_cands.as_mv[i4_num_ilp_mvs][L1].s_mv.i2_mvx = in isvce_get_ilp_mvs_for_me()
374 (ps_ilp_mv_outputs->s_ilp_me_cands.as_mv[i4_num_ilp_mvs][L1].s_mv.i2_mvx * in isvce_get_ilp_mvs_for_me()
378 ps_ilp_mv_outputs->s_ilp_me_cands.as_mv[i4_num_ilp_mvs][L1].s_mv.i2_mvy = in isvce_get_ilp_mvs_for_me()
379 (ps_ilp_mv_outputs->s_ilp_me_cands.as_mv[i4_num_ilp_mvs][L1].s_mv.i2_mvy * in isvce_get_ilp_mvs_for_me()
387 ps_ilp_mv_outputs->s_ilp_me_cands.as_mv[i4_num_ilp_mvs][L0] = in isvce_get_ilp_mvs_for_me()
390 ps_ilp_mv_outputs->s_ilp_me_cands.as_mv[i4_num_ilp_mvs][L0].s_mv.i2_mvx = in isvce_get_ilp_mvs_for_me()
391 (ps_ilp_mv_outputs->s_ilp_me_cands.as_mv[i4_num_ilp_mvs][L0].s_mv.i2_mvx * in isvce_get_ilp_mvs_for_me()
[all …]
Disvce_ilp_mv_utils.h90 u4_mv_diff_x = ABS(ps_ilp_me_cands->as_mv[i][i4_reflist].s_mv.i2_mvx - in isvce_check_max_mv_diff_lt_4()
91 ps_ilp_me_cands->as_mv[j][i4_reflist].s_mv.i2_mvx); in isvce_check_max_mv_diff_lt_4()
93 u4_mv_diff_y = ABS(ps_ilp_me_cands->as_mv[i][i4_reflist].s_mv.i2_mvy - in isvce_check_max_mv_diff_lt_4()
94 ps_ilp_me_cands->as_mv[j][i4_reflist].s_mv.i2_mvy); in isvce_check_max_mv_diff_lt_4()
/external/libvpx/vp9/common/
Dvp9_reconinter.c66 MV res = { round_mv_comp_q4(mi->bmi[0].as_mv[idx].as_mv.row + in mi_mv_pred_q4()
67 mi->bmi[1].as_mv[idx].as_mv.row + in mi_mv_pred_q4()
68 mi->bmi[2].as_mv[idx].as_mv.row + in mi_mv_pred_q4()
69 mi->bmi[3].as_mv[idx].as_mv.row), in mi_mv_pred_q4()
70 round_mv_comp_q4(mi->bmi[0].as_mv[idx].as_mv.col + in mi_mv_pred_q4()
71 mi->bmi[1].as_mv[idx].as_mv.col + in mi_mv_pred_q4()
72 mi->bmi[2].as_mv[idx].as_mv.col + in mi_mv_pred_q4()
73 mi->bmi[3].as_mv[idx].as_mv.col) }; in mi_mv_pred_q4()
82 MV res = { round_mv_comp_q2(mi->bmi[block0].as_mv[idx].as_mv.row + in mi_mv_pred_q2()
83 mi->bmi[block1].as_mv[idx].as_mv.row), in mi_mv_pred_q2()
[all …]
Dvp9_mvref_common.c105 mv.as_mv.row *= -1; in find_mv_refs_idx()
106 mv.as_mv.col *= -1; in find_mv_refs_idx()
117 mv.as_mv.row *= -1; in find_mv_refs_idx()
118 mv.as_mv.col *= -1; in find_mv_refs_idx()
130 clamp_mv_ref(&mv_ref_list[i].as_mv, xd); in find_mv_refs_idx()
146 lower_mv_precision(&mvlist[i].as_mv, allow_hp); in vp9_find_best_ref_mvs()
147 clamp_mv2(&mvlist[i].as_mv, xd); in vp9_find_best_ref_mvs()
175 nearest_mv->as_int = bmi[0].as_mv[ref].as_int; in vp9_append_sub8x8_mvs_for_idx()
184 candidates[0] = bmi[1].as_mv[ref]; in vp9_append_sub8x8_mvs_for_idx()
185 candidates[1] = bmi[0].as_mv[ref]; in vp9_append_sub8x8_mvs_for_idx()
[all …]
/external/libaom/av1/encoder/
Dmotion_search_facade.c89 const FULLPEL_MV fmv = { GET_MV_RAWPEL(mv.as_mv.row), in get_mv_candidate_from_tpl()
90 GET_MV_RAWPEL(mv.as_mv.col) }; in get_mv_candidate_from_tpl()
165 const MV ref_mv = av1_get_ref_mv(x, ref_idx).as_mv; in av1_single_motion_search()
168 start_mv = get_fullmv_from_mv(&mbmi->mv[0].as_mv); in av1_single_motion_search()
298 this_mv.as_mv = get_mv_from_fullmv(&best_mv->as_fullmv); in av1_single_motion_search()
301 av1_mv_bit_cost(&this_mv.as_mv, &ref_mv, mv_costs->nmv_joint_cost, in av1_single_motion_search()
367 xd, cm, &ms_params, subpel_start_mv, &best_mv->as_mv, &dis, in av1_single_motion_search()
379 mbmi->mv[0].as_mv = best_mv->as_mv; in av1_single_motion_search()
388 &best_mv->as_mv, &ref_mv, mv_costs->nmv_joint_cost, in av1_single_motion_search()
406 mbmi->mv[0].as_mv = this_best_mv; in av1_single_motion_search()
[all …]
/external/libvpx/vp9/encoder/arm/neon/
Dvp9_diamond_search_sad_neon.c28 result.as_mv.row = row; in pack_int_mv()
29 result.as_mv.col = col; in pack_int_mv()
42 assert(mv.as_mv.row >= -MV_MAX && mv.as_mv.row < MV_MAX); in mv_cost()
43 assert(mv.as_mv.col >= -MV_MAX && mv.as_mv.col < MV_MAX); in mv_cost()
44 return joint_cost[get_mv_joint(mv)] + comp_cost[0][mv.as_mv.row] + in mv_cost()
45 comp_cost[1][mv.as_mv.col]; in mv_cost()
51 pack_int_mv(mv.as_mv.row - ref->row, mv.as_mv.col - ref->col); in mvsad_err_cost()
104 const int ref_row = clamp(ref_mv->row, minmv.as_mv.row, maxmv.as_mv.row); in vp9_diamond_search_sad_neon()
105 const int ref_col = clamp(ref_mv->col, minmv.as_mv.col, maxmv.as_mv.col); in vp9_diamond_search_sad_neon()
136 best_sad += mvsad_err_cost(x, bmv, &fcenter_mv.as_mv, sad_per_bit); in vp9_diamond_search_sad_neon()
[all …]
/external/libaom/av1/common/
Dmv.h54 MV as_mv; member
92 mv->as_mv = get_mv_from_fullmv(&mv->as_fullmv); in convert_fullmv_to_mv()
284 res.as_mv.row = gm->wmmat[0] >> GM_TRANS_ONLY_PREC_DIFF; in gm_get_motion_vector()
285 res.as_mv.col = gm->wmmat[1] >> GM_TRANS_ONLY_PREC_DIFF; in gm_get_motion_vector()
286 assert(IMPLIES(1 & (res.as_mv.row | res.as_mv.col), allow_hp)); in gm_get_motion_vector()
288 integer_mv_precision(&res.as_mv); in gm_get_motion_vector()
308 res.as_mv.row = ty; in gm_get_motion_vector()
309 res.as_mv.col = tx; in gm_get_motion_vector()
312 integer_mv_precision(&res.as_mv); in gm_get_motion_vector()
Dmvref_common.c61 if ((abs(mi->mv[idx].as_mv.row) > REFMVS_LIMIT) || in av1_copy_frame_mvs()
62 (abs(mi->mv[idx].as_mv.col) > REFMVS_LIMIT)) in av1_copy_frame_mvs()
357 get_mv_projection(&this_refmv.as_mv, prev_frame_mvs->mfmv0.as_mv, in add_tpl_ref_mv()
359 lower_mv_precision(&this_refmv.as_mv, allow_high_precision_mv, in add_tpl_ref_mv()
364 if (abs(this_refmv.as_mv.row - gm_mv_candidates[0].as_mv.row) >= 16 || in add_tpl_ref_mv()
365 abs(this_refmv.as_mv.col - gm_mv_candidates[0].as_mv.col) >= 16) in add_tpl_ref_mv()
386 get_mv_projection(&comp_refmv.as_mv, prev_frame_mvs->mfmv0.as_mv, in add_tpl_ref_mv()
388 lower_mv_precision(&comp_refmv.as_mv, allow_high_precision_mv, in add_tpl_ref_mv()
392 if (abs(this_refmv.as_mv.row - gm_mv_candidates[0].as_mv.row) >= 16 || in add_tpl_ref_mv()
393 abs(this_refmv.as_mv.col - gm_mv_candidates[0].as_mv.col) >= 16 || in add_tpl_ref_mv()
[all …]
/external/libvpx/vp9/encoder/x86/
Dvp9_diamond_search_sad_avx.c31 result.as_mv.row = row; in pack_int_mv()
32 result.as_mv.col = col; in pack_int_mv()
45 return joint_cost[get_mv_joint(mv)] + comp_cost[0][mv.as_mv.row] + in mv_cost()
46 comp_cost[1][mv.as_mv.col]; in mv_cost()
52 pack_int_mv(mv.as_mv.row - ref->row, mv.as_mv.col - ref->col); in mvsad_err_cost()
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()
134 best_sad += mvsad_err_cost(x, bmv, &fcenter_mv.as_mv, sad_per_bit); in vp9_diamond_search_sad_avx()
315 *best_mv = bmv.as_mv; in vp9_diamond_search_sad_avx()
/external/libvpx/vp8/decoder/
Derror_concealment.c164 new_row = row - bmi->mv.as_mv.row; in calculate_overlaps()
165 new_col = col - bmi->mv.as_mv.col; in calculate_overlaps()
223 col_acc += overlaps[i].overlap * overlaps[i].bmi->mv.as_mv.col; in estimate_mv()
224 row_acc += overlaps[i].overlap * overlaps[i].bmi->mv.as_mv.row; in estimate_mv()
229 bmi->mv.as_mv.col = col_acc / overlap_sum; in estimate_mv()
230 bmi->mv.as_mv.row = row_acc / overlap_sum; in estimate_mv()
232 bmi->mv.as_mv.col = 0; in estimate_mv()
233 bmi->mv.as_mv.row = 0; in estimate_mv()
245 MV *const filtered_mv = &(mi->mbmi.mv.as_mv); in estimate_mb_mvs()
265 filtered_mv->col += bmi[i].mv.as_mv.col; in estimate_mb_mvs()
[all …]
Ddecodemv.c247 blockmv.as_mv.row = read_mvcomponent(bc, &mvc[0]) * 2; in decode_split_mv()
248 blockmv.as_mv.row += best_mv.as_mv.row; in decode_split_mv()
249 blockmv.as_mv.col = read_mvcomponent(bc, &mvc[1]) * 2; in decode_split_mv()
250 blockmv.as_mv.col += best_mv.as_mv.col; in decode_split_mv()
417 read_mv(bc, &mbmi_mv->as_mv, (const MV_CONTEXT *)mvc); in read_mb_modes_mv()
418 mbmi_mv->as_mv.row += near_mvs[near_index].as_mv.row; in read_mb_modes_mv()
419 mbmi_mv->as_mv.col += near_mvs[near_index].as_mv.col; in read_mb_modes_mv()
/external/libaom/av1/decoder/
Ddecodemv.c680 read_mv(r, &mv->as_mv, &ref_mv->as_mv, &ec_ctx->ndvc, MV_SUBPEL_NONE); in assign_dv()
682 assert((mv->as_mv.col & 7) == 0); in assign_dv()
683 assert((mv->as_mv.row & 7) == 0); in assign_dv()
684 mv->as_mv.col = (mv->as_mv.col >> 3) * 8; in assign_dv()
685 mv->as_mv.row = (mv->as_mv.row >> 3) * 8; in assign_dv()
686 int valid = is_mv_valid(&mv->as_mv) && in assign_dv()
687 av1_is_dv_valid(mv->as_mv, cm, xd, mi_row, mi_col, bsize, in assign_dv()
719 int valid_dv = (dv_ref.as_mv.col & 7) == 0 && (dv_ref.as_mv.row & 7) == 0; in read_intrabc_info()
720 dv_ref.as_mv.col = (dv_ref.as_mv.col >> 3) * 8; in read_intrabc_info()
721 dv_ref.as_mv.row = (dv_ref.as_mv.row >> 3) * 8; in read_intrabc_info()
[all …]
/external/libvpx/vp9/encoder/
Dvp9_pickmode.c135 base_mv->as_mv.row = (candidate->mv[0].as_mv.row * 2); in mv_refs_rt()
136 base_mv->as_mv.col = (candidate->mv[0].as_mv.col * 2); in mv_refs_rt()
137 clamp_mv_ref(&base_mv->as_mv, xd); in mv_refs_rt()
149 clamp_mv_ref(&mv_ref_list[i].as_mv, xd); in mv_refs_rt()
165 const MV ref_mv = x->mbmi_ext->ref_mvs[ref][0].as_mv; in combined_motion_search()
195 mvp_full = x->mbmi_ext->ref_mvs[ref][x->mv_best_ref_index[ref]].as_mv; in combined_motion_search()
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()
[all …]
/external/libvpx/vp9/decoder/
Dvp9_decodemv.c414 read_mv(r, &mv[i].as_mv, &ref_mv[i].as_mv, &cm->fc->nmvc, mv_counts, in assign_mv()
416 ret = ret && is_mv_valid(&mv[i].as_mv); in assign_mv()
577 mv.as_mv.row *= -1; in dec_find_mv_refs()
578 mv.as_mv.col *= -1; in dec_find_mv_refs()
589 mv.as_mv.row *= -1; in dec_find_mv_refs()
590 mv.as_mv.col *= -1; in dec_find_mv_refs()
604 for (i = 0; i < refmv_count; ++i) clamp_mv_ref(&mv_ref_list[i].as_mv, xd); in dec_find_mv_refs()
632 best_sub8x8->as_int = bmi[0].as_mv[ref].as_int; in append_sub8x8_mvs_for_idx()
638 if (bmi[0].as_mv[ref].as_int != mv_list[n].as_int) { in append_sub8x8_mvs_for_idx()
646 best_sub8x8->as_int = bmi[2].as_mv[ref].as_int; in append_sub8x8_mvs_for_idx()
[all …]
/external/libaom/test/
Dtpl_model_test.cc277 mv.as_mv.row = mv_vals_small[index]; in TEST()
278 mv.as_mv.col = mv_vals_small[index]; in TEST()
292 EXPECT_EQ(result_mv.as_mv.row, 1); in TEST()
293 EXPECT_EQ(result_mv.as_mv.col, 1); in TEST()
322 mv.as_mv.row = mv_vals_ordered[index]; in TEST()
323 mv.as_mv.col = mv_vals_ordered[index]; in TEST()
343 mv.as_mv.row = mv_vals[index]; in TEST()
344 mv.as_mv.col = mv_vals[index]; in TEST()

1234