Home
last modified time | relevance | path

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

/external/webkit/Source/WebCore/platform/graphics/haiku/
DImageBufferHaiku.cpp134 const uint8* sourcePixel = sourceRows; in convertFromData() local
138 destPixel[0] = sourcePixel[2]; in convertFromData()
139 destPixel[1] = sourcePixel[1]; in convertFromData()
140 destPixel[2] = sourcePixel[0]; in convertFromData()
141 destPixel[3] = sourcePixel[3]; in convertFromData()
143 sourcePixel += 4; in convertFromData()
158 const uint8* sourcePixel = sourceRows; in convertFromInternalData() local
162 destPixel[0] = static_cast<uint16>(sourcePixel[2]) * sourcePixel[3] / 255; in convertFromInternalData()
163 destPixel[1] = static_cast<uint16>(sourcePixel[1]) * sourcePixel[3] / 255; in convertFromInternalData()
164 destPixel[2] = static_cast<uint16>(sourcePixel[0]) * sourcePixel[3] / 255; in convertFromInternalData()
[all …]
/external/webkit/Source/WebCore/platform/graphics/filters/
DFilterEffect.cpp163 …unsigned char *sourcePixel = source->data() + ((yOrigin * m_absolutePaintRect.width()) + xOrigin) … in copyImageBytes() local
166 memcpy(destinationPixel, sourcePixel, size); in copyImageBytes()
168 sourcePixel += sourceScanline; in copyImageBytes()
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
DTextureHelper.java262 TexturePixel sourcePixel = new TexturePixel(); in mergeTextures() local
270 sourcePixel.fromImage(image.getFormat(), sourceData, i); in mergeTextures()
271 resultPixel.merge(sourcePixel); in mergeTextures()
273 sourcePixel.fromImage(image.getFormat(), sourceData, i); in mergeTextures()
274 resultPixel.merge(sourcePixel); in mergeTextures()