Searched refs:sbtot (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 202 *sbtot += (int)BLUE_8 (pixel) * f; in accum_32() 207 unsigned int sgtot, unsigned int sbtot, in reduce_32() argument 215 sbtot = (sbtot + 0x8000) >> 16; in reduce_32() 220 sbtot = CLIP (sbtot, 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 234 *sbtot += pixel->b * f; in accum_float() 238 unsigned int sgtot, unsigned int sbtot, in reduce_float() argument 246 ret->b = CLIP (sbtot / 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() 2822 sbtot += (int)BLUE_8 (pixel) * f; in bits_image_fetch_separable_convolution_affine() 2832 sbtot = (sbtot + 0x8000) >> 16; in bits_image_fetch_separable_convolution_affine() 2837 sbtot = CLIP (sbtot, 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()
|