Searched refs:pixelColor (Results 1 – 3 of 3) sorted by relevance
131 Color pixelColor = colorFromPremultipliedARGB(*pixel); in platformTransformColorSpace() local132 pixelColor = Color(lookUpTable[pixelColor.red()], in platformTransformColorSpace()133 lookUpTable[pixelColor.green()], in platformTransformColorSpace()134 lookUpTable[pixelColor.blue()], in platformTransformColorSpace()135 lookUpTable[pixelColor.alpha()]); in platformTransformColorSpace()136 *pixel = premultipliedARGBFromColor(pixelColor); in platformTransformColorSpace()183 Color pixelColor = colorFromPremultipliedARGB(*pixel); in getImageData() local184 destRows[basex] = pixelColor.red(); in getImageData()185 destRows[basex + 1] = pixelColor.green(); in getImageData()186 destRows[basex + 2] = pixelColor.blue(); in getImageData()[all …]
225 unsigned* pixelColor = reinterpret_cast<unsigned*>(cairo_image_surface_get_data(frameSurface)); in checkForSolidColor() local226 m_solidColor = colorFromPremultipliedARGB(*pixelColor); in checkForSolidColor()
359 Color colorFromPremultipliedARGB(unsigned pixelColor) in colorFromPremultipliedARGB() argument363 if (unsigned alpha = (pixelColor & 0xFF000000) >> 24) { in colorFromPremultipliedARGB()364 rgba = makeRGBA(((pixelColor & 0x00FF0000) >> 16) * 255 / alpha, in colorFromPremultipliedARGB()365 ((pixelColor & 0x0000FF00) >> 8) * 255 / alpha, in colorFromPremultipliedARGB()366 (pixelColor & 0x000000FF) * 255 / alpha, in colorFromPremultipliedARGB()369 rgba = pixelColor; in colorFromPremultipliedARGB()376 unsigned pixelColor; in premultipliedARGBFromColor() local379 pixelColor = alpha << 24 | in premultipliedARGBFromColor()384 pixelColor = color.rgb(); in premultipliedARGBFromColor()386 return pixelColor; in premultipliedARGBFromColor()