/prebuilts/go/darwin-x86/src/image/color/ |
ycbcr.go | 121 func (c YCbCr) RGBA() (uint32, uint32, uint32, uint32) { 125 // interface by first converting to an RGBA. The latter loses some 131 // r0, g0, b0, _ := color.YCbCr{y, cb, cr}.RGBA() 132 // r1, g1, b1, _ := color.RGBA{r, g, b, 0xff}.RGBA() 185 r, g, b, _ := c.RGBA() 197 func (c NYCbCrA) RGBA() (uint32, uint32, uint32, uint32) { 198 // The first part of this method is the same as YCbCr.RGBA. 251 r, g, b, a := c.RGBA() 302 func (c CMYK) RGBA() (uint32, uint32, uint32, uint32) [all...] |
color.go | 8 // Color can convert itself to alpha-premultiplied 16-bits per channel RGBA. 11 // RGBA returns the alpha-premultiplied red, green, blue and alpha values 18 RGBA() (r, g, b, a uint32) 21 // RGBA represents a traditional 32-bit alpha-premultiplied color, having 8 26 type RGBA struct { 30 func (c RGBA) RGBA() (r, g, b, a uint32) { 51 func (c RGBA64) RGBA() (r, g, b, a uint32) { 60 func (c NRGBA) RGBA() (r, g, b, a uint32) { 84 func (c NRGBA64) RGBA() (r, g, b, a uint32) [all...] |
/prebuilts/go/darwin-x86/src/image/ |
names.go | 28 func (c *Uniform) RGBA() (r, g, b, a uint32) { 29 return c.C.RGBA() 46 _, _, _, a := c.C.RGBA()
|
image.go | 59 // RGBA is an in-memory image whose At method returns color.RGBA values. 60 type RGBA struct { 70 func (p *RGBA) ColorModel() color.Model { return color.RGBAModel } 72 func (p *RGBA) Bounds() Rectangle { return p.Rect } 74 func (p *RGBA) At(x, y int) color.Color { 78 func (p *RGBA) RGBAAt(x, y int) color.RGBA { 80 return color.RGBA{} 83 return color.RGBA{p.Pix[i+0], p.Pix[i+1], p.Pix[i+2], p.Pix[i+3] [all...] |
/prebuilts/go/linux-x86/src/image/color/ |
ycbcr.go | 121 func (c YCbCr) RGBA() (uint32, uint32, uint32, uint32) { 125 // interface by first converting to an RGBA. The latter loses some 131 // r0, g0, b0, _ := color.YCbCr{y, cb, cr}.RGBA() 132 // r1, g1, b1, _ := color.RGBA{r, g, b, 0xff}.RGBA() 185 r, g, b, _ := c.RGBA() 197 func (c NYCbCrA) RGBA() (uint32, uint32, uint32, uint32) { 198 // The first part of this method is the same as YCbCr.RGBA. 251 r, g, b, a := c.RGBA() 302 func (c CMYK) RGBA() (uint32, uint32, uint32, uint32) [all...] |
color.go | 8 // Color can convert itself to alpha-premultiplied 16-bits per channel RGBA. 11 // RGBA returns the alpha-premultiplied red, green, blue and alpha values 18 RGBA() (r, g, b, a uint32) 21 // RGBA represents a traditional 32-bit alpha-premultiplied color, having 8 26 type RGBA struct { 30 func (c RGBA) RGBA() (r, g, b, a uint32) { 51 func (c RGBA64) RGBA() (r, g, b, a uint32) { 60 func (c NRGBA) RGBA() (r, g, b, a uint32) { 84 func (c NRGBA64) RGBA() (r, g, b, a uint32) [all...] |
/prebuilts/go/linux-x86/src/image/ |
names.go | 28 func (c *Uniform) RGBA() (r, g, b, a uint32) { 29 return c.C.RGBA() 46 _, _, _, a := c.C.RGBA()
|
image.go | 59 // RGBA is an in-memory image whose At method returns color.RGBA values. 60 type RGBA struct { 70 func (p *RGBA) ColorModel() color.Model { return color.RGBAModel } 72 func (p *RGBA) Bounds() Rectangle { return p.Rect } 74 func (p *RGBA) At(x, y int) color.Color { 78 func (p *RGBA) RGBAAt(x, y int) color.RGBA { 80 return color.RGBA{} 83 return color.RGBA{p.Pix[i+0], p.Pix[i+1], p.Pix[i+2], p.Pix[i+3] [all...] |
/external/deqp/framework/common/ |
tcuRGBA.cpp | 31 RGBA::RGBA (const Vec4& v) 40 Vec4 RGBA::toVec (void) const 48 IVec4 RGBA::toIVec (void) const 53 RGBA computeAbsDiffMasked (RGBA a, RGBA b, deUint32 cmpMask) 62 if (cmpMask & RGBA::RED_MASK) 64 int ra = (aPacked >> RGBA::RED_SHIFT) & 0xFF; 65 int rb = (bPacked >> RGBA::RED_SHIFT) & 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...] |
tcuTexture.hpp | 53 RGBA, 170 //! get the swizzle used to expand texture data with a given channel order to RGBA form 173 //! get the swizzle used to narrow RGBA form data to native texture data with a given channel order [all...] |
tcuTexture.cpp | 544 case TextureFormat::RGBA: 593 return format.order == TextureFormat::RGBA || format.order == TextureFormat::BGRA; 605 return format.order == TextureFormat::RGBA || format.order == TextureFormat::BGRA; 664 case TextureFormat::RGBA: return 4; 781 static const TextureSwizzle RGBA = {{ TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_1, TextureSwizzle::CHANNEL_2, TextureSwizzle::CHANNEL_3 }}; 798 case TextureFormat::RGBA: return RGBA; 805 case TextureFormat::sRGBA: return RGBA; 835 static const TextureSwizzle RGBA = {{ TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_1, TextureSwizzle::CHANNEL_2, TextureSwizzle::CHANNEL_3 }}; 852 case TextureFormat::RGBA: return RGBA [all...] |
/external/skia/include/private/ |
GrSwizzle.h | 14 /** Represents a rgba swizzle. It can be converted either into a string or a eight bit int. 45 GrSwizzle() { *this = RGBA(); } 112 static GrSwizzle RGBA() { return GrSwizzle("rgba"); } 121 return RGBA(); 130 return RGBA();
|
/external/webrtc/webrtc/modules/desktop_capture/win/ |
cursor.cc | 29 #define RGBA(r, g, b, a) \ 37 #define RGBA(r, g, b, a) \ 48 const uint32_t kPixelRgbaBlack = RGBA(0, 0, 0, 0xff); 49 const uint32_t kPixelRgbaWhite = RGBA(0xff, 0xff, 0xff, 0xff); 50 const uint32_t kPixelRgbaTransparent = RGBA(0, 0, 0, 0);
|
/external/mesa3d/src/intel/vulkan/ |
anv_formats.c | 42 #define RGBA _ISL_SWIZZLE(RED, GREEN, BLUE, ALPHA) 53 swiz_fmt(__vk_fmt, __hw_fmt, RGBA) 285 * this by switching them over to RGBX or RGBA formats under the 414 * RGBA formats behind-the-scenes. This works fine for textures
|
/frameworks/base/rs/java/android/renderscript/ |
ProgramFragmentFixedFunction.java | 143 RGBA (4); 189 mShader += " col.rgba = texture2D(UNI_Tex0, t0).rgba;\n"; 194 case RGBA: 195 mShader += " col.rgba = texture2D(UNI_Tex0, t0).rgba;\n"; 205 mShader += " col.rgba *= texture2D(UNI_Tex0, t0).rgba;\n"; 210 case RGBA: 211 mShader += " col.rgba *= texture2D(UNI_Tex0, t0).rgba;\n" [all...] |
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_quad_blend.c | 47 RGBA, 874 * to the tile cache. The tile cache always stores RGBA colors but if [all...] |
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
vktSpvAsmGraphicsShaderTestUtil.hpp | 248 tcu::RGBA inputColors[4]; 249 tcu::RGBA outputColors[4]; 276 InstanceContext (const tcu::RGBA (&inputs)[4], 277 const tcu::RGBA (&outputs)[4], 331 void getDefaultColors (tcu::RGBA (&colors)[4]); 333 void getHalfColorsFullAlpha (tcu::RGBA (&colors)[4]); 335 void getInvertedDefaultColors (tcu::RGBA (&colors)[4]); 351 const tcu::RGBA (&inputColors)[4], 352 const tcu::RGBA (&outputColors)[4], 380 tcu::RGBA (&inputColors)[4] [all...] |
vktSpvAsmGraphicsShaderTestUtil.cpp | 51 using tcu::RGBA; 147 case 4: co = tcu::TextureFormat::RGBA; break; 227 InstanceContext::InstanceContext (const RGBA (&inputs)[4], 228 const RGBA (&outputs)[4], 306 void getDefaultColors (RGBA (&colors)[4]) 308 colors[0] = RGBA::white(); 309 colors[1] = RGBA::red(); 310 colors[2] = RGBA::green(); 311 colors[3] = RGBA::blue(); 314 void getHalfColorsFullAlpha (RGBA (&colors)[4] [all...] |
/external/webp/include/webp/ |
decode.h | 48 // Decodes WebP images pointed to by 'data' and returns RGBA samples, along 138 // RGBA-4444 and RGB-565 colorspaces are represented by following byte-order: 139 // RGBA-4444: [r3 r2 r1 r0 g3 g2 g1 g0], [b3 b2 b1 b0 a3 a2 a1 a0], ... 143 // RGBA-4444: [b3 b2 b1 b0 a3 a2 a1 a0], [r3 r2 r1 r0 g3 g2 g1 g0], ... 180 struct WebPRGBABuffer { // view as RGBA 181 uint8_t* rgba; // pointer to RGBA samples member in struct:WebPRGBABuffer 183 size_t size; // total size of the *rgba buffer. 205 WebPRGBABuffer RGBA; 276 // stride of output_buffer.u.RGBA or output_buffer.u.YUVA, provided they remai [all...] |
/external/webp/src/webp/ |
decode.h | 48 // Decodes WebP images pointed to by 'data' and returns RGBA samples, along 138 // RGBA-4444 and RGB-565 colorspaces are represented by following byte-order: 139 // RGBA-4444: [r3 r2 r1 r0 g3 g2 g1 g0], [b3 b2 b1 b0 a3 a2 a1 a0], ... 143 // RGBA-4444: [b3 b2 b1 b0 a3 a2 a1 a0], [r3 r2 r1 r0 g3 g2 g1 g0], ... 180 struct WebPRGBABuffer { // view as RGBA 181 uint8_t* rgba; // pointer to RGBA samples member in struct:WebPRGBABuffer 183 size_t size; // total size of the *rgba buffer. 205 WebPRGBABuffer RGBA; 276 // stride of output_buffer.u.RGBA or output_buffer.u.YUVA, provided they remai [all...] |
/external/python/cpython2/Lib/plat-irix5/ |
CL_old.py | 31 RGBA = 2 58 elif f in (RGBX, RGBA): 78 elif f == RGBA: 79 return 'RGBA'
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
d3d11.h | [all...] |
/prebuilts/gradle-plugin/com/android/tools/build/builder/0.10.0/ |
builder-0.10.0.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/builder/0.11.2/ |
builder-0.11.2.jar | |