Lines Matching refs:mv
27 #define MARK_MV_INVALID(mv) \ argument
29 ((int_mv *)(mv))->as_int = INVALID_MV; \
40 typedef struct mv { struct
87 static AOM_INLINE void convert_fullmv_to_mv(int_mv *mv) { in convert_fullmv_to_mv() argument
88 mv->as_mv = get_mv_from_fullmv(&mv->as_fullmv); in convert_fullmv_to_mv()
227 static INLINE void integer_mv_precision(MV *mv) { in integer_mv_precision() argument
228 int mod = (mv->row % 8); in integer_mv_precision()
230 mv->row -= mod; in integer_mv_precision()
233 mv->row += 8; in integer_mv_precision()
235 mv->row -= 8; in integer_mv_precision()
240 mod = (mv->col % 8); in integer_mv_precision()
242 mv->col -= mod; in integer_mv_precision()
245 mv->col += 8; in integer_mv_precision()
247 mv->col -= 8; in integer_mv_precision()
332 static INLINE int is_zero_mv(const MV *mv) { in is_zero_mv() argument
333 return *((const uint32_t *)mv) == 0; in is_zero_mv()
340 static INLINE void clamp_mv(MV *mv, const SubpelMvLimits *mv_limits) { in clamp_mv() argument
341 mv->col = clamp(mv->col, mv_limits->col_min, mv_limits->col_max); in clamp_mv()
342 mv->row = clamp(mv->row, mv_limits->row_min, mv_limits->row_max); in clamp_mv()
345 static INLINE void clamp_fullmv(FULLPEL_MV *mv, const FullMvLimits *mv_limits) { in clamp_fullmv() argument
346 mv->col = clamp(mv->col, mv_limits->col_min, mv_limits->col_max); in clamp_fullmv()
347 mv->row = clamp(mv->row, mv_limits->row_min, mv_limits->row_max); in clamp_fullmv()