Home
last modified time | relevance | path

Searched refs:pixelValue (Results 1 – 6 of 6) sorted by relevance

/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
DTexturePixel.java74 byte pixelValue = (byte) ((argb8 & 0xFF000000) >> 24); in fromARGB8()
75 this.alpha = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f; in fromARGB8()
76 pixelValue = (byte) ((argb8 & 0xFF0000) >> 16); in fromARGB8()
77 this.red = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f; in fromARGB8()
78 pixelValue = (byte) ((argb8 & 0xFF00) >> 8); in fromARGB8()
79 this.green = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f; in fromARGB8()
80 pixelValue = (byte) (argb8 & 0xFF); in fromARGB8()
81 this.blue = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f; in fromARGB8()
96 byte pixelValue; in fromImage()
100 pixelValue = data.get(firstByteIndex); in fromImage()
[all …]
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/blending/
DTextureBlenderAWT.java96 byte pixelValue = data.get();// at least one byte is always taken :) in setupMaterialColor()
97 float firstPixelValue = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f; in setupMaterialColor()
101 pixelValue = data.get(); in setupMaterialColor()
102 materialColor[1] = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f; in setupMaterialColor()
103 pixelValue = data.get(); in setupMaterialColor()
104 materialColor[2] = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f; in setupMaterialColor()
105 pixelValue = data.get(); in setupMaterialColor()
106 materialColor[3] = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f; in setupMaterialColor()
110 pixelValue = data.get(); in setupMaterialColor()
111 materialColor[2] = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f; in setupMaterialColor()
[all …]
DTextureBlenderLuminance.java79 byte pixelValue = data.get();// at least one byte is always taken in getTinAndAlpha()
80 float firstPixelValue = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f; in getTinAndAlpha()
88 pixelValue = data.get(); in getTinAndAlpha()
89 result[1] = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f; in getTinAndAlpha()
/external/opencv/cvaux/src/
Dcvbgfg_gaussmix.cpp578 uchar pixelValue = (uchar)255; // will switch to 0 if match found in icvBackgroundTest() local
589 pixelValue = 0; in icvBackgroundTest()
594 bg_model->foreground->imageData[ bg_model->foreground->widthStep*i + j] = pixelValue; in icvBackgroundTest()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...