Home
last modified time | relevance | path

Searched refs:getRed (Results 1 – 25 of 51) sorted by relevance

123

/external/deqp/framework/common/
DtcuRGBA.hpp79 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 <<()
DtcuRGBA.cpp42 return Vec4(float(getRed()) / 255.0f, in toVec()
50 return IVec4(getRed(), getGreen(), getBlue(), getAlpha()); in toIVec()
DtcuPixelFormat.hpp93 return RGBA(convertChannel(col.getRed(), redBits), in convertColor()
DtcuSurface.hpp80 *((deUint8*)pixAddr + 0) = (deUint8)col.getRed(); in setPixel()
/external/skia/src/codec/
DSkMaskSwizzler.cpp21 uint8_t red = masks->getRed(p); in swizzle_mask16_to_n32_opaque()
38 uint8_t red = masks->getRed(p); in swizzle_mask16_to_n32_unpremul()
56 uint8_t red = masks->getRed(p); in swizzle_mask16_to_n32_premul()
76 uint8_t red = masks->getRed(p); in swizzle_mask16_to_565()
93 uint8_t red = masks->getRed(p); in swizzle_mask24_to_n32_opaque()
110 uint8_t red = masks->getRed(p); in swizzle_mask24_to_n32_unpremul()
128 uint8_t red = masks->getRed(p); in swizzle_mask24_to_n32_premul()
146 uint8_t red = masks->getRed(p); in swizzle_mask24_to_565()
163 uint8_t red = masks->getRed(p); in swizzle_mask32_to_n32_opaque()
180 uint8_t red = masks->getRed(p); in swizzle_mask32_to_n32_unpremul()
[all …]
DSkMasks.h55 uint8_t getRed(uint32_t pixel) const;
DSkMasks.cpp71 uint8_t SkMasks::getRed(uint32_t pixel) const { in getRed() function in SkMasks
/external/proguard/src/proguard/gui/splash/
DLinearColor.java65 … new Color((int)(fromValue.getRed() + t * (toValue.getRed() - fromValue.getRed())), in getColor()
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/
DDrawUtils.java340 int r = Math.max(0, Math.min(color.getRed() + delta, 255)); in getShiftedColor()
351 (int) Math.sqrt(c.getRed() in isDarkColor()
352 * c.getRed() in isDarkColor()
/external/deqp/modules/gles2/functional/
Des2fDefaultVertexAttributeTests.cpp441 if (de::abs(color.getRed() - refColor.getRed()) > colorThreshold.getRed() || in verifyUnicoloredBuffer()
Des2fColorClearTest.cpp202 if ((clearMask & 0x1) && !(spanKnownMask & 0x1)) spanColor.setRed(clearCol.getRed()); in iterate()
244 colorThreshold.setRed(colorThreshold.getRed() + 1); in iterate()
Des2fDepthStencilClearTests.cpp440 …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()
Des2fShaderInvarianceTests.cpp370 if (col.getRed() != 0) in checkImage()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/immutable/
DImmutablesRepresenter.java77 Arrays.asList(new Integer[] { color.getRed(), color.getGreen(), in representData()
/external/deqp/modules/gles3/functional/
Des3fColorClearTest.cpp202 if ((clearMask & 0x1) && !(spanKnownMask & 0x1)) spanColor.setRed(clearCol.getRed()); in iterate()
244 colorThreshold.setRed(colorThreshold.getRed() + 1); in iterate()
Des3fDefaultVertexAttributeTests.cpp518 if (de::abs(color.getRed() - refColor.getRed()) > colorThreshold.getRed() || in verifyUnicoloredBuffer()
Des3fDepthStencilClearTests.cpp443 …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()
Des3fTextureSwizzleTests.cpp52 case GL_RED: return c.getRed(); in swizzle()
Des3fRasterizerDiscardTests.cpp388 if (pixels.getPixel(x,y).getRed() != 0) in iterate()
Des3fShaderInvarianceTests.cpp370 if (col.getRed() != 0) in checkImage()
/external/deqp/modules/gles31/functional/
Des31fShaderTextureSizeTests.cpp466 …if (color.getRed() < colorThresholdRed && color.getGreen() > 255 - colorThresholdGreen && color.ge… in verifyImage()
472 …else if (color.getRed() > 255 - colorThresholdRed && color.getGreen() < colorThresholdGreen && col… in verifyImage()
Des31fSampleVariableTests.cpp86 << ((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()
831 colorSum.x() += color.getRed(); in verifySampleBuffers()
1800 int redBits = (int)deFloatRound((float)lowColor.getRed() / 255.0f * 31); in postTest()
1807 int redBits = (int)deFloatRound((float)highColor.getRed() / 255.0f * 31); in postTest()
Des31fSampleShadingTests.cpp374 …const deUint32 packed = ((deUint32)color.getRed()) + ((deUint32)color.getGreen() << 8) + ((deUint3… in verifyImage()
/external/deqp/modules/glshared/
DglsVertexArrayTests.cpp1843 …error.setPixel(x, y, tcu::RGBA(screenPixel.getRed(), (screenPixel.getGreen() + 255) / 2, screenPix… in compare()
1865 deUint8 r = (deUint8)deAbs32(refPixel.getRed() - screenCmpPixel.getRed()); in compare()
1876 deUint8 r = (deUint8)deAbs32(refCmpPixel.getRed() - screenPixel.getRed()); in compare()
1888 …error.setPixel(x, y, tcu::RGBA(screen.getPixel(x, y).getRed(), (screen.getPixel(x, y).getGreen() +… in compare()
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/table/
DHtmlTooltipHelper.java291 String colorString = "#" + Integer.toHexString(color.getRed()); in getColorWebString()

123