Home
last modified time | relevance | path

Searched refs:getGreen (Results 1 – 25 of 54) sorted by relevance

123

/external/deqp/framework/common/
DtcuRGBA.hpp80 int getGreen (void) const { return (m_value >> GREEN_SHIFT) & 0xFF; } in getGreen() function in tcu::RGBA
85 …hold (RGBA thr) const { return (getRed() <= thr.getRed()) && (getGreen() <= thr.getGreen()) && (g… in isBelowThreshold()
88 …void toBytes (deUint8* bytes) const { bytes[0] = getRed(); bytes[1] = getGreen(); bytes[2] = … in toBytes()
120 deAbs32(a.getGreen() - b.getGreen()), in computeAbsDiff()
132 (int)(it*(float)a.getGreen() + t*(float)b.getGreen() + 0.5f), in blend()
146 deMax32(a.getGreen(), b.getGreen()), in max()
159 deClamp32(a.getGreen() + b.getGreen(), 0, 255), in operator +()
167 deClamp32(a.getGreen() - b.getGreen(), 0, 255), in operator -()
175 deClamp32(a.getGreen() * b, 0, 255), in operator *()
182 …return stream << "RGBA(" << c.getRed() << ", " << c.getGreen() << ", " << c.getBlue() << ", " << c… in operator <<()
DtcuRGBA.cpp49 float(getGreen()) / 255.0f, in toVec()
56 return IVec4(getRed(), getGreen(), getBlue(), getAlpha()); in toIVec()
DtcuPixelFormat.hpp94 convertChannel(col.getGreen(), greenBits), in convertColor()
DtcuSurface.hpp81 *((deUint8*)pixAddr + 1) = (deUint8)col.getGreen(); in setPixel()
/external/skia/src/codec/
DSkMaskSwizzler.cpp21 uint8_t green = masks->getGreen(p); in swizzle_mask16_to_n32_opaque()
38 uint8_t green = masks->getGreen(p); in swizzle_mask16_to_n32_unpremul()
57 uint8_t green = masks->getGreen(p); in swizzle_mask16_to_n32_premul()
74 uint8_t green = masks->getGreen(p); in swizzle_mask24_to_n32_opaque()
90 uint8_t green = masks->getGreen(p); in swizzle_mask24_to_n32_unpremul()
108 uint8_t green = masks->getGreen(p); in swizzle_mask24_to_n32_premul()
126 uint8_t green = masks->getGreen(p); in swizzle_mask32_to_n32_opaque()
143 uint8_t green = masks->getGreen(p); in swizzle_mask32_to_n32_unpremul()
162 uint8_t green = masks->getGreen(p); in swizzle_mask32_to_n32_premul()
DSkMasks.h53 uint8_t getGreen(uint32_t pixel);
DSkMasks.cpp74 uint8_t SkMasks::getGreen(uint32_t pixel) { in getGreen() function in SkMasks
/external/proguard/src/proguard/gui/splash/
DLinearColor.java66 … (int)(fromValue.getGreen() + t * (toValue.getGreen() - fromValue.getGreen())), in getColor()
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/
DDrawUtils.java341 int g = Math.max(0, Math.min(color.getGreen() + delta, 255)); in getShiftedColor()
354 + c.getGreen() in isDarkColor()
355 * c.getGreen() in isDarkColor()
/external/deqp/modules/gles31/functional/
Des31fSampleVariableTests.cpp82 << ((m_threshold[1] >= 255) ? ("*") : (de::toString(m_color.getGreen()))) << ", " in logInfo()
106 if (testColor.getGreen() == 0) in verify()
171 const tcu::Vec2 avgPosition (testColor.getGreen() / 255.0f, testColor.getBlue() / 255.0f); in verify()
193 return (testColor.getGreen() != 0) && (testColor.getGreen() != 255); in verify()
740 samplePositions[sampleNdx] = tcu::Vec2(color.getGreen() / 255.0f, color.getBlue() / 255.0f); in verifySampleBuffers()
811 colorSum.z() += color.getGreen(); in verifySampleBuffers()
1537 maskBitIndices[sampleNdx] = (int)deFloatRound(color.getGreen() / 255.0f * m_numTargetSamples); in verifySampleBuffers()
1752 int greenBits = (int)deFloatRound(lowColor.getGreen() / 255.0f * 63); in postTest()
1759 int greenBits = (int)deFloatRound(highColor.getGreen() / 255.0f * 63); in postTest()
Des31fSampleShadingTests.cpp374 …acked = ((deUint32)color.getRed()) + ((deUint32)color.getGreen() << 8) + ((deUint32)color.getGreen in verifyImage()
Des31fShaderTextureSizeTests.cpp463 …if (color.getRed() < colorThresholdRed && color.getGreen() > 255 - colorThresholdGreen && color.ge… in verifyImage()
469 …else if (color.getRed() > 255 - colorThresholdRed && color.getGreen() < colorThresholdGreen && col… in verifyImage()
Des31fShaderMultisampleInterpolationTests.cpp66 if (color.getRed() > 0 || color.getGreen() < 255-greenThreshold || color.getBlue() > 0) in verifyGreenImage()
148 …acked = ((deUint32)color.getRed()) + ((deUint32)color.getGreen() << 8) + ((deUint32)color.getGreen in verifyImage()
/external/deqp/modules/gles2/functional/
Des2fDefaultVertexAttributeTests.cpp442 de::abs(color.getGreen() - refColor.getGreen()) > colorThreshold.getGreen() || in verifyUnicoloredBuffer()
Des2fColorClearTest.cpp203 if ((clearMask & 0x2) && !(spanKnownMask & 0x2)) spanColor.setGreen(clearCol.getGreen()); in iterate()
245 colorThreshold.setGreen(colorThreshold.getGreen() + 1); in iterate()
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/
DShaderUtils.java66 ShaderUtils.mix(a.getGreen(), b.getGreen(), f), 0, 255), (int) ShaderUtils.clamp( in mix()
/external/deqp/modules/gles3/functional/
Des3fColorClearTest.cpp203 if ((clearMask & 0x2) && !(spanKnownMask & 0x2)) spanColor.setGreen(clearCol.getGreen()); in iterate()
245 colorThreshold.setGreen(colorThreshold.getGreen() + 1); in iterate()
Des3fDefaultVertexAttributeTests.cpp519 de::abs(color.getGreen() - refColor.getGreen()) > colorThreshold.getGreen() || in verifyUnicoloredBuffer()
Des3fTextureSwizzleTests.cpp53 case GL_GREEN: return c.getGreen(); in swizzle()
/external/jmonkeyengine/engine/src/niftygui/com/jme3/niftygui/
DRenderDeviceJme.java181 color2 |= ((int) (255.0 * color.getGreen())) << 8; in convertColor()
187 … return outColor.set(inColor.getRed(), inColor.getGreen(), inColor.getBlue(), inColor.getAlpha()); in convertColor()
/external/jmonkeyengine/engine/src/core/com/jme3/material/
DMatParam.java245 return color.getRed() + " " + color.getGreen() + " " in getValueAsString()
/external/jmonkeyengine/engine/src/core/com/jme3/math/
DColorRGBA.java276 public float getGreen() { in getGreen() method in ColorRGBA
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/table/
DHtmlTooltipHelper.java292 colorString += Integer.toHexString(color.getGreen()); in getColorWebString()
/external/deqp/modules/glshared/
DglsVertexArrayTests.cpp1847 deUint8 g = deAbs32(refPixel.getGreen() - screenCmpPixel.getGreen()); in compare()
1858 deUint8 g = deAbs32(refCmpPixel.getGreen() - screenPixel.getGreen()); in compare()
1869 …error.setPixel(x, y, tcu::RGBA(screen.getPixel(x, y).getRed(), (screen.getPixel(x, y).getGreen() +… in compare()
/external/deqp/modules/gles31/stress/
Des31sTessellationGeometryInteractionTests.cpp395 if (color.getGreen() < 255 - threshold || color.getBlue() > threshold) in verifyResultLayer()

123