HomeSort by relevance Sort by last modified time
    Searched refs:RGBA (Results 1 - 25 of 197) sorted by null

1 2 3 4 5 6 7 8

  /external/deqp/framework/common/
tcuRGBA.cpp 30 const RGBA RGBA::red (0xFF, 0x0, 0x0, 0xFF);
31 const RGBA RGBA::green (0x0, 0xFF, 0x0, 0xFF);
32 const RGBA RGBA::blue (0x0, 0x0, 0xFF, 0xFF);
33 const RGBA RGBA::gray (0x80, 0x80, 0x80, 0xFF);
34 const RGBA RGBA::white (0xFF, 0xFF, 0xFF, 0xFF)
    [all...]
tcuRGBA.hpp 38 class RGBA
57 RGBA (void) { m_value = 0; }
59 RGBA (int r, int g, int b, int a)
68 explicit RGBA (deUint32 val)
73 explicit RGBA (const Vec4& v);
85 bool isBelowThreshold (RGBA thr) const { return (getRed() <= thr.getRed()) && (getGreen() <= thr.getGreen()) && (getBlue() <= thr.getBlue()) && (getAlpha() <= thr.getAlpha()); }
87 static RGBA fromBytes (const deUint8* bytes) { return RGBA(bytes[0], bytes[1], bytes[2], bytes[3]); }
92 bool operator== (const RGBA& v) const { return (m_value == v.m_value); }
93 bool operator!= (const RGBA& v) const { return (m_value != v.m_value);
    [all...]
tcuBilinearImageCompare.hpp 33 class RGBA;
35 bool bilinearCompare (const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const PixelBufferAccess& errorMask, const RGBA threshold);
tcuSurface.hpp 56 void setPixel (int x, int y, RGBA col);
57 RGBA getPixel (int x, int y) const;
73 inline void Surface::setPixel (int x, int y, RGBA col)
90 inline RGBA Surface::getPixel (int x, int y) const
97 DE_STATIC_ASSERT(RGBA::RED_SHIFT == 0 && RGBA::GREEN_SHIFT == 8 && RGBA::BLUE_SHIFT == 16 && RGBA::ALPHA_SHIFT == 24);
100 return RGBA(*pixAddr);
103 return RGBA(byteAddr[0], byteAddr[1], byteAddr[2], byteAddr[3])
    [all...]
tcuPixelFormat.hpp 64 inline RGBA getColorThreshold (void) const
66 return RGBA(
91 inline RGBA convertColor (const RGBA& col) const
93 return RGBA(convertChannel(col.getRed(), redBits),
tcuBilinearImageCompare.cpp 41 // tcu::RGBA::*_SHIFT values.
61 inline RGBA readRGBA8 (const ConstPixelBufferAccess& src, deUint32 x, deUint32 y)
66 res |= getChannel<0>(raw) << RGBA::RED_SHIFT;
67 res |= getChannel<1>(raw) << RGBA::GREEN_SHIFT;
68 res |= getChannel<2>(raw) << RGBA::BLUE_SHIFT;
69 res |= getChannel<3>(raw) << RGBA::ALPHA_SHIFT;
71 return RGBA(res);
86 RGBA bilinearSampleRGBA8 (const ConstPixelBufferAccess& access, deUint32 u, deUint32 v)
106 res |= interpolateChannel(fx1, fy1, getChannel<0>(p00), getChannel<0>(p01), getChannel<0>(p10), getChannel<0>(p11)) << RGBA::RED_SHIFT;
107 res |= interpolateChannel(fx1, fy1, getChannel<1>(p00), getChannel<1>(p01), getChannel<1>(p10), getChannel<1>(p11)) << RGBA::GREEN_SHIFT
    [all...]
tcuImageCompare.hpp 32 class RGBA;
47 bool pixelThresholdCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const Surface& reference, const Surface& result, const RGBA& threshold, CompareLogMode logMode);
59 bool bilinearCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const RGBA threshold, CompareLogMode logMode);
  /external/deqp/modules/internal/
ditImageCompareTests.cpp 48 dst.setStorage(tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), tmp.getWidth(), tmp.getHeight());
110 BilinearCompareCase (tcu::TestContext& testCtx, const char* name, const char* refImg, const char* cmpImg, const tcu::RGBA& threshold, bool expectedResult)
149 const tcu::RGBA m_threshold;
189 addChild(new BilinearCompareCase(m_testCtx, "identical", "cube_ref.png", "cube_ref.png", tcu::RGBA(0,0,0,0), true));
190 addChild(new BilinearCompareCase(m_testCtx, "empty_to_white", "empty_256x256.png", "white_256x256.png", tcu::RGBA(7,7,7,2), false));
191 addChild(new BilinearCompareCase(m_testCtx, "white_to_empty", "white_256x256.png", "empty_256x256.png", tcu::RGBA(7,7,7,2), false));
192 addChild(new BilinearCompareCase(m_testCtx, "cube", "cube_ref.png", "cube_cmp.png", tcu::RGBA(7,7,7,2), false));
193 addChild(new BilinearCompareCase(m_testCtx, "cube_2", "cube_2_ref.png", "cube_2_cmp.png", tcu::RGBA(7,7,7,2), false));
194 addChild(new BilinearCompareCase(m_testCtx, "cube_sphere", "cube_sphere_ref.png", "cube_sphere_cmp.png", tcu::RGBA(7,7,7,2), false));
195 addChild(new BilinearCompareCase(m_testCtx, "cube_nmap", "cube_nmap_ref.png", "cube_nmap_cmp.png", tcu::RGBA(7,7,7,2), false))
    [all...]
  /external/deqp/modules/gles2/functional/
