Searched refs:pixelValue (Results 1 – 6 of 6) sorted by relevance
74 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 …]
96 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 …]
79 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()
578 uchar pixelValue = (uchar)255; // will switch to 0 if match found in icvBackgroundTest() local589 pixelValue = 0; in icvBackgroundTest()594 bg_model->foreground->imageData[ bg_model->foreground->widthStep*i + j] = pixelValue; in icvBackgroundTest()
META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...