Searched defs:pixelColor (Results 1 - 3 of 3) sorted by relevance

/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/blending/
H A DAbstractTextureBlender.java21 * @param pixelColor
30 protected void blendPixel(float[] result, float[] materialColor, float[] pixelColor, float blendFactor, int blendtype, BlenderContext blenderContext) { argument
35 result[0] = blendFactor * pixelColor[0] + oneMinusFactor * materialColor[0];
36 result[1] = blendFactor * pixelColor[1] + oneMinusFactor * materialColor[1];
37 result[2] = blendFactor * pixelColor[2] + oneMinusFactor * materialColor[2];
40 result[0] = (oneMinusFactor + blendFactor * materialColor[0]) * pixelColor[0];
41 result[1] = (oneMinusFactor + blendFactor * materialColor[1]) * pixelColor[1];
42 result[2] = (oneMinusFactor + blendFactor * materialColor[2]) * pixelColor[2];
45 if (pixelColor[0] != 0.0) {
46 result[0] = (oneMinusFactor * materialColor[0] + blendFactor * materialColor[0] / pixelColor[
137 blendHSV(int type, float[] materialRGB, float fac, float[] pixelColor, BlenderContext blenderContext) argument
[all...]
/external/webkit/Source/WebCore/platform/graphics/cairo/
H A DImageCairo.cpp200 unsigned* pixelColor = reinterpret_cast<unsigned*>(cairo_image_surface_get_data(frameSurface)); local
201 m_solidColor = colorFromPremultipliedARGB(*pixelColor);
H A DImageBufferCairo.cpp148 Color pixelColor = colorFromPremultipliedARGB(*pixel); local
149 pixelColor = Color(lookUpTable[pixelColor.red()],
150 lookUpTable[pixelColor.green()],
151 lookUpTable[pixelColor.blue()],
152 pixelColor.alpha());
153 *pixel = premultipliedARGBFromColor(pixelColor);
202 Color pixelColor; local
204 pixelColor = colorFromPremultipliedARGB(*pixel);
206 pixelColor
[all...]

Completed in 136 milliseconds