Home
last modified time | relevance | path

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

12

/external/deqp/framework/common/
DtcuRGBA.hpp80 int getGreen (void) const { return (int)((m_value >> (deUint32)GREEN_SHIFT) & 0xFFu); } in getGreen() function in tcu::RGBA
85 …hold (RGBA thr) const { return (getRed() <= thr.getRed()) && (getGreen() <= thr.getGreen()) && (g… in isBelowThreshold()
88 …Uint8* bytes) const { bytes[0] = (deUint8)getRed(); bytes[1] = (deUint8)getGreen(); bytes[2] = (de… 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.cpp43 float(getGreen()) / 255.0f, in toVec()
50 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.cpp22 uint8_t green = masks->getGreen(p); in swizzle_mask16_to_rgba_opaque()
39 uint8_t green = masks->getGreen(p); in swizzle_mask16_to_bgra_opaque()
56 uint8_t green = masks->getGreen(p); in swizzle_mask16_to_rgba_unpremul()
74 uint8_t green = masks->getGreen(p); in swizzle_mask16_to_bgra_unpremul()
92 uint8_t green = masks->getGreen(p); in swizzle_mask16_to_rgba_premul()
110 uint8_t green = masks->getGreen(p); in swizzle_mask16_to_bgra_premul()
130 uint8_t green = masks->getGreen(p); in swizzle_mask16_to_565()
147 uint8_t green = masks->getGreen(p); in swizzle_mask24_to_rgba_opaque()
164 uint8_t green = masks->getGreen(p); in swizzle_mask24_to_bgra_opaque()
181 uint8_t green = masks->getGreen(p); in swizzle_mask24_to_rgba_unpremul()
[all …]
DSkMasks.h56 uint8_t getGreen(uint32_t pixel) const;
DSkMasks.cpp74 uint8_t SkMasks::getGreen(uint32_t pixel) const { in getGreen() function in SkMasks
/external/proguard/src/proguard/gui/splash/
DLinearColor.java66 … (int)(fromValue.getGreen() + t * (toValue.getGreen() - fromValue.getGreen())), in getColor()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/immutable/
DImmutablesRepresenter.java77 Arrays.asList(new Integer[] { color.getRed(), color.getGreen(), in representData()
/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()
Des2fDepthStencilClearTests.cpp440 …tcu::RGBA newColor = tcu::RGBA(oldColor.getRed(), oldColor.getGreen(), deClamp32(deRoundFloatToInt… in renderReference()
/external/deqp/modules/gles31/functional/
Des31fSampleVariableTests.cpp87 << ((m_threshold[1] >= 255) ? ("*") : (de::toString(m_color.getGreen()))) << ", " in logInfo()
111 if (testColor.getGreen() == 0) in verify()
176 …const tcu::Vec2 avgPosition ((float)testColor.getGreen() / 255.0f, (float)testColor.getBlue() /… in verify()
198 return (testColor.getGreen() != 0) && (testColor.getGreen() != 255); in verify()
762 …samplePositions[sampleNdx] = tcu::Vec2((float)color.getGreen() / 255.0f, (float)color.getBlue() / … in verifySampleBuffers()
833 colorSum.z() += color.getGreen(); in verifySampleBuffers()
1582 …maskBitIndices[sampleNdx] = (int)deFloatRound((float)color.getGreen() / 255.0f * (float)m_numTarge… in verifySampleBuffers()
1801 int greenBits = (int)deFloatRound((float)lowColor.getGreen() / 255.0f * 63); in postTest()
1808 int greenBits = (int)deFloatRound((float)highColor.getGreen() / 255.0f * 63); in postTest()
Des31fSampleShadingTests.cpp374 …acked = ((deUint32)color.getRed()) + ((deUint32)color.getGreen() << 8) + ((deUint32)color.getGreen in verifyImage()
Des31fShaderTextureSizeTests.cpp466 …if (color.getRed() < colorThresholdRed && color.getGreen() > 255 - colorThresholdGreen && color.ge… in verifyImage()
472 …else if (color.getRed() > 255 - colorThresholdRed && color.getGreen() < colorThresholdGreen && col… in verifyImage()
Des31fShaderMultisampleInterpolationTests.cpp77 if (color.getRed() > 0 || color.getGreen() < 255-greenThreshold || color.getBlue() > 0) in verifyGreenImage()
159 …acked = ((deUint32)color.getRed()) + ((deUint32)color.getGreen() << 8) + ((deUint32)color.getGreen in verifyImage()
Des31fMultisampleTests.cpp841 if (renderedImg.getPixel(x, y).getGreen() > 0) in iterate()
978 if (renderedImg.getPixel(x, y).getGreen() > 0) in iterate()
/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.cpp54 case GL_GREEN: return c.getGreen(); in swizzle()
Des3fDepthStencilClearTests.cpp443 …tcu::RGBA newColor = tcu::RGBA(oldColor.getRed(), oldColor.getGreen(), deClamp32(deRoundFloatToInt… in renderReference()
/external/deqp/modules/glshared/
DglsVertexArrayTests.cpp1843 …error.setPixel(x, y, tcu::RGBA(screenPixel.getRed(), (screenPixel.getGreen() + 255) / 2, screenPix… in compare()
1866 deUint8 g = (deUint8)deAbs32(refPixel.getGreen() - screenCmpPixel.getGreen()); in compare()
1877 deUint8 g = (deUint8)deAbs32(refCmpPixel.getGreen() - screenPixel.getGreen()); in compare()
1888 …error.setPixel(x, y, tcu::RGBA(screen.getPixel(x, y).getRed(), (screen.getPixel(x, y).getGreen() +… in compare()
/external/ImageMagick/MagickCore/
Daccelerate-kernels-private.h381 inline CLQuantum getGreen(CLPixelType p) { return p.y; }
1035 float g=(float) getGreen(pixel);
1150 float green=(float)getGreen(im[c]);
1199 ePos = ScaleQuantumToMap(getGreen(oValue));
1201 green = getGreen(eValue);
1652 ePos = ScaleQuantumToMap(getGreen(oValue));
2127 green=getGreen(pixel);
/external/deqp/modules/gles31/stress/
Des31sTessellationGeometryInteractionTests.cpp395 if (color.getGreen() < 255 - threshold || color.getBlue() > threshold) in verifyResultLayer()
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationGeometryGridRenderTests.cpp497 if (color.getGreen() < 255 - threshold || color.getBlue() > threshold) in verifyResultLayer()

12