Home
last modified time | relevance | path

Searched refs:getRed (Results 1 – 25 of 53) sorted by relevance

123

/third_party/vk-gl-cts/framework/common/
DtcuRGBA.hpp79 int getRed (void) const { return (int)((m_value >> (deUint32)RED_SHIFT) & 0xFFu); } in getRed() function in tcu::RGBA
85 …bool isBelowThreshold (RGBA thr) const { return (getRed() <= thr.getRed()) && (getGreen() <= thr… in isBelowThreshold()
88 …void toBytes (deUint8* bytes) const { bytes[0] = (deUint8)getRed(); bytes[1] = (deUint8)getGr… in toBytes()
119 deAbs32(a.getRed() - b.getRed()), in computeAbsDiff()
131 (int)(it*(float)a.getRed() + t*(float)b.getRed() + 0.5f), in blend()
145 return RGBA(deMax32(a.getRed(), b.getRed()), in max()
158 return RGBA(deClamp32(a.getRed() + b.getRed(), 0, 255), in operator +()
166 return RGBA(deClamp32(a.getRed() - b.getRed(), 0, 255), in operator -()
174 return RGBA(deClamp32(a.getRed() * b, 0, 255), in operator *()
182 …return stream << "RGBA(" << c.getRed() << ", " << c.getGreen() << ", " << c.getBlue() << ", " << c… in operator <<()
DtcuRGBA.cpp42 return Vec4(float(getRed()) / 255.0f, in toVec()
50 return IVec4(getRed(), getGreen(), getBlue(), getAlpha()); in toIVec()
DtcuPixelFormat.hpp119 return RGBA(convertChannel(col.getRed(), redBits), in convertColor()
DtcuSurface.hpp80 *((deUint8*)pixAddr + 0) = (deUint8)col.getRed(); in setPixel()
/third_party/skia/src/codec/
DSkMaskSwizzler.cpp21 uint8_t red = masks->getRed(p); in swizzle_mask16_to_rgba_opaque()
38 uint8_t red = masks->getRed(p); in swizzle_mask16_to_bgra_opaque()
55 uint8_t red = masks->getRed(p); in swizzle_mask16_to_rgba_unpremul()
73 uint8_t red = masks->getRed(p); in swizzle_mask16_to_bgra_unpremul()
91 uint8_t red = masks->getRed(p); in swizzle_mask16_to_rgba_premul()
109 uint8_t red = masks->getRed(p); in swizzle_mask16_to_bgra_premul()
129 uint8_t red = masks->getRed(p); in swizzle_mask16_to_565()
146 uint8_t red = masks->getRed(p); in swizzle_mask24_to_rgba_opaque()
163 uint8_t red = masks->getRed(p); in swizzle_mask24_to_bgra_opaque()
180 uint8_t red = masks->getRed(p); in swizzle_mask24_to_rgba_unpremul()
[all …]
DSkMasks.h41 uint8_t getRed(uint32_t pixel) const;
DSkMasks.cpp71 uint8_t SkMasks::getRed(uint32_t pixel) const { in getRed() 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.cpp202 if ((clearMask & 0x1) && !(spanKnownMask & 0x1)) spanColor.setRed(clearCol.getRed()); in iterate()
244 colorThreshold.setRed(colorThreshold.getRed() + 1); in iterate()
Des3fDefaultVertexAttributeTests.cpp518 if (de::abs(color.getRed() - refColor.getRed()) > colorThreshold.getRed() || in verifyUnicoloredBuffer()
Des3fDepthStencilClearTests.cpp443 …tcu::RGBA newColor = tcu::RGBA(oldColor.getRed(), oldColor.getGreen(), deClamp32(deRoundFloatToInt… in renderReference()
491 …tcu::RGBA newColor = tcu::RGBA(oldColor.getRed(), deClamp32(deRoundFloatToInt32(step * 255.0f), 0,… in renderReference()
Des3fTextureSwizzleTests.cpp53 case GL_RED: return c.getRed(); in swizzle()
Des3fRasterizerDiscardTests.cpp388 if (pixels.getPixel(x,y).getRed() != 0) in iterate()
Des3fShaderInvarianceTests.cpp370 if (col.getRed() != 0) in checkImage()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fDefaultVertexAttributeTests.cpp441 if (de::abs(color.getRed() - refColor.getRed()) > colorThreshold.getRed() || in verifyUnicoloredBuffer()
Des2fColorClearTest.cpp202 if ((clearMask & 0x1) && !(spanKnownMask & 0x1)) spanColor.setRed(clearCol.getRed()); in iterate()
244 colorThreshold.setRed(colorThreshold.getRed() + 1); in iterate()
Des2fDepthStencilClearTests.cpp440 …tcu::RGBA newColor = tcu::RGBA(oldColor.getRed(), oldColor.getGreen(), deClamp32(deRoundFloatToInt… in renderReference()
488 …tcu::RGBA newColor = tcu::RGBA(oldColor.getRed(), deClamp32(deRoundFloatToInt32(step * 255.0f), 0,… in renderReference()
Des2fShaderInvarianceTests.cpp370 if (col.getRed() != 0) in checkImage()
/third_party/vk-gl-cts/modules/gles31/functional/
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()
Des31fSampleVariableTests.cpp86 << ((m_threshold[0] >= 255) ? ("*") : (de::toString(m_color.getRed()))) << ", " in logInfo()
109 if (testColor.getRed() != 0) in verify()
134 return testColor.getRed() == 0; in verify()
841 colorSum.x() += color.getRed(); in verifySampleBuffers()
1822 int redBits = (int)deFloatRound((float)lowColor.getRed() / 255.0f * 31); in postTest()
1829 int redBits = (int)deFloatRound((float)highColor.getRed() / 255.0f * 31); in postTest()
Des31fSampleShadingTests.cpp381 …const deUint32 packed = ((deUint32)color.getRed()) + ((deUint32)color.getGreen() << 8) + ((deUint3… in verifyImage()
/third_party/vk-gl-cts/modules/glshared/
DglsVertexArrayTests.cpp1761 …error.setPixel(x, y, tcu::RGBA(screenPixel.getRed(), (screenPixel.getGreen() + 255) / 2, screenPix… in compare()
1783 deUint8 r = (deUint8)deAbs32(refPixel.getRed() - screenCmpPixel.getRed()); in compare()
1794 deUint8 r = (deUint8)deAbs32(refCmpPixel.getRed() - screenPixel.getRed()); in compare()
1806 …error.setPixel(x, y, tcu::RGBA(screen.getPixel(x, y).getRed(), (screen.getPixel(x, y).getGreen() +… in compare()
/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()
DglcShaderLibraryCase.cpp240 bool isWhite = (pixel.getRed() == 255) && (pixel.getGreen() == 255) && (pixel.getBlue() == 255); in checkPixels()
241 bool isBlack = (pixel.getRed() == 0) && (pixel.getGreen() == 0) && (pixel.getBlue() == 0); in checkPixels()
/third_party/skia/src/gpu/text/
DGrAtlasManager.cpp115 uint32_t colorRGBA = GrColorPackRGBA(masks.getRed(color565), in get_packed_glyph_image()

123