Searched refs:REF_SCALE_SHIFT (Results 1 – 4 of 4) sorted by relevance
22 (sf->x_scale_fp - (1 << REF_SCALE_SHIFT)) * (1 << (SUBPEL_BITS - 1)); in scaled_x()25 REF_SCALE_SHIFT - SCALE_EXTRA_BITS); in scaled_x()31 (sf->y_scale_fp - (1 << REF_SCALE_SHIFT)) * (1 << (SUBPEL_BITS - 1)); in scaled_y()34 REF_SCALE_SHIFT - SCALE_EXTRA_BITS); in scaled_y()48 return ((other_size << REF_SCALE_SHIFT) + this_size / 2) / this_size; in get_fixed_point_scale_factor()53 return ROUND_POWER_OF_TWO(scale_fp, REF_SCALE_SHIFT - SCALE_SUBPEL_BITS); in fixed_point_scale_to_coarse_point_scale()
24 #define REF_SCALE_SHIFT 14 macro25 #define REF_NO_SCALE (1 << REF_SCALE_SHIFT)
21 #define REF_SCALE_SHIFT 14 macro22 #define REF_NO_SCALE (1 << REF_SCALE_SHIFT)
17 return (int)((int64_t)val * sf->x_scale_fp >> REF_SCALE_SHIFT); in scaled_x()21 return (int)((int64_t)val * sf->y_scale_fp >> REF_SCALE_SHIFT); in scaled_y()34 return (other_size << REF_SCALE_SHIFT) / this_size; in get_fixed_point_scale_factor()