/external/deqp/framework/common/ |
H A D | 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 37 RGBA::RGBA (const Vec4& v) function in class:tcu::RGBA [all...] |
H A D | tcuRGBA.hpp | 38 class RGBA class in namespace:tcu 57 RGBA (void) { m_value = 0; } function in class:tcu::RGBA 59 RGBA (int r, int g, int b, int a) function in class:tcu::RGBA 68 explicit RGBA (deUint32 val) function in class:tcu::RGBA 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 [all...] |
H A D | tcuBilinearImageCompare.hpp | 33 class RGBA; 35 bool bilinearCompare (const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const PixelBufferAccess& errorMask, const RGBA threshold);
|
H A D | 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(byteAdd [all...] |
H A D | 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),
|
H A D | 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 [all...] |
H A D | 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/ |
H A D | 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( [all...] |
/external/deqp/modules/gles2/functional/ |
H A D | 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 maxDif [all...] |
H A D | 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);
|
H A D | 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);
|
H A D | 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 curCl [all...] |
/external/deqp/modules/gles3/functional/ |
H A D | 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 maxDif [all...] |
H A D | 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( [all...] |
H A D | 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);
|
H A D | 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 curCl [all...] |
/external/chromium_org/chrome/utility/cloud_print/ |
H A D | bitmap_image.h | 18 RGBA, enumerator in enum:cloud_print::BitmapImage::Colorspace
|
/external/deqp/framework/opengl/ |
H A D | 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_INT1 [all...] |
/external/chromium_org/third_party/mesa/src/docs/OLD/ |
H A D | 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 re [all...] |
/external/mesa3d/docs/OLD/ |
H A D | 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 re [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
H A D | CanvasStyle.cpp | 91 : m_type(RGBA) 97 : m_type(RGBA) 103 : m_type(RGBA) 182 case RGBA: 203 if (m_type != RGBA) 226 case RGBA: 253 case RGBA:
|
/external/deqp/framework/egl/ |
H A D | egluConfigFilter.hpp | 120 FilterList operator== (tcu::RGBA bits) const; 121 FilterList operator>= (tcu::RGBA bits) const;
|
/external/deqp/modules/glshared/ |
H A D | 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 [all...] |
/external/chromium_org/third_party/webrtc/modules/desktop_capture/win/ |
H A D | cursor.cc | 30 #define RGBA(r, g, b, a) \ macro 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);
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fShaderHelperInvocationTests.cpp | 350 const tcu::RGBA bgRef (0, 0, 0, 255); 351 const tcu::RGBA fgRef (0, 255, 0, 255); 352 const tcu::RGBA threshold (1, isMultiSample ? 254 : 1, 1, 1); 359 const tcu::RGBA resPix = result.getPixel(x, y); 494 static bool hasNeighborWithColor (const tcu::Surface& surface, int x, int y, tcu::RGBA color, tcu::RGBA threshold) 517 const tcu::RGBA neighborColor = surface.getPixel(pos.x(), pos.y()); 531 const tcu::RGBA bgRef (0, 0, 0, 255); 532 const tcu::RGBA fgRef (0, 255, 0, 255); 533 const tcu::RGBA isBgThreshol [all...] |