Home
last modified time | relevance | path

Searched refs:pixelColor (Results 1 – 3 of 3) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/cairo/
DImageBufferCairo.cpp148 Color pixelColor = colorFromPremultipliedARGB(*pixel); in platformTransformColorSpace() local
149 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() local
204 pixelColor = colorFromPremultipliedARGB(*pixel); in getImageData()
206 pixelColor = Color(*pixel); in getImageData()
207 destRows[basex] = pixelColor.red(); in getImageData()
[all …]
DImageCairo.cpp200 unsigned* pixelColor = reinterpret_cast<unsigned*>(cairo_image_surface_get_data(frameSurface)); in checkForSolidColor() local
201 m_solidColor = colorFromPremultipliedARGB(*pixelColor); in checkForSolidColor()
/external/webkit/Source/WebCore/platform/graphics/
DColor.cpp396 Color colorFromPremultipliedARGB(unsigned pixelColor) in colorFromPremultipliedARGB() argument
400 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() local
416 pixelColor = alpha << 24 | in premultipliedARGBFromColor()
421 pixelColor = color.rgb(); in premultipliedARGBFromColor()
423 return pixelColor; in premultipliedARGBFromColor()