/third_party/vk-gl-cts/framework/common/ |
H A 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.getGreen()) && (getBlue() <= thr.getBlue()) && (getAlpha() <= thr.getAlpha()); } in isBelowThreshold() 88 void toBytes (deUint8* bytes) const { bytes[0] = (deUint8)getRed(); bytes[1] = (deUint8)getGreen(); bytes[2] = (deUint8)getBlue(); bytes[3] = (deUint8)getAlpha(); } 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() [all...] |
H A D | tcuRGBA.cpp | 42 return Vec4(float(getRed()) / 255.0f, in toVec() 50 return IVec4(getRed(), getGreen(), getBlue(), getAlpha()); in toIVec()
|
H A D | tcuPixelFormat.hpp | 119 return RGBA(convertChannel(col.getRed(), redBits), in convertColor()
|
H A D | tcuSurface.hpp | 80 *((deUint8*)pixAddr + 0) = (deUint8)col.getRed(); in setPixel()
|
/third_party/skia/src/codec/ |
H A 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( in swizzle_mask24_to_rgba_unpremul() [all...] |
H A D | SkMasks.h | 41 uint8_t getRed(uint32_t pixel) const;
|
H A 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/ |
H A D | es3fMultiviewTests.cpp | 306 if (pixel.getRed() != 255 || pixel.getGreen() != 0 || pixel.getBlue() != 0) in iterate() 313 if (pixel.getRed() != 0 || pixel.getGreen() != 255 || pixel.getBlue() != 0) in iterate()
|
H A D | es3fColorClearTest.cpp | 202 if ((clearMask & 0x1) && !(spanKnownMask & 0x1)) spanColor.setRed(clearCol.getRed()); in iterate() 244 colorThreshold.setRed(colorThreshold.getRed() + 1); in iterate()
|
H A D | es3fDefaultVertexAttributeTests.cpp | 518 if (de::abs(color.getRed() - refColor.getRed()) > colorThreshold.getRed() || in verifyUnicoloredBuffer()
|
H A D | es3fDepthStencilClearTests.cpp | 443 tcu::RGBA newColor = tcu::RGBA(oldColor.getRed(), oldColor.getGreen(), deClamp32(deRoundFloatToInt32(step * 255.0f), 0, 255), oldColor.getAlpha()); in renderReference() 491 tcu::RGBA newColor = tcu::RGBA(oldColor.getRed(), deClamp32(deRoundFloatToInt32(step * 255.0f), 0, 255), oldColor.getBlue(), oldColor.getAlpha()); in renderReference()
|
H A D | es3fTextureSwizzleTests.cpp | 53 case GL_RED: return c.getRed(); in swizzle()
|
H A D | es3fRasterizerDiscardTests.cpp | 388 if (pixels.getPixel(x,y).getRed() != 0) in iterate()
|
H A D | es3fShaderInvarianceTests.cpp | 370 if (col.getRed() != 0) in checkImage()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fColorClearTest.cpp | 202 if ((clearMask & 0x1) && !(spanKnownMask & 0x1)) spanColor.setRed(clearCol.getRed()); in iterate() 244 colorThreshold.setRed(colorThreshold.getRed() + 1); in iterate()
|
H A D | es2fDefaultVertexAttributeTests.cpp | 441 if (de::abs(color.getRed() - refColor.getRed()) > colorThreshold.getRed() || in verifyUnicoloredBuffer()
|
H A D | es2fDepthStencilClearTests.cpp | 440 tcu::RGBA newColor = tcu::RGBA(oldColor.getRed(), oldColor.getGreen(), deClamp32(deRoundFloatToInt32(step * 255.0f), 0, 255), oldColor.getAlpha()); in renderReference() 488 tcu::RGBA newColor = tcu::RGBA(oldColor.getRed(), deClamp32(deRoundFloatToInt32(step * 255.0f), 0, 255), oldColor.getBlue(), oldColor.getAlpha()); in renderReference()
|
H A D | es2fShaderInvarianceTests.cpp | 370 if (col.getRed() != 0) in checkImage()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fShaderTextureSizeTests.cpp | 501 if (color.getRed() < colorThresholdRed && color.getGreen() > 255 - colorThresholdGreen && color.getBlue() < colorThresholdBlue) 507 else if (color.getRed() > 255 - colorThresholdRed && color.getGreen() < colorThresholdGreen && color.getBlue() < colorThresholdBlue)
|
H A 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(); 1822 int redBits = (int)deFloatRound((float)lowColor.getRed() / 255.0f * 31); 1829 int redBits = (int)deFloatRound((float)highColor.getRed() / 255.0f * 31);
|
H A D | es31fSampleShadingTests.cpp | 381 const deUint32 packed = ((deUint32)color.getRed()) + ((deUint32)color.getGreen() << 8) + ((deUint32)color.getGreen() << 16);
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcLayoutLocationTests.cpp | 521 << expectedColor.getRed() << ", " << expectedColor.getGreen() << ", " in iterate() 523 << pixel.getRed() << ", " << pixel.getGreen() << ", " << pixel.getBlue() << ", " in iterate()
|
H A D | glcShaderLibraryCase.cpp | 240 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/vk-gl-cts/modules/glshared/ |
H A D | glsVertexArrayTests.cpp | 1761 error.setPixel(x, y, tcu::RGBA(screenPixel.getRed(), (screenPixel.getGreen() + 255) / 2, screenPixel.getBlue(), 255)); 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() + 255) / 2, screen.getPixel(x, y).getBlue(), 255)); in compare()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/ |
H A D | vktTextureSwizzleTests.cpp | 258 swizzled[ndx] = bitDepth[0] ? original.getRed() : zero; in iterate()
|