/third_party/vk-gl-cts/framework/common/ |
H A D | tcuRGBA.hpp | 81 int getBlue (void) const { return (int)((m_value >> (deUint32)BLUE_SHIFT) & 0xFFu); } in getBlue() 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() 121 deAbs32(a.getBlue() - b.getBlue()), in computeAbsDiff() 133 (int)(it*(float)a.getBlue() + t*(float)b.getBlue() + 0.5f), in blend() 147 deMax32(a.getBlue(), b.getBlue()), in max() [all...] |
H A D | tcuRGBA.cpp | 44 float(getBlue()) / 255.0f, in toVec() 50 return IVec4(getRed(), getGreen(), getBlue(), getAlpha()); in toIVec()
|
H A D | tcuPixelFormat.hpp | 121 convertChannel(col.getBlue(), blueBits), in convertColor()
|
H A D | tcuSurface.hpp | 82 *((deUint8*)pixAddr + 2) = (deUint8)col.getBlue(); in setPixel()
|
/third_party/skia/src/codec/ |
H A D | SkMaskSwizzler.cpp | 23 uint8_t blue = masks->getBlue(p); in swizzle_mask16_to_rgba_opaque() 40 uint8_t blue = masks->getBlue(p); in swizzle_mask16_to_bgra_opaque() 57 uint8_t blue = masks->getBlue(p); in swizzle_mask16_to_rgba_unpremul() 75 uint8_t blue = masks->getBlue(p); in swizzle_mask16_to_bgra_unpremul() 93 uint8_t blue = masks->getBlue(p); in swizzle_mask16_to_rgba_premul() 111 uint8_t blue = masks->getBlue(p); in swizzle_mask16_to_bgra_premul() 131 uint8_t blue = masks->getBlue(p); in swizzle_mask16_to_565() 148 uint8_t blue = masks->getBlue(p); in swizzle_mask24_to_rgba_opaque() 165 uint8_t blue = masks->getBlue(p); in swizzle_mask24_to_bgra_opaque() 182 uint8_t blue = masks->getBlue( in swizzle_mask24_to_rgba_unpremul() [all...] |
H A D | SkMasks.h | 43 uint8_t getBlue(uint32_t pixel) const;
|
H A D | SkMasks.cpp | 77 uint8_t SkMasks::getBlue(uint32_t pixel) const { in getBlue() 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 | 204 if ((clearMask & 0x4) && !(spanKnownMask & 0x4)) spanColor.setBlue(clearCol.getBlue()); in iterate() 246 colorThreshold.setBlue(colorThreshold.getBlue() + 1); in iterate()
|
H A D | es3fDefaultVertexAttributeTests.cpp | 520 de::abs(color.getBlue() - refColor.getBlue()) > colorThreshold.getBlue()) in verifyUnicoloredBuffer()
|
H A D | es3fTextureSwizzleTests.cpp | 55 case GL_BLUE: return c.getBlue(); in swizzle()
|
H A D | es3fRasterizerDiscardTests.cpp | 385 if (pixels.getPixel(x,y).getBlue() != 0) in iterate()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fColorClearTest.cpp | 204 if ((clearMask & 0x4) && !(spanKnownMask & 0x4)) spanColor.setBlue(clearCol.getBlue()); in iterate() 246 colorThreshold.setBlue(colorThreshold.getBlue() + 1); in iterate()
|
H A D | es2fDefaultVertexAttributeTests.cpp | 443 de::abs(color.getBlue() - refColor.getBlue()) > colorThreshold.getBlue()) in verifyUnicoloredBuffer()
|
/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 | 88 << ((m_threshold[2] >= 255) ? ("*") : (de::toString(m_color.getBlue()))) << ")" in logInfo() 113 if (testColor.getBlue() != 255) in verify() 176 const tcu::Vec2 avgPosition ((float)testColor.getGreen() / 255.0f, (float)testColor.getBlue() / 255.0f); in verify() 772 samplePositions[sampleNdx] = tcu::Vec2((float)color.getGreen() / 255.0f, (float)color.getBlue() / 255.0f); 842 colorSum.y() += color.getBlue(); 1824 int blueBits = (int)deFloatRound((float)lowColor.getBlue() / 255.0f * 31); 1831 int blueBits = (int)deFloatRound((float)highColor.getBlue() / 255.0f * 31);
|
H A D | es31fShaderHelperInvocationTests.cpp | 587 const bool nonZeroDeriv = resPix.getBlue() > 0; in verifyHelperInvocationDerivate()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcLayoutLocationTests.cpp | 522 << expectedColor.getBlue() << ", " << expectedColor.getAlpha() << "], got [" 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() 1785 deUint8 b = (deUint8)deAbs32(refPixel.getBlue() - screenCmpPixel.getBlue()); in compare() 1796 deUint8 b = (deUint8)deAbs32(refCmpPixel.getBlue() - screenPixel.getBlue()); 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/vulkan/tessellation/ |
H A D | vktTessellationGeometryGridRenderTests.cpp | 548 if (color.getGreen() < 255 - threshold || color.getBlue() > threshold) in verifyResultLayer()
|
/third_party/vk-gl-cts/modules/gles31/stress/ |
H A D | es31sTessellationGeometryInteractionTests.cpp | 398 if (color.getGreen() < 255 - threshold || color.getBlue() > threshold) in verifyResultLayer()
|
H A D | es31sVertexAttributeBindingTests.cpp | 94 if (de::abs(pixel.getBlue() - 0) > colorThreshold) in verifyImageYellowGreen()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/ |
H A D | vktTessellationGeometryGridRenderTests.cpp | 551 if (color.getGreen() < 255 - threshold || color.getBlue() > threshold) in verifyResultLayer()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/ |
H A D | vktTextureSwizzleTests.cpp | 264 swizzled[ndx] = bitDepth[2] ? original.getBlue() : zero; in iterate()
|