/external/webp/src/dec/ |
H A D | vp8l.c | 36 // 3. red, 318 // The huffman data is stored in red and green bytes. 716 // call to ReadSymbol() for red/blue/alpha channels. 855 int red, green, blue, alpha; local 856 red = ReadSymbol(&htree_group->htrees_[RED], br); 861 *src = ((uint32_t)alpha << 24) | (red << 16) | (green << 8) | blue;
|
/external/webp/src/dsp/ |
H A D | lossless.c | 797 // Add green to blue and red channels (i.e. perform the inverse transform of 843 const uint32_t red = argb >> 16; local 844 uint32_t new_red = red; 849 new_blue -= ColorTransformDelta(m->red_to_blue_, red); 861 const uint32_t red = argb >> 16; local 862 uint32_t new_red = red; 885 const uint32_t red = argb >> 16; local 888 new_blue -= ColorTransformDelta(red_to_blue, red); 912 ++histo[TransformColorRed(green_to_red, argb[ix])]; // red.
|
/external/webp/src/enc/ |
H A D | picture_tools.c | 132 const int red = (background_rgb >> 16) & 0xff; local 139 const int Y0 = VP8RGBToY(red, green, blue, YUV_HALF); 141 const int U0 = VP8RGBToU(4 * red, 4 * green, 4 * blue, 4 * YUV_HALF); 142 const int V0 = VP8RGBToV(4 * red, 4 * green, 4 * blue, 4 * YUV_HALF); 180 const uint32_t background = MakeARGB32(red, green, blue); 189 r = BLEND(red, r, alpha);
|
/external/valgrind/main/include/vki/ |
H A D | vki-linux-drm.h | 439 __vki_u64 red; member in struct:vki_drm_mode_crtc_lut
|
H A D | vki-linux.h | 2101 struct vki_fb_bitfield red; /* bitfield in fb mem if true color, */ member in struct:vki_fb_var_screeninfo
|
/external/skia/platform_tools/nacl/src/ |
H A D | nacl_hello.cpp | 34 SkPaint red; local 35 red.setColor(SK_ColorRED); 36 canvas->drawCircle(150.0, 150.0, 100.0, red);
|
/external/skia/src/animator/ |
H A D | SkDrawColor.cpp | 25 SkScalar red = SkIntToScalar(SkColorGetR(color)); local 28 SkScalar min = SkMinScalar(SkMinScalar(red, green), blue); 29 SkScalar value = SkMaxScalar(SkMaxScalar(red, green), blue); 41 if (red == value) { 47 hue = 120 * SK_Scalar1 + SkScalarMul(blue - red, part60); 49 hue = 240 * SK_Scalar1 + SkScalarMul(red - green, part60); 55 #if defined _WIN32 && _MSC_VER >= 1300 // disable 'red', etc. may be used without having been initialized 65 SkScalar red SK_INIT_TO_AVOID_WARNING; 69 red = green = blue = value; 79 case 0: red [all...] |
/external/skia/src/device/xps/ |
H A D | SkXPSDevice.cpp | 450 xpsColor.value.sRGB.red = SkColorGetR(skColor);
|
/external/skia/src/gpu/gl/ |
H A D | GrGLNoOpInterface.cpp | 51 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBlendColor(GrGLclampf red, argument 75 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLClearColor(GrGLclampf red, argument 84 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLColorMask(GrGLboolean red, argument
|
H A D | GrGLNoOpInterface.h | 16 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBlendColor(GrGLclampf red, 35 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLClearColor(GrGLclampf red, 42 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLColorMask(GrGLboolean red,
|
/external/skia/src/images/ |
H A D | SkImageDecoder_libico.cpp | 236 int blue, green, red; local 245 red = readByte(buf, begin + 4*j + 2); 246 colors[j] = SkPackARGB32(0xFF, red & 0xFF, green & 0xFF, blue & 0xFF); 378 int red = readByte(buf, xorOffset + 3*pixelNo + 2); local 382 *address = SkPreMultiplyARGB(alpha, red, green, blue); 392 int red = readByte(buf, xorOffset + 4*pixelNo + 2); local 398 *address = SkPreMultiplyARGB(alpha, red, green, blue);
|
H A D | SkImageDecoder_libpng.cpp | 502 SkDebugf("----- sBIT %d %d %d %d\n", sig_bit->red, sig_bit->green, 506 if (pos_le(sig_bit->red, SK_R16_BITS) && 538 *theTranspColorp = SkPackARGB32(0xFF, transpColor->red >> 8, 543 number of corrupt PNGs, (transpColor->red > 255) 546 0xFF & (transpColor->red), 557 number of corrupt PNGs, (transpColor->red > 697 *colorPtr++ = proc(*trans++, palette->red, palette->green, palette->blue); 703 *colorPtr++ = SkPackARGB32(0xFF, palette->red, palette->green, palette->blue); 1083 palette[i].red = SkUnPreMultiply::ApplyScale(s, SkGetPackedR32(c)); 1094 palette[i].red [all...] |
/external/skia/tools/ |
H A D | skpmaker.cpp | 24 DEFINE_int32(red, 128, "Value of red color channel in image, 0-255."); 64 SkDebugf("--red must be within range [0,255]\n");
|
/external/skia/tools/tests/ |
H A D | render_pictures_test.py | 30 # Manually verified: 640x400 red rectangle with black border 51 # consistent with a tiled version of the 640x400 red rect 197 "red.skp": { 232 "red.skp": { 276 "red.skp": { 300 "red.skp": { 326 "red.skp": { 327 # Manually verified: 640x400 red rectangle with black border 371 "red.skp": { 398 "red [all...] |
/external/skia/gm/rebaseline_server/ |
H A D | compare_rendered_pictures_test.py | 73 output_path=os.path.join(out_path, skpname), red=redvalue) 88 def _run_skpmaker(self, output_path, red=0, green=0, blue=0, 94 red: Value of red color channel in image, 0-255. 103 '--red', str(red),
|
/external/skia/gm/ |
H A D | texdata.cpp | 47 static const SkPMColor red = SkPackARGB32(0x80, 0x80, 0x00, 0x00); local 124 ((x + y) % 2) ? (i ? green : red) : blue;
|
/external/skia/include/core/ |
H A D | SkColor.h | 63 /** return the red byte from a SkColor value */ 87 #define SK_ColorRED 0xFFFF0000 //!< red SkColor value 100 @param red red component value [0..255] 105 SK_API void SkRGBToHSV(U8CPU red, U8CPU green, U8CPU blue, SkScalar hsv[3]);
|
/external/skia/include/gpu/gl/ |
H A D | GrGLFunctions.h | 74 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLBlendColorProc)(GrGLclampf red, GrGLclampf green, GrGLclampf blue, GrGLclampf alpha); 84 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLClearColorProc)(GrGLclampf red, GrGLclampf green, GrGLclampf blue, GrGLclampf alpha); 87 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLColorMaskProc)(GrGLboolean red, GrGLboolean green, GrGLboolean blue, GrGLboolean alpha);
|
/external/replicaisland/src/com/replica/replicaisland/ |
H A D | GLErrorLogger.java | 86 public void glClearColor(float red, float green, float blue, float alpha) { argument 87 ((GL10)mGL).glClearColor(red, green, blue, alpha); 91 public void glClearColorx(int red, int green, int blue, int alpha) { argument 92 ((GL10)mGL).glClearColorx(red, green, blue, alpha); 116 public void glColor4f(float red, float green, float blue, float alpha) { argument 117 ((GL10)mGL).glColor4f(red, green, blue, alpha); 121 public void glColor4x(int red, int green, int blue, int alpha) { argument 122 ((GL10)mGL).glColor4x(red, green, blue, alpha); 126 public void glColorMask(boolean red, boolean green, boolean blue, argument 128 ((GL10)mGL).glColorMask(red, gree [all...] |
/external/replicaisland/tools/ |
H A D | ExtractPoints.js | 197 black.rgb.red = 0; 202 redColor.rgb.red = 255; 207 greenColor.rgb.red = 0; 212 blueColor.rgb.red = 0;
|
/external/robolectric/lib/main/ |
H A D | android.jar | META-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ... |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowColor.java | 11 public static int rgb(int red, int green, int blue) { argument 12 return argb(0xff, red, green, blue); 16 public static int argb(int alpha, int red, int green, int blue) { argument 17 return (alpha << 24) | (red << 16) | (green << 8) | blue;
|
/external/qemu/android/camera/ |
H A D | camera-format-converters.c | 40 * So, if this code runs on the little endian CPU, red color in 'rgb' would be 42 * the code runs on a big endian CPU, the red color in 'rgb' would be masked as 79 /* Extract red, green, and blue bytes from RGB565 word. */ 83 /* Make 8 bits red, green, and blue, extracted from RGB565 word. */ 87 /* Extract red, green, and blue bytes from RGB32 dword. */ 91 /* Build RGB565 word from red, green, and blue bytes. */ 93 /* Build RGB32 dword from red, green, and blue bytes. */ 96 /* Extract red, green, and blue bytes from RGB565 word. */ 100 /* Make 8 bits red, green, and blue, extracted from RGB565 word. */ 104 /* Extract red, gree 958 _get_bayerRGB(const BayerDesc* desc, const void* buf, int x, int y, int width, int height, int* red, int* green, int* blue) argument [all...] |
/external/qemu/android/skin/ |
H A D | argb.h | 87 #define ARGB_REDUCE(x,red) \ 89 int _red = (red) >> 8; \ 153 #define ARGB_REDUCE(x,red) \ 155 int _red = (red) >> 8; \ 269 unsigned red; local 277 red = ww; 280 red = (hh < 65536) ? (red*hh >> 16U) : red; 283 ARGB_REDUCE(spix,red); [all...] |
/external/qemu/distrib/jpeg-6b/ |
H A D | wrrle.c | 176 rle_pixel **rle_row, *red, *green, *blue; local 241 red = rle_row[0]; 245 *red++ = GETJSAMPLE(*output_row++);
|