Lines Matching refs:max
21 static inline int16x8_t sbpsm_clamp_tile8(int32x4_t low, int32x4_t high, unsigned max) { in sbpsm_clamp_tile8() argument
29 res = vminq_s16(res, vdupq_n_s16(max)); in sbpsm_clamp_tile8()
35 static inline int32x4_t sbpsm_clamp_tile4(int32x4_t f, unsigned max) { in sbpsm_clamp_tile4() argument
43 res = vminq_s32(res, vdupq_n_s32(max)); in sbpsm_clamp_tile4()
63 static inline int16x8_t sbpsm_repeat_tile8(int32x4_t low, int32x4_t high, unsigned max) { in sbpsm_repeat_tile8() argument
71 tmpl = vmull_u16(vget_low_u16(res), vdup_n_u16(max+1)); in sbpsm_repeat_tile8()
72 tmph = vmull_u16(vget_high_u16(res), vdup_n_u16(max+1)); in sbpsm_repeat_tile8()
81 static inline int32x4_t sbpsm_repeat_tile4(int32x4_t f, unsigned max) { in sbpsm_repeat_tile4() argument
89 tmp = vmull_u16(res, vdup_n_u16(max+1)); in sbpsm_repeat_tile4()
98 static inline int32x4_t sbpsm_repeat_tile4_low_bits(int32x4_t fx, unsigned max) { in sbpsm_repeat_tile4_low_bits() argument
107 tmp = vmull_u16(res, vdup_n_u16(max + 1)); in sbpsm_repeat_tile4_low_bits()
121 #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max) argument
122 #define TILEY_PROCF(fy, max) SkClampMax((fy) >> 16, max) argument
123 #define TILEX_PROCF_NEON8(l, h, max) sbpsm_clamp_tile8(l, h, max) argument
124 #define TILEY_PROCF_NEON8(l, h, max) sbpsm_clamp_tile8(l, h, max) argument
125 #define TILEX_PROCF_NEON4(fx, max) sbpsm_clamp_tile4(fx, max) argument
126 #define TILEY_PROCF_NEON4(fy, max) sbpsm_clamp_tile4(fy, max) argument
127 #define EXTRACT_LOW_BITS(v, max) (((v) >> 12) & 0xF) argument
128 #define EXTRACT_LOW_BITS_NEON4(v, max) sbpsm_clamp_tile4_low_bits(v) argument
133 #define TILEX_PROCF(fx, max) SK_USHIFT16(((fx) & 0xFFFF) * ((max) + 1)) argument
134 #define TILEY_PROCF(fy, max) SK_USHIFT16(((fy) & 0xFFFF) * ((max) + 1)) argument
135 #define TILEX_PROCF_NEON8(l, h, max) sbpsm_repeat_tile8(l, h, max) argument
136 #define TILEY_PROCF_NEON8(l, h, max) sbpsm_repeat_tile8(l, h, max) argument
137 #define TILEX_PROCF_NEON4(fx, max) sbpsm_repeat_tile4(fx, max) argument
138 #define TILEY_PROCF_NEON4(fy, max) sbpsm_repeat_tile4(fy, max) argument
139 #define EXTRACT_LOW_BITS(v, max) ((((v) & 0xFFFF) * ((max) + 1) >> 12) & 0xF) argument
140 #define EXTRACT_LOW_BITS_NEON4(v, max) sbpsm_repeat_tile4_low_bits(v, max) argument