es2fColorClearTest.cpp 40 using tcu::RGBA;
90 ClearInfo (const tcu::IVec4& rect, deUint8 colorMask, tcu::RGBA color)
97 tcu::RGBA m_color;
149 RGBA clearCol(r, g, b, a);
186 tcu::RGBA spanColor;
200 tcu::RGBA clearCol = op.m_color;
236 RGBA colorThreshold = pixelFormat.getColorThreshold();
237 RGBA matchColor(0, 255, 0, 255);
238 RGBA diffColor(255, 0, 0, 255);
239 RGBA maxDiff(0, 0, 0, 0)
    [all...]
es2fPrerequisiteTests.cpp 36 using tcu::RGBA;
88 RGBA m_clearColor;
234 RGBA colorThreshold = pixelFormat.getColorThreshold();
235 RGBA matchColor(0, 255, 0, 255);
236 RGBA diffColor(255, 0, 0, 255);
243 RGBA resRGBA = resImage.getPixel(i, j);
244 RGBA refRGBA = refImage.getPixel(i, j);
es2fShaderFragDataTests.cpp 64 static bool compareSingleColor (tcu::TestLog& log, const tcu::Surface& surface, tcu::RGBA expectedColor, tcu::RGBA threshold)
75 const tcu::RGBA resultColor = surface.getPixel(x, y);
201 const tcu::RGBA threshold = renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1);
207 isOk = compareSingleColor(m_testCtx.getLog(), result, tcu::RGBA::green, threshold);
es2fDitheringTests.cpp 108 bool checkColor (const tcu::Vec4& inputClr, const tcu::RGBA& renderedClr, bool logErrors) const;
168 bool DitheringCase::checkColor (const Vec4& inputClr, const tcu::RGBA& renderedClr, const bool logErrors) const
294 errorMask.setPixel(x, y, tcu::RGBA::red);
303 errorMask.setPixel(x, y, tcu::RGBA::green);
323 tcu::RGBA prevConstantDirectionPix;
328 const tcu::RGBA clr = renderedImg.getPixel(x, y);
397 errorMask.setPixel(x, y, tcu::RGBA::red);
406 errorMask.setPixel(x, y, tcu::RGBA::green);
421 const tcu::RGBA renderedClr00 = renderedImg.getPixel(0, 0);
427 const tcu::RGBA curClr = renderedImg.getPixel(x, y)
    [all...]
  /external/deqp/modules/gles3/functional/
es3fColorClearTest.cpp 40 using tcu::RGBA;
90 ClearInfo (const tcu::IVec4& rect, deUint8 colorMask, tcu::RGBA color)
97 tcu::RGBA m_color;
149 RGBA clearCol(r, g, b, a);
186 tcu::RGBA spanColor;
200 tcu::RGBA clearCol = op.m_color;
236 RGBA colorThreshold = pixelFormat.getColorThreshold();
237 RGBA matchColor(0, 255, 0, 255);
238 RGBA diffColor(255, 0, 0, 255);
239 RGBA maxDiff(0, 0, 0, 0)
    [all...]
