OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:pixelColor
(Results
1 - 6
of
6
) 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/chromium_org/third_party/WebKit/Source/platform/graphics/
Color.cpp
417
Color colorFromPremultipliedARGB(RGBA32
pixelColor
)
419
int alpha = alphaChannel(
pixelColor
);
422
redChannel(
pixelColor
) * 255 / alpha,
423
greenChannel(
pixelColor
) * 255 / alpha,
424
blueChannel(
pixelColor
) * 255 / alpha,
427
return Color(
pixelColor
);
432
unsigned
pixelColor
;
436
pixelColor
= Color::createUnchecked(
442
pixelColor
= color.rgb();
444
return
pixelColor
;
[
all
...]
/cts/apps/CtsVerifier/lib/colorchecker/
colorcheckertest.cpp
[
all
...]
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/
Renderer11.cpp
[
all
...]
Completed in 72 milliseconds