Home
last modified time | relevance | path

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

123

/third_party/vk-gl-cts/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()
/third_party/flutter/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
/third_party/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
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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()
/third_party/flutter/skia/src/gpu/text/
DGrStrikeCache.cpp105 masks.getGreen(color565), in get_packed_glyph_image()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcLayoutLocationTests.cpp521 << expectedColor.getRed() << ", " << expectedColor.getGreen() << ", " in iterate()
523 << pixel.getRed() << ", " << pixel.getGreen() << ", " << pixel.getBlue() << ", " in iterate()
/third_party/vk-gl-cts/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()
/third_party/skia/src/gpu/text/
DGrAtlasManager.cpp116 masks.getGreen(color565), in get_packed_glyph_image()
/third_party/vk-gl-cts/modules/gles31/stress/
Des31sTessellationGeometryInteractionTests.cpp395 if (color.getGreen() < 255 - threshold || color.getBlue() > threshold) in verifyResultLayer()

123