Home
last modified time | relevance | path

Searched refs:getRed (Results 1 – 25 of 58) 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.hpp119 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_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(p); in swizzle_mask24_to_rgba_unpremul()
[all …]
DSkMasks.h41 uint8_t getRed(uint32_t pixel) const;
DSkMasks.cpp71 uint8_t SkMasks::getRed(uint32_t pixel) const { in getRed() function in SkMasks
/external/skqp/src/codec/
DSkMaskSwizzler.cpp21 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(p); in swizzle_mask24_to_rgba_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/deqp/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.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()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/immutable/
DImmutablesRepresenter.java77 Arrays.asList(new Integer[] { color.getRed(), color.getGreen(), in representData()
/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()
/external/ImageMagick/MagickCore/
Daccelerate-kernels-private.h379 static inline CLQuantum getRed(CLPixelType p) { return p.z; }
1152 float red=(float)getRed(im[c]);
1192 ePos = ScaleQuantumToMap(getRed(oValue));
1194 red = getRed(eValue);
1652 ePos = ScaleQuantumToMap(getRed(oValue));
1654 red = getRed(eValue);
1657 green = getRed(eValue);
1660 blue = getRed(eValue);
1663 alpha = getRed(eValue);
2132 red=getRed(pixel);
/external/deqp/modules/gles31/functional/
Des31fShaderTextureSizeTests.cpp501 …if (color.getRed() < colorThresholdRed && color.getGreen() > 255 - colorThresholdGreen && color.ge… in verifyImage()
507 …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()
832 colorSum.x() += color.getRed(); in verifySampleBuffers()
1812 int redBits = (int)deFloatRound((float)lowColor.getRed() / 255.0f * 31); in postTest()
1819 int redBits = (int)deFloatRound((float)highColor.getRed() / 255.0f * 31); in postTest()
/external/skqp/src/gpu/text/
DGrStrikeCache.cpp104 uint32_t colorRGBA = GrColorPackRGBA(masks.getRed(color565), in get_packed_glyph_image()
/external/deqp/external/openglcts/modules/common/
DglcLayoutLocationTests.cpp521 << expectedColor.getRed() << ", " << expectedColor.getGreen() << ", " in iterate()
523 << pixel.getRed() << ", " << pixel.getGreen() << ", " << pixel.getBlue() << ", " in iterate()
/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()

123