Home
last modified time | relevance | path

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

123

/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.hpp120 convertChannel(col.getGreen(), greenBits), in convertColor()
DtcuSurface.hpp81 *((deUint8*)pixAddr + 1) = (deUint8)col.getGreen(); in setPixel()
/external/skia/src/codec/
DSkMaskSwizzler.cpp29 uint8_t green = masks->getGreen(p); in swizzle_mask16_to_rgba_opaque()
46 uint8_t green = masks->getGreen(p); in swizzle_mask16_to_bgra_opaque()
63 uint8_t green = masks->getGreen(p); in swizzle_mask16_to_rgba_unpremul()
81 uint8_t green = masks->getGreen(p); in swizzle_mask16_to_bgra_unpremul()
99 uint8_t green = masks->getGreen(p); in swizzle_mask16_to_rgba_premul()
117 uint8_t green = masks->getGreen(p); in swizzle_mask16_to_bgra_premul()
137 uint8_t green = masks->getGreen(p); in swizzle_mask16_to_565()
154 uint8_t green = masks->getGreen(p); in swizzle_mask24_to_rgba_opaque()
171 uint8_t green = masks->getGreen(p); in swizzle_mask24_to_bgra_opaque()
188 uint8_t green = masks->getGreen(p); in swizzle_mask24_to_rgba_unpremul()
[all …]
DSkMasks.h44 uint8_t getGreen(uint32_t pixel) const;
DSkMasks.cpp73 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/deqp/modules/gles3/functional/
Des3fMultiviewTests.cpp307 if (pixel.getRed() != 255 || pixel.getGreen() != 0 || pixel.getBlue() != 0) in iterate()
314 if (pixel.getRed() != 0 || pixel.getGreen() != 255 || pixel.getBlue() != 0) in iterate()
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()
/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/snakeyaml/src/test/java/org/yaml/snakeyaml/immutable/
DImmutablesRepresenter.java77 Arrays.asList(new Integer[] { color.getRed(), color.getGreen(), in representData()
/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()
772 …samplePositions[sampleNdx] = tcu::Vec2((float)color.getGreen() / 255.0f, (float)color.getBlue() / … in verifySampleBuffers()
843 colorSum.z() += color.getGreen(); in verifySampleBuffers()
1603 …maskBitIndices[sampleNdx] = (int)deFloatRound((float)color.getGreen() / 255.0f * (float)m_numTarge… in verifySampleBuffers()
1823 int greenBits = (int)deFloatRound((float)lowColor.getGreen() / 255.0f * 63); in postTest()
1830 int greenBits = (int)deFloatRound((float)highColor.getGreen() / 255.0f * 63); in postTest()
Des31fSampleShadingTests.cpp381 …acked = ((deUint32)color.getRed()) + ((deUint32)color.getGreen() << 8) + ((deUint32)color.getGreen in verifyImage()
Des31fShaderTextureSizeTests.cpp501 …if (color.getRed() < colorThresholdRed && color.getGreen() > 255 - colorThresholdGreen && color.ge… in verifyImage()
507 …else if (color.getRed() > 255 - colorThresholdRed && color.getGreen() < colorThresholdGreen && col… in verifyImage()
Des31fShaderMultisampleInterpolationTests.cpp85 if (color.getRed() > 0 || color.getGreen() < 255-greenThreshold || color.getBlue() > 0) in verifyGreenImage()
167 …acked = ((deUint32)color.getRed()) + ((deUint32)color.getGreen() << 8) + ((deUint32)color.getGreen in verifyImage()
/external/deqp/external/openglcts/modules/common/
DglcLayoutLocationTests.cpp521 << expectedColor.getRed() << ", " << expectedColor.getGreen() << ", " in iterate()
523 << pixel.getRed() << ", " << pixel.getGreen() << ", " << pixel.getBlue() << ", " in iterate()
/external/deqp/modules/glshared/
DglsVertexArrayTests.cpp1761 …error.setPixel(x, y, tcu::RGBA(screenPixel.getRed(), (screenPixel.getGreen() + 255) / 2, screenPix… in compare()
1784 deUint8 g = (deUint8)deAbs32(refPixel.getGreen() - screenCmpPixel.getGreen()); in compare()
1795 deUint8 g = (deUint8)deAbs32(refCmpPixel.getGreen() - screenPixel.getGreen()); in compare()
1806 …error.setPixel(x, y, tcu::RGBA(screen.getPixel(x, y).getRed(), (screen.getPixel(x, y).getGreen() +… in compare()
/external/skia/src/gpu/graphite/text/
DAtlasManager.cpp138 (masks.getGreen(color565) << 8) | in get_packed_glyph_image()
/external/ImageMagick/MagickCore/
Daccelerate-kernels-private.h374 static inline CLQuantum getGreen(CLPixelType p) { return p.y; }
1153 float green=(float)getGreen(im[c]);
1202 ePos = ScaleQuantumToMap(getGreen(oValue));
1204 green = getGreen(eValue);
1655 ePos = ScaleQuantumToMap(getGreen(oValue));
2133 green=getGreen(pixel);
/external/skia/src/gpu/ganesh/text/
DGrAtlasManager.cpp129 masks.getGreen(color565), in get_packed_glyph_image()
/external/deqp/modules/gles31/stress/
Des31sTessellationGeometryInteractionTests.cpp395 if (color.getGreen() < 255 - threshold || color.getBlue() > threshold) in verifyResultLayer()

123