Searched refs:sgtot (Results 1 – 2 of 2) sorted by relevance
/third_party/pixman/pixman/ |
D | pixman-bits-image.c | 195 unsigned int *sgtot, unsigned int *sbtot, in accum_32() argument 201 *sgtot += (int)GREEN_8 (pixel) * f; in accum_32() 207 unsigned int sgtot, unsigned int sbtot, in reduce_32() argument 214 sgtot = (sgtot + 0x8000) >> 16; in reduce_32() 219 sgtot = CLIP (sgtot, 0, 0xff); in reduce_32() 222 *ret = ((satot << 24) | (srtot << 16) | (sgtot << 8) | (sbtot)); in reduce_32() 226 unsigned int *sgtot, unsigned int *sbtot, in accum_float() argument 233 *sgtot += pixel->g * f; in accum_float() 238 unsigned int sgtot, unsigned int sbtot, in reduce_float() argument 245 ret->g = CLIP (sgtot / 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() 2821 sgtot += (int)GREEN_8 (pixel) * f; in bits_image_fetch_separable_convolution_affine() 2831 sgtot = (sgtot + 0x8000) >> 16; in bits_image_fetch_separable_convolution_affine() 2836 sgtot = CLIP (sgtot, 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()
|