Lines Matching refs:CGRGBPixel
104 static unsigned CGRGBPixel_getAlpha(CGRGBPixel pixel) { in CGRGBPixel_getAlpha()
153 CGRGBPixel* SkScalerContext_Mac::Offscreen::getCG(const SkScalerContext_Mac& context, in getCG()
186 size_t rowBytes = fSize.fWidth * sizeof(CGRGBPixel); in getCG()
195 rowBytes = fSize.fWidth * sizeof(CGRGBPixel); in getCG()
236 CGRGBPixel* image = (CGRGBPixel*)fImageStorage.get(); in getCG()
362 static void cgpixels_to_bits(uint8_t dst[], const CGRGBPixel src[], int count) { in cgpixels_to_bits()
376 static inline uint8_t rgb_to_a8(CGRGBPixel rgb, const uint8_t* table8) { in rgb_to_a8()
388 static void RGBToA8(const CGRGBPixel* SK_RESTRICT cgPixels, size_t cgRowBytes, in RGBToA8()
399 cgPixels = SkTAddOffset<const CGRGBPixel>(cgPixels, cgRowBytes); in RGBToA8()
405 static uint16_t RGBToLcd16(CGRGBPixel rgb, in RGBToLcd16()
419 static void RGBToLcd16(const CGRGBPixel* SK_RESTRICT cgPixels, size_t cgRowBytes, in RGBToLcd16()
431 cgPixels = SkTAddOffset<const CGRGBPixel>(cgPixels, cgRowBytes); in RGBToLcd16()
436 static SkPMColor cgpixels_to_pmcolor(CGRGBPixel rgb) { in cgpixels_to_pmcolor()
455 CGRGBPixel* cgPixels = fOffscreen.getCG(*this, glyph, cgGlyph, &cgRowBytes, requestSmooth); in generateImage()
473 CGRGBPixel* addr = cgPixels; in generateImage()
481 addr = SkTAddOffset<CGRGBPixel>(addr, cgRowBytes); in generateImage()
509 cgPixels = SkTAddOffset<CGRGBPixel>(cgPixels, cgRowBytes); in generateImage()
521 cgPixels = SkTAddOffset<CGRGBPixel>(cgPixels, cgRowBytes); in generateImage()