es3fShaderFragDataTests.cpp 64 static bool compareSingleColor (tcu::TestLog& log, const tcu::Surface& surface, tcu::RGBA expectedColor, tcu::RGBA threshold)
75 const tcu::RGBA resultColor = surface.getPixel(x, y);
201 const tcu::RGBA threshold = renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1);
207 isOk = compareSingleColor(m_testCtx.getLog(), result, tcu::RGBA::green, threshold);
299 gl.clearBufferfv(GL_COLOR, 0, tcu::RGBA::red.toVec().getPtr());
300 gl.clearBufferfv(GL_COLOR, 1, tcu::RGBA::red.toVec().getPtr());
319 const tcu::RGBA threshold = renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1)
    [all...]
es3fPrerequisiteTests.cpp 36 using tcu::RGBA;
88 RGBA m_clearColor;
234 RGBA colorThreshold = pixelFormat.getColorThreshold();
235 RGBA matchColor(0, 255, 0, 255);
236 RGBA diffColor(255, 0, 0, 255);
243 RGBA resRGBA = resImage.getPixel(i, j);
244 RGBA refRGBA = refImage.getPixel(i, j);
es3fDitheringTests.cpp 108 bool checkColor (const tcu::Vec4& inputClr, const tcu::RGBA& renderedClr, bool logErrors) const;
168 bool DitheringCase::checkColor (const Vec4& inputClr, const tcu::RGBA& renderedClr, const bool logErrors) const
294 errorMask.setPixel(x, y, tcu::RGBA::red);
303 errorMask.setPixel(x, y, tcu::RGBA::green);
323 tcu::RGBA prevConstantDirectionPix;
328 const tcu::RGBA clr = renderedImg.getPixel(x, y);
397 errorMask.setPixel(x, y, tcu::RGBA::red);
406 errorMask.setPixel(x, y, tcu::RGBA::green);
421 const tcu::RGBA renderedClr00 = renderedImg.getPixel(0, 0);
427 const tcu::RGBA curClr = renderedImg.getPixel(x, y)
    [all...]
  /external/chromium_org/chrome/utility/cloud_print/
bitmap_image.h 18 RGBA,
  /external/deqp/framework/opengl/
gluTextureUtil.cpp 78 case TextureFormat::RGBA: format = isInt ? GL_RGBA_INTEGER : GL_RGBA; break;
142 case FMT_CASE(RGBA, UNORM_SHORT_5551): return GL_RGB5_A1;
143 case FMT_CASE(RGBA, UNORM_SHORT_4444): return GL_RGBA4;
148 case FMT_CASE(RGBA, FLOAT): return GL_RGBA32F;
149 case FMT_CASE(RGBA, SIGNED_INT32): return GL_RGBA32I;
150 case FMT_CASE(RGBA, UNSIGNED_INT32): return GL_RGBA32UI;
151 case FMT_CASE(RGBA, UNORM_INT16): return GL_RGBA16;
152 case FMT_CASE(RGBA, SNORM_INT16): return GL_RGBA16_SNORM;
153 case FMT_CASE(RGBA, HALF_FLOAT): return GL_RGBA16F;
154 case FMT_CASE(RGBA, SIGNED_INT16): return GL_RGBA16I
    [all...]
  /external/chromium_org/chrome/browser/resources/local_ntp/
instant_iframe_validation.js 30 * Validates a RGBA color component. It must be a number between 0 and 255.
31 * @param {number} component An RGBA component.
40 * Converts an Array of color components into RGBA format "rgba(R,G,B,A)".
41 * @param {Array.<number>} rgbaColor Array of rgba color components.
42 * @return {?string} CSS color in RGBA format or null if invalid.
51 return 'rgba(' +
  /external/chromium_org/third_party/mesa/src/docs/OLD/
