Home
last modified time | relevance | path

Searched refs:getBlue (Results 1 - 25 of 54) sorted by relevance

123

/third_party/vk-gl-cts/framework/common/
H A DtcuRGBA.hpp81 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 DtcuRGBA.cpp44 float(getBlue()) / 255.0f, in toVec()
50 return IVec4(getRed(), getGreen(), getBlue(), getAlpha()); in toIVec()
H A DtcuPixelFormat.hpp121 convertChannel(col.getBlue(), blueBits), in convertColor()
H A DtcuSurface.hpp82 *((deUint8*)pixAddr + 2) = (deUint8)col.getBlue(); in setPixel()
/third_party/skia/src/codec/
H A DSkMaskSwizzler.cpp23 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 DSkMasks.h43 uint8_t getBlue(uint32_t pixel) const;
H A DSkMasks.cpp77 uint8_t SkMasks::getBlue(uint32_t pixel) const { in getBlue() function in SkMasks
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fMultiviewTests.cpp306 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 Des3fColorClearTest.cpp204 if ((clearMask & 0x4) && !(spanKnownMask & 0x4)) spanColor.setBlue(clearCol.getBlue()); in iterate()
246 colorThreshold.setBlue(colorThreshold.getBlue() + 1); in iterate()
H A Des3fDefaultVertexAttributeTests.cpp520 de::abs(color.getBlue() - refColor.getBlue()) > colorThreshold.getBlue()) in verifyUnicoloredBuffer()
H A Des3fTextureSwizzleTests.cpp55 case GL_BLUE: return c.getBlue(); in swizzle()
H A Des3fRasterizerDiscardTests.cpp385 if (pixels.getPixel(x,y).getBlue() != 0) in iterate()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fColorClearTest.cpp204 if ((clearMask & 0x4) && !(spanKnownMask & 0x4)) spanColor.setBlue(clearCol.getBlue()); in iterate()
246 colorThreshold.setBlue(colorThreshold.getBlue() + 1); in iterate()
H A Des2fDefaultVertexAttributeTests.cpp443 de::abs(color.getBlue() - refColor.getBlue()) > colorThreshold.getBlue()) in verifyUnicoloredBuffer()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fShaderTextureSizeTests.cpp501 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 Des31fSampleVariableTests.cpp88 << ((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 Des31fShaderHelperInvocationTests.cpp587 const bool nonZeroDeriv = resPix.getBlue() > 0; in verifyHelperInvocationDerivate()
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcLayoutLocationTests.cpp522 << expectedColor.getBlue() << ", " << expectedColor.getAlpha() << "], got [" in iterate()
523 << pixel.getRed() << ", " << pixel.getGreen() << ", " << pixel.getBlue() << ", " in iterate()
H A 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/vk-gl-cts/modules/glshared/
H A DglsVertexArrayTests.cpp1761 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 DvktTessellationGeometryGridRenderTests.cpp548 if (color.getGreen() < 255 - threshold || color.getBlue() > threshold) in verifyResultLayer()
/third_party/vk-gl-cts/modules/gles31/stress/
H A Des31sTessellationGeometryInteractionTests.cpp398 if (color.getGreen() < 255 - threshold || color.getBlue() > threshold) in verifyResultLayer()
H A Des31sVertexAttributeBindingTests.cpp94 if (de::abs(pixel.getBlue() - 0) > colorThreshold) in verifyImageYellowGreen()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/
H A DvktTessellationGeometryGridRenderTests.cpp551 if (color.getGreen() < 255 - threshold || color.getBlue() > threshold) in verifyResultLayer()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/
H A DvktTextureSwizzleTests.cpp264 swizzled[ndx] = bitDepth[2] ? original.getBlue() : zero; in iterate()

Completed in 30 milliseconds

123