Lines Matching refs:max

22 static inline int16x8_t sbpsm_clamp_tile8(int32x4_t low, int32x4_t high, unsigned max) {  in sbpsm_clamp_tile8()  argument
30 res = vminq_s16(res, vdupq_n_s16(max)); in sbpsm_clamp_tile8()
36 static inline int32x4_t sbpsm_clamp_tile4(int32x4_t f, unsigned max) { in sbpsm_clamp_tile4() argument
44 res = vminq_s32(res, vdupq_n_s32(max)); in sbpsm_clamp_tile4()
64 static inline int16x8_t sbpsm_repeat_tile8(int32x4_t low, int32x4_t high, unsigned max) { in sbpsm_repeat_tile8() argument
72 tmpl = vmull_u16(vget_low_u16(res), vdup_n_u16(max+1)); in sbpsm_repeat_tile8()
73 tmph = vmull_u16(vget_high_u16(res), vdup_n_u16(max+1)); in sbpsm_repeat_tile8()
82 static inline int32x4_t sbpsm_repeat_tile4(int32x4_t f, unsigned max) { in sbpsm_repeat_tile4() argument
90 tmp = vmull_u16(res, vdup_n_u16(max+1)); in sbpsm_repeat_tile4()
99 static inline int32x4_t sbpsm_repeat_tile4_low_bits(int32x4_t fx, unsigned max) { in sbpsm_repeat_tile4_low_bits() argument
108 tmp = vmull_u16(res, vdup_n_u16(max + 1)); in sbpsm_repeat_tile4_low_bits()
122 #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max) argument
123 #define TILEY_PROCF(fy, max) SkClampMax((fy) >> 16, max) argument
124 #define TILEX_PROCF_NEON8(l, h, max) sbpsm_clamp_tile8(l, h, max) argument
125 #define TILEY_PROCF_NEON8(l, h, max) sbpsm_clamp_tile8(l, h, max) argument
126 #define TILEX_PROCF_NEON4(fx, max) sbpsm_clamp_tile4(fx, max) argument
127 #define TILEY_PROCF_NEON4(fy, max) sbpsm_clamp_tile4(fy, max) argument
128 #define EXTRACT_LOW_BITS(v, max) (((v) >> 12) & 0xF) argument
129 #define EXTRACT_LOW_BITS_NEON4(v, max) sbpsm_clamp_tile4_low_bits(v) argument
134 #define TILEX_PROCF(fx, max) SK_USHIFT16(((fx) & 0xFFFF) * ((max) + 1)) argument
135 #define TILEY_PROCF(fy, max) SK_USHIFT16(((fy) & 0xFFFF) * ((max) + 1)) argument
136 #define TILEX_PROCF_NEON8(l, h, max) sbpsm_repeat_tile8(l, h, max) argument
137 #define TILEY_PROCF_NEON8(l, h, max) sbpsm_repeat_tile8(l, h, max) argument
138 #define TILEX_PROCF_NEON4(fx, max) sbpsm_repeat_tile4(fx, max) argument
139 #define TILEY_PROCF_NEON4(fy, max) sbpsm_repeat_tile4(fy, max) argument
140 #define EXTRACT_LOW_BITS(v, max) ((((v) & 0xFFFF) * ((max) + 1) >> 12) & 0xF) argument
141 #define EXTRACT_LOW_BITS_NEON4(v, max) sbpsm_repeat_tile4_low_bits(v, max) argument