Home
last modified time | relevance | path

Searched refs:getGreen (Results 1 – 25 of 60) 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.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.h42 uint8_t getGreen(uint32_t pixel) const;
DSkMasks.cpp74 uint8_t SkMasks::getGreen(uint32_t pixel) const { in getGreen() function in SkMasks
/external/skqp/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/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()
/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()
/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()
763 …samplePositions[sampleNdx] = tcu::Vec2((float)color.getGreen() / 255.0f, (float)color.getBlue() / … in verifySampleBuffers()
834 colorSum.z() += color.getGreen(); in verifySampleBuffers()
1593 …maskBitIndices[sampleNdx] = (int)deFloatRound((float)color.getGreen() / 255.0f * (float)m_numTarge… in verifySampleBuffers()
1813 int greenBits = (int)deFloatRound((float)lowColor.getGreen() / 255.0f * 63); in postTest()
1820 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()
/external/skqp/src/gpu/text/
DGrStrikeCache.cpp105 masks.getGreen(color565), in get_packed_glyph_image()
/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.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/skia/src/gpu/text/
DGrAtlasManager.cpp116 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