D | SkScaledBitmapSampler.cpp | 25 const uint8_t* SK_RESTRICT src, in Sample_Gray_D8888() argument 29 dst[x] = SkPackARGB32(0xFF, src[0], src[0], src[0]); in Sample_Gray_D8888() 30 src += deltaSrc; in Sample_Gray_D8888() 36 const uint8_t* SK_RESTRICT src, in Sample_RGBx_D8888() argument 40 dst[x] = SkPackARGB32(0xFF, src[0], src[1], src[2]); in Sample_RGBx_D8888() 41 src += deltaSrc; in Sample_RGBx_D8888() 47 const uint8_t* SK_RESTRICT src, in Sample_RGBA_D8888() argument 52 unsigned alpha = src[3]; in Sample_RGBA_D8888() 53 dst[x] = SkPreMultiplyARGB(alpha, src[0], src[1], src[2]); in Sample_RGBA_D8888() 54 src += deltaSrc; in Sample_RGBA_D8888() [all …]
|