Lines Matching refs:fx
18 static void decal_nofilter_scale_neon(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
19 static void decal_filter_scale_neon(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
50 static inline int32x4_t sbpsm_clamp_tile4_low_bits(int32x4_t fx) { in sbpsm_clamp_tile4_low_bits() argument
53 ret = vshrq_n_s32(fx, 12); in sbpsm_clamp_tile4_low_bits()
99 static inline int32x4_t sbpsm_repeat_tile4_low_bits(int32x4_t fx, unsigned max) { in sbpsm_repeat_tile4_low_bits() argument
105 res = vmovn_u32(vreinterpretq_u32_s32(fx)); in sbpsm_repeat_tile4_low_bits()
122 #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max) argument
126 #define TILEX_PROCF_NEON4(fx, max) sbpsm_clamp_tile4(fx, max) argument
128 #define TILEX_LOW_BITS(fx, max) (((fx) >> 12) & 0xF) argument
130 #define TILEX_LOW_BITS_NEON4(fx, max) sbpsm_clamp_tile4_low_bits(fx) argument
136 #define TILEX_PROCF(fx, max) SK_USHIFT16(((fx) & 0xFFFF) * ((max) + 1)) argument
140 #define TILEX_PROCF_NEON4(fx, max) sbpsm_repeat_tile4(fx, max) argument
142 #define TILEX_LOW_BITS(fx, max) ((((fx) & 0xFFFF) * ((max) + 1) >> 12) & 0xF) argument
144 #define TILEX_LOW_BITS_NEON4(fx, max) sbpsm_repeat_tile4_low_bits(fx, max) argument
150 void decal_nofilter_scale_neon(uint32_t dst[], SkFixed fx, SkFixed dx, int count) { in decal_nofilter_scale_neon() argument
158 lbase = vdupq_n_s32(fx); in decal_nofilter_scale_neon()
159 lbase = vsetq_lane_s32(fx + dx, lbase, 1); in decal_nofilter_scale_neon()
160 lbase = vsetq_lane_s32(fx + dx + dx, lbase, 2); in decal_nofilter_scale_neon()
161 lbase = vsetq_lane_s32(fx + dx + dx + dx, lbase, 3); in decal_nofilter_scale_neon()
175 fx += dx8; in decal_nofilter_scale_neon()
181 *xx++ = SkToU16(fx >> 16); fx += dx; in decal_nofilter_scale_neon()
185 void decal_filter_scale_neon(uint32_t dst[], SkFixed fx, SkFixed dx, int count) { in decal_filter_scale_neon() argument
191 wide_fx = vdupq_n_s32(fx); in decal_filter_scale_neon()
192 wide_fx = vsetq_lane_s32(fx + dx, wide_fx, 1); in decal_filter_scale_neon()
193 wide_fx = vsetq_lane_s32(fx + dx + dx, wide_fx, 2); in decal_filter_scale_neon()
194 wide_fx = vsetq_lane_s32(fx + dx + dx + dx, wide_fx, 3); in decal_filter_scale_neon()
212 fx += dx8; in decal_filter_scale_neon()
221 SkASSERT((fx >> (16 + 14)) == 0); in decal_filter_scale_neon()
222 *dst++ = (fx >> 12 << 14) | ((fx >> 16) + 1); in decal_filter_scale_neon()
223 fx += dx; in decal_filter_scale_neon()
227 SkASSERT((fx >> (16 + 14)) == 0); in decal_filter_scale_neon()
228 *dst++ = (fx >> 12 << 14) | ((fx >> 16) + 1); in decal_filter_scale_neon()
229 fx += dx; in decal_filter_scale_neon()
231 *dst++ = (fx >> 12 << 14) | ((fx >> 16) + 1); in decal_filter_scale_neon()
232 fx += dx; in decal_filter_scale_neon()