Searched refs:sourcePixel (Results 1 – 3 of 3) sorted by relevance
134 const uint8* sourcePixel = sourceRows; in convertFromData() local138 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() local162 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 …]
163 …unsigned char *sourcePixel = source->data() + ((yOrigin * m_absolutePaintRect.width()) + xOrigin) … in copyImageBytes() local166 memcpy(destinationPixel, sourcePixel, size); in copyImageBytes()168 sourcePixel += sourceScanline; in copyImageBytes()
262 TexturePixel sourcePixel = new TexturePixel(); in mergeTextures() local270 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()