Searched refs:pixelColor (Results 1 – 3 of 3) sorted by relevance
148 Color pixelColor = colorFromPremultipliedARGB(*pixel); in platformTransformColorSpace() local149 pixelColor = Color(lookUpTable[pixelColor.red()], in platformTransformColorSpace()150 lookUpTable[pixelColor.green()], in platformTransformColorSpace()151 lookUpTable[pixelColor.blue()], in platformTransformColorSpace()152 pixelColor.alpha()); in platformTransformColorSpace()153 *pixel = premultipliedARGBFromColor(pixelColor); in platformTransformColorSpace()202 Color pixelColor; in getImageData() local204 pixelColor = colorFromPremultipliedARGB(*pixel); in getImageData()206 pixelColor = Color(*pixel); in getImageData()207 destRows[basex] = pixelColor.red(); in getImageData()[all …]
200 unsigned* pixelColor = reinterpret_cast<unsigned*>(cairo_image_surface_get_data(frameSurface)); in checkForSolidColor() local201 m_solidColor = colorFromPremultipliedARGB(*pixelColor); in checkForSolidColor()
396 Color colorFromPremultipliedARGB(unsigned pixelColor) in colorFromPremultipliedARGB() argument400 if (unsigned alpha = (pixelColor & 0xFF000000) >> 24) { in colorFromPremultipliedARGB()401 rgba = makeRGBA(((pixelColor & 0x00FF0000) >> 16) * 255 / alpha, in colorFromPremultipliedARGB()402 ((pixelColor & 0x0000FF00) >> 8) * 255 / alpha, in colorFromPremultipliedARGB()403 (pixelColor & 0x000000FF) * 255 / alpha, in colorFromPremultipliedARGB()406 rgba = pixelColor; in colorFromPremultipliedARGB()413 unsigned pixelColor; in premultipliedARGBFromColor() local416 pixelColor = alpha << 24 | in premultipliedARGBFromColor()421 pixelColor = color.rgb(); in premultipliedARGBFromColor()423 return pixelColor; in premultipliedARGBFromColor()