/third_party/vk-gl-cts/framework/common/ |
D | tcuRGBA.hpp | 79 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 <<()
|
D | tcuRGBA.cpp | 42 return Vec4(float(getRed()) / 255.0f, in toVec() 50 return IVec4(getRed(), getGreen(), getBlue(), getAlpha()); in toIVec()
|
D | tcuPixelFormat.hpp | 119 return RGBA(convertChannel(col.getRed(), redBits), in convertColor()
|
D | tcuSurface.hpp | 80 *((deUint8*)pixAddr + 0) = (deUint8)col.getRed(); in setPixel()
|
/third_party/skia/src/codec/ |
D | SkMaskSwizzler.cpp | 21 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 …]
|
D | SkMasks.h | 41 uint8_t getRed(uint32_t pixel) const;
|
D | SkMasks.cpp | 71 uint8_t SkMasks::getRed(uint32_t pixel) const { in getRed() function in SkMasks
|
/third_party/flutter/skia/src/codec/ |
D | SkMaskSwizzler.cpp | 21 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 …]
|
D | SkMasks.h | 55 uint8_t getRed(uint32_t pixel) const;
|
D | SkMasks.cpp | 71 uint8_t SkMasks::getRed(uint32_t pixel) const { in getRed() function in SkMasks
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fMultiviewTests.cpp | 307 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()
|
D | es3fColorClearTest.cpp | 202 if ((clearMask & 0x1) && !(spanKnownMask & 0x1)) spanColor.setRed(clearCol.getRed()); in iterate() 244 colorThreshold.setRed(colorThreshold.getRed() + 1); in iterate()
|
D | es3fDefaultVertexAttributeTests.cpp | 518 if (de::abs(color.getRed() - refColor.getRed()) > colorThreshold.getRed() || in verifyUnicoloredBuffer()
|
D | es3fDepthStencilClearTests.cpp | 443 …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()
|
D | es3fTextureSwizzleTests.cpp | 53 case GL_RED: return c.getRed(); in swizzle()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fDefaultVertexAttributeTests.cpp | 441 if (de::abs(color.getRed() - refColor.getRed()) > colorThreshold.getRed() || in verifyUnicoloredBuffer()
|
D | es2fColorClearTest.cpp | 202 if ((clearMask & 0x1) && !(spanKnownMask & 0x1)) spanColor.setRed(clearCol.getRed()); in iterate() 244 colorThreshold.setRed(colorThreshold.getRed() + 1); in iterate()
|
D | es2fDepthStencilClearTests.cpp | 440 …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()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fShaderTextureSizeTests.cpp | 501 …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()
|
D | es31fSampleVariableTests.cpp | 86 << ((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()
|
D | es31fSampleShadingTests.cpp | 381 …const deUint32 packed = ((deUint32)color.getRed()) + ((deUint32)color.getGreen() << 8) + ((deUint3… in verifyImage()
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsVertexArrayTests.cpp | 1761 …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/ |
D | glcLayoutLocationTests.cpp | 521 << expectedColor.getRed() << ", " << expectedColor.getGreen() << ", " in iterate() 523 << pixel.getRed() << ", " << pixel.getGreen() << ", " << pixel.getBlue() << ", " in iterate()
|
/third_party/flutter/skia/src/gpu/text/ |
D | GrStrikeCache.cpp | 104 uint32_t colorRGBA = GrColorPackRGBA(masks.getRed(color565), in get_packed_glyph_image()
|
/third_party/skia/src/gpu/text/ |
D | GrAtlasManager.cpp | 115 uint32_t colorRGBA = GrColorPackRGBA(masks.getRed(color565), in get_packed_glyph_image()
|