Home
last modified time | relevance | path

Searched refs:REF_SCALE_SHIFT (Results 1 – 4 of 4) sorted by relevance

/external/libaom/libaom/av1/common/
Dscale.c22 (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()
Dscale.h24 #define REF_SCALE_SHIFT 14 macro
25 #define REF_NO_SCALE (1 << REF_SCALE_SHIFT)
/external/libvpx/libvpx/vp9/common/
Dvp9_scale.h21 #define REF_SCALE_SHIFT 14 macro
22 #define REF_NO_SCALE (1 << REF_SCALE_SHIFT)
Dvp9_scale.c17 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()