MESA_packed_depth_stencil.spec 92 RGBA Color R, G, B, A components
116 UNSIGNED_SHORT_4_4_4_4 ushort 4 RGBA,BGRA,ABGR_EXT,CMYK_EXT
117 UNSIGNED_SHORT_4_4_4_4_REV ushort 4 RGBA,BGRA
118 UNSIGNED_SHORT_5_5_5_1 ushort 4 RGBA,BGRA,ABGR_EXT,CMYK_EXT
119 UNSIGNED_SHORT_1_5_5_5_REV ushort 4 RGBA,BGRA
120 UNSIGNED_INT_8_8_8_8 uint 4 RGBA,BGRA,ABGR_EXT,CMYK_EXT
121 UNSIGNED_INT_8_8_8_8_REV uint 4 RGBA,BGRA
122 UNSIGNED_INT_10_10_10_2 uint 4 RGBA,BGRA,ABGR_EXT,CMYK_EXT
123 UNSIGNED_INT_2_10_10_10_REV uint 4 RGBA,BGRA
178 RGBA red green blue alph
    [all...]
  /external/mesa3d/docs/OLD/
MESA_packed_depth_stencil.spec 92 RGBA Color R, G, B, A components
116 UNSIGNED_SHORT_4_4_4_4 ushort 4 RGBA,BGRA,ABGR_EXT,CMYK_EXT
117 UNSIGNED_SHORT_4_4_4_4_REV ushort 4 RGBA,BGRA
118 UNSIGNED_SHORT_5_5_5_1 ushort 4 RGBA,BGRA,ABGR_EXT,CMYK_EXT
119 UNSIGNED_SHORT_1_5_5_5_REV ushort 4 RGBA,BGRA
120 UNSIGNED_INT_8_8_8_8 uint 4 RGBA,BGRA,ABGR_EXT,CMYK_EXT
121 UNSIGNED_INT_8_8_8_8_REV uint 4 RGBA,BGRA
122 UNSIGNED_INT_10_10_10_2 uint 4 RGBA,BGRA,ABGR_EXT,CMYK_EXT
123 UNSIGNED_INT_2_10_10_10_REV uint 4 RGBA,BGRA
178 RGBA red green blue alph
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/canvas/
CanvasStyle.cpp 61 RGBA32 rgba = Color::black;
62 CSSParser::parseColor(rgba, canvas->inlineStyle()->getPropertyValue(CSSPropertyColor));
63 return rgba;
90 CanvasStyle::CanvasStyle(RGBA32 rgba)
91 : m_type(RGBA)
92 , m_rgba(rgba)
97 : m_type(RGBA)
103 : m_type(RGBA)
129 RGBA32 rgba; local
130 ColorParseResult parseResult = parseColor(rgba, color)
147 RGBA32 rgba; local
    [all...]
  /external/deqp/framework/egl/
egluConfigFilter.hpp 120 FilterList operator== (tcu::RGBA bits) const;
121 FilterList operator>= (tcu::RGBA bits) const;
  /external/deqp/modules/glshared/
glsTextureTestUtil.hpp 240 inline tcu::RGBA toRGBA (const tcu::Vec4& v)
243 return tcu::RGBA(deClamp32(deRoundFloatToInt32(v.x()*255.0f), 0, 255),
249 inline tcu::RGBA toRGBAMasked (const tcu::Vec4& v, deUint8 mask)
252 return tcu::RGBA((mask&tcu::RGBA::RED_MASK) ? deClamp32(deRoundFloatToInt32(v.x()*255.0f), 0, 255) : 0,
253 (mask&tcu::RGBA::GREEN_MASK) ? deClamp32(deRoundFloatToInt32(v.y()*255.0f), 0, 255) : 0,
254 (mask&tcu::RGBA::BLUE_MASK) ? deClamp32(deRoundFloatToInt32(v.z()*255.0f), 0, 255) : 0,
255 (mask&tcu::RGBA::ALPHA_MASK) ? deClamp32(deRoundFloatToInt32(v.w()*255.0f), 0, 255) : 0xff);
258 inline tcu::Vec4 toVec4 (const tcu::RGBA& c)
268 return (format.redBits ? tcu::RGBA::RED_MASK : 0)
    [all...]
  /external/chromium_org/third_party/webrtc/modules/desktop_capture/win/
cursor.cc 30 #define RGBA(r, g, b, a) \
38 #define RGBA(r, g, b, a) \
49 const uint32_t kPixelRgbaBlack = RGBA(0, 0, 0, 0xff);
50 const uint32_t kPixelRgbaWhite = RGBA(0xff, 0xff, 0xff, 0xff);
51 const uint32_t kPixelRgbaTransparent = RGBA(0, 0, 0, 0);

Completed in 876 milliseconds

1 2 3 4 5 6 7 8