Lines Matching refs:rgb
309 uint32_t rgb = 0;
311 AutoCFRelease<CGContextRef> cgContext(CGBitmapContextCreate(&rgb, 1, 1, 8, 4,
319 uint32_t r = (rgb >> 16) & 0xFF;
320 uint32_t g = (rgb >> 8) & 0xFF;
321 uint32_t b = (rgb >> 0) & 0xFF;
1122 static inline uint8_t rgb_to_a8(CGRGBPixel rgb, const uint8_t* table8) {
1123 U8CPU r = (rgb >> 16) & 0xFF;
1124 U8CPU g = (rgb >> 8) & 0xFF;
1125 U8CPU b = (rgb >> 0) & 0xFF;
1145 static inline uint16_t rgb_to_lcd16(CGRGBPixel rgb, const uint8_t* tableR,
1148 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 16) & 0xFF, tableR);
1149 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 8) & 0xFF, tableG);
1150 U8CPU b = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 0) & 0xFF, tableB);
1170 static inline uint32_t rgb_to_lcd32(CGRGBPixel rgb, const uint8_t* tableR,
1173 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 16) & 0xFF, tableR);
1174 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 8) & 0xFF, tableG);
1175 U8CPU b = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 0) & 0xFF, tableB);
1195 static SkPMColor cgpixels_to_pmcolor(CGRGBPixel rgb, const SkGlyph& glyph,
1197 U8CPU r = (rgb >> 16) & 0xFF;
1198 U8CPU g = (rgb >> 8) & 0xFF;
1199 U8CPU b = (rgb >> 0) & 0xFF;