Searched refs:satot (Results 1 – 2 of 2) sorted by relevance
/third_party/pixman/pixman/ |
D | pixman-bits-image.c | 194 static force_inline void accum_32(unsigned int *satot, unsigned int *srtot, in accum_32() argument 203 *satot += (int)ALPHA_8 (pixel) * f; in accum_32() 206 static force_inline void reduce_32(unsigned int satot, unsigned int srtot, in reduce_32() argument 212 satot = (satot + 0x8000) >> 16; in reduce_32() 217 satot = CLIP (satot, 0, 0xff); in reduce_32() 222 *ret = ((satot << 24) | (srtot << 16) | (sgtot << 8) | (sbtot)); in reduce_32() 225 static force_inline void accum_float(unsigned int *satot, unsigned int *srtot, in accum_float() argument 231 *satot += pixel->a * f; in accum_float() 237 static force_inline void reduce_float(unsigned int satot, unsigned int srtot, in reduce_float() argument 243 ret->a = CLIP (satot / 65536.f, 0.f, 1.f); in reduce_float() [all …]
|
D | pixman-fast-path.c | 2747 int satot, srtot, sgtot, sbtot; in bits_image_fetch_separable_convolution_affine() local 2772 satot = srtot = sgtot = sbtot = 0; in bits_image_fetch_separable_convolution_affine() 2823 satot += (int)ALPHA_8 (pixel) * f; in bits_image_fetch_separable_convolution_affine() 2829 satot = (satot + 0x8000) >> 16; in bits_image_fetch_separable_convolution_affine() 2834 satot = CLIP (satot, 0, 0xff); in bits_image_fetch_separable_convolution_affine() 2839 buffer[k] = (satot << 24) | (srtot << 16) | (sgtot << 8) | (sbtot << 0); in bits_image_fetch_separable_convolution_affine()
|