Home
last modified time | relevance | path

Searched refs:getBlue (Results 1 – 25 of 55) sorted by relevance

123

/third_party/vk-gl-cts/framework/common/
DtcuRGBA.hpp81 int getBlue (void) const { return (int)((m_value >> (deUint32)BLUE_SHIFT) & 0xFFu); } in getBlue() function in tcu::RGBA
85 …getRed() <= thr.getRed()) && (getGreen() <= thr.getGreen()) && (getBlue() <= thr.getBlue()) && (ge… in isBelowThreshold()
88 …= (deUint8)getRed(); bytes[1] = (deUint8)getGreen(); bytes[2] = (deUint8)getBlue(); bytes[3] = (de… 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()
160 deClamp32(a.getBlue() + b.getBlue(), 0, 255), in operator +()
168 deClamp32(a.getBlue() - b.getBlue(), 0, 255), in operator -()
176 deClamp32(a.getBlue() * b, 0, 255), in operator *()
182 …return stream << "RGBA(" << c.getRed() << ", " << c.getGreen() << ", " << c.getBlue() << ", " << c… in operator <<()
DtcuRGBA.cpp44 float(getBlue()) / 255.0f, in toVec()
50 return IVec4(getRed(), getGreen(), getBlue(), getAlpha()); in toIVec()
DtcuPixelFormat.hpp121 convertChannel(col.getBlue(), blueBits), in convertColor()
DtcuSurface.hpp82 *((deUint8*)pixAddr + 2) = (deUint8)col.getBlue(); in setPixel()
/third_party/skia/src/codec/
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(p); in swizzle_mask24_to_rgba_unpremul()
[all …]
DSkMasks.h43 uint8_t getBlue(uint32_t pixel) const;
DSkMasks.cpp77 uint8_t SkMasks::getBlue(uint32_t pixel) const { in getBlue() 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.cpp204 if ((clearMask & 0x4) && !(spanKnownMask & 0x4)) spanColor.setBlue(clearCol.getBlue()); in iterate()
246 colorThreshold.setBlue(colorThreshold.getBlue() + 1); in iterate()
Des3fDefaultVertexAttributeTests.cpp520 de::abs(color.getBlue() - refColor.getBlue()) > colorThreshold.getBlue()) in verifyUnicoloredBuffer()
Des3fTextureSwizzleTests.cpp55 case GL_BLUE: return c.getBlue(); in swizzle()
Des3fRasterizerDiscardTests.cpp385 if (pixels.getPixel(x,y).getBlue() != 0) in iterate()
Des3fDepthStencilClearTests.cpp491 …etRed(), deClamp32(deRoundFloatToInt32(step * 255.0f), 0, 255), oldColor.getBlue(), oldColor.getAl… in renderReference()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fDefaultVertexAttributeTests.cpp443 de::abs(color.getBlue() - refColor.getBlue()) > colorThreshold.getBlue()) in verifyUnicoloredBuffer()
Des2fColorClearTest.cpp204 if ((clearMask & 0x4) && !(spanKnownMask & 0x4)) spanColor.setBlue(clearCol.getBlue()); in iterate()
246 colorThreshold.setBlue(colorThreshold.getBlue() + 1); in iterate()
Des2fDepthStencilClearTests.cpp488 …etRed(), deClamp32(deRoundFloatToInt32(step * 255.0f), 0, 255), oldColor.getBlue(), oldColor.getAl… in renderReference()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fShaderTextureSizeTests.cpp501 …lorThresholdRed && color.getGreen() > 255 - colorThresholdGreen && color.getBlue() < colorThreshol… in verifyImage()
507 …5 - colorThresholdRed && color.getGreen() < colorThresholdGreen && color.getBlue() < colorThreshol… in verifyImage()
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() /… in verify()
772 …samplePositions[sampleNdx] = tcu::Vec2((float)color.getGreen() / 255.0f, (float)color.getBlue() / … in verifySampleBuffers()
842 colorSum.y() += color.getBlue(); in verifySampleBuffers()
1824 int blueBits = (int)deFloatRound((float)lowColor.getBlue() / 255.0f * 31); in postTest()
1831 int blueBits = (int)deFloatRound((float)highColor.getBlue() / 255.0f * 31); in postTest()
/third_party/vk-gl-cts/modules/glshared/
DglsVertexArrayTests.cpp1761 …, 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 … y).getRed(), (screen.getPixel(x, y).getGreen() + 255) / 2, screen.getPixel(x, y).getBlue(), 255)); in compare()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcLayoutLocationTests.cpp522 << expectedColor.getBlue() << ", " << expectedColor.getAlpha() << "], got [" 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.cpp117 masks.getBlue(color565), in get_packed_glyph_image()
/third_party/vk-gl-cts/modules/gles31/stress/
Des31sTessellationGeometryInteractionTests.cpp395 if (color.getGreen() < 255 - threshold || color.getBlue() > threshold) in verifyResultLayer()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationGeometryGridRenderTests.cpp551 if (color.getGreen() < 255 - threshold || color.getBlue() > threshold) in verifyResultLayer()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/
DvktTessellationGeometryGridRenderTests.cpp551 if (color.getGreen() < 255 - threshold || color.getBlue() > threshold) in verifyResultLayer()

123