HomeSort by relevance Sort by last modified time
    Searched refs:pixelColor (Results 1 - 7 of 7) sorted by null

  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/blending/
AbstractTextureBlender.java 21 * @param pixelColor
30 protected void blendPixel(float[] result, float[] materialColor, float[] pixelColor, float blendFactor, int blendtype, BlenderContext blenderContext) {
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[0]) * 0.5f;
    [all...]
TextureBlenderDDS.java 46 float[] pixelColor = new float[4];
75 colors[i].toRGBA(pixelColor);
76 this.blendPixel(resultPixel, materialColor, pixelColor, affectFactor, blendType, blenderContext);
TextureBlenderAWT.java 43 float[] pixelColor = new float[] { color[0], color[1], color[2], 1.0f };
59 this.setupMaterialColor(data, format, neg, pixelColor);
60 this.blendPixel(resultPixel, materialColor, pixelColor, affectFactor, blendType, blenderContext);
64 newData.put(dataIndex++, (byte) (pixelColor[3] * 255.0f));
  /external/webkit/Source/WebCore/platform/graphics/cairo/
ImageBufferCairo.cpp 148 Color pixelColor = colorFromPremultipliedARGB(*pixel);
149 pixelColor = Color(lookUpTable[pixelColor.red()],
150 lookUpTable[pixelColor.green()],
151 lookUpTable[pixelColor.blue()],
152 pixelColor.alpha());
153 *pixel = premultipliedARGBFromColor(pixelColor);
202 Color pixelColor;
204 pixelColor = colorFromPremultipliedARGB(*pixel);
206 pixelColor = Color(*pixel)
    [all...]
ImageCairo.cpp 200 unsigned* pixelColor = reinterpret_cast<unsigned*>(cairo_image_surface_get_data(frameSurface));
201 m_solidColor = colorFromPremultipliedARGB(*pixelColor);
  /external/webkit/Source/WebCore/platform/graphics/
Color.cpp 396 Color colorFromPremultipliedARGB(unsigned pixelColor)
400 if (unsigned alpha = (pixelColor & 0xFF000000) >> 24) {
401 rgba = makeRGBA(((pixelColor & 0x00FF0000) >> 16) * 255 / alpha,
402 ((pixelColor & 0x0000FF00) >> 8) * 255 / alpha,
403 (pixelColor & 0x000000FF) * 255 / alpha,
406 rgba = pixelColor;
413 unsigned pixelColor;
416 pixelColor = alpha << 24 |
421 pixelColor = color.rgb();
423 return pixelColor;
    [all...]
  /cts/apps/CtsVerifier/lib/colorchecker/
colorcheckertest.cpp     [all...]

Completed in 179 milliseconds