/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/ |
gdipluscolor.h | 42 ARGB Value; 53 static ARGB MakeARGB(BYTE a, BYTE r, BYTE g, BYTE b) 55 return (ARGB) ((((DWORD) a) << 24) | (((DWORD) r) << 16) 59 static const ARGB AlphaMask = 0xFF000000; 61 static const ARGB AliceBlue = 0xFFF0F8FF; 62 static const ARGB AntiqueWhite = 0xFFFAEBD7; 63 static const ARGB Aqua = 0xFF00FFFF; 64 static const ARGB Aquamarine = 0xFF7FFFD4; 65 static const ARGB Azure = 0xFFF0FFFF; 66 static const ARGB Beige = 0xFFF5F5DC [all...] |
/external/skia/src/images/ |
SkImageEncoder_argb.cpp | 22 typedef void (*ScanlineImporter)(const uint8_t* in, uint8_t* argb, int width, 25 static void ARGB_8888_To_ARGB(const uint8_t* in, uint8_t* argb, int width, const SkPMColor*) { 29 argb[0] = SkGetPackedA32(c); 30 argb[1] = SkGetPackedR32(c); 31 argb[2] = SkGetPackedG32(c); 32 argb[3] = SkGetPackedB32(c); 33 argb += 4; 37 static void RGB_565_To_ARGB(const uint8_t* in, uint8_t* argb, int width, const SkPMColor*) { 41 argb[0] = 0xFF; 42 argb[1] = SkPacked16ToR32(c) 105 uint8_t* argb = ada.get(); local [all...] |
/external/valgrind/memcheck/tests/ |
inltemplate.cpp | 19 static INLINE T temp_member_func_b(T argb) { 21 if (argb > 0) 22 locb += argb;
|
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/ |
convert_from_argb.h | 21 // Copy ARGB to ARGB. 28 // Convert ARGB To BGRA. 34 // Convert ARGB To ABGR. 40 // Convert ARGB To RGBA. 46 // Convert ARGB To RGB24. 52 // Convert ARGB To RAW. 58 // Convert ARGB To RGB565. 64 // Convert ARGB To RGB565 with 4x4 dither matrix (16 bytes). 74 // Convert ARGB To ARGB1555 [all...] |
convert_argb.h | 33 // Copy ARGB to ARGB. 39 // Convert I420 to ARGB. 47 // Convert I422 to ARGB. 55 // Convert I444 to ARGB. 63 // Convert I411 to ARGB. 71 // Convert I400 (grey) to ARGB. Reverse of ARGBToI400. 77 // Convert J400 (jpeg grey) to ARGB. 86 // Convert NV12 to ARGB. 93 // Convert NV21 to ARGB [all...] |
planar_functions.h | 135 // ARGB mirror. 188 // Draw a rectangle into ARGB. 193 // Convert ARGB to gray scale ARGB. 199 // Make a rectangle of ARGB gray scale. 204 // Make a rectangle of ARGB Sepia tone. 209 // Apply a matrix rotation to each ARGB pixel. 210 // matrix_argb is 4 signed ARGB values. -128 to 127 representing -2 to 2. 222 // Apply a matrix rotation to each ARGB pixel. 223 // matrix_argb is 3 signed ARGB values. -128 to 127 representing -1 to 1 [all...] |
/external/clang/test/Parser/ |
function-decls.c | 8 X = sizeof(void (*(int arga, void (*argb)(double Y)))(void* Z));
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
ColorUtils.java | 24 public static float brightness(int argb) { 25 int r = (argb >> 16) & 0xFF; 26 int g = (argb >> 8) & 0xFF; 27 int b = argb & 0xFF; 34 public static float hue(int argb) { 35 int r = (argb >> 16) & 0xFF; 36 int g = (argb >> 8) & 0xFF; 37 int b = argb & 0xFF;
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowColor.java | 12 return argb(0xff, red, green, blue); 16 public static int argb(int alpha, int red, int green, int blue) { method in class:ShadowColor
|
/external/deqp/framework/delibs/deimage/ |
deARGB.h | 29 /* ARGB color in descending A, R, G, B order (alpha is in most significant byte). */ 44 DE_INLINE int deARGB_getRed (deARGB argb) { return (int)((argb >> 16) & 0xFF); } 45 DE_INLINE int deARGB_getGreen (deARGB argb) { return (int)((argb >> 8) & 0xFF); } 46 DE_INLINE int deARGB_getBlue (deARGB argb) { return (int)((argb >> 0) & 0xFF); } 47 DE_INLINE int deARGB_getAlpha (deARGB argb) { return (int)((argb >> 24) & 0xFF); } 49 DE_INLINE deARGB deARGB_multiply (deARGB argb, int f [all...] |
/external/libyuv/files/include/libyuv/ |
convert_argb.h | 34 // Copy ARGB to ARGB. 40 // Convert I420 to ARGB. 48 // Convert I422 to ARGB. 56 // Convert I444 to ARGB. 64 // Convert I411 to ARGB. 72 // Convert I400 (grey) to ARGB. 78 // Convert I400 to ARGB. Reverse of ARGBToI400. 84 // Convert NV12 to ARGB. 91 // Convert NV21 to ARGB [all...] |
planar_functions.h | 72 // ARGB mirror. 96 // Convert ARGB To RGBA. 102 // Convert ARGB To RGB24. 108 // Convert ARGB To RAW. 114 // Convert ARGB To RGB565. 120 // Convert ARGB To ARGB1555. 126 // Convert ARGB To ARGB4444. 132 // Convert ARGB to I400. 138 // ARGB little endian (bgra in memory) to I422. 179 // Draw a rectangle into ARGB [all...] |
/external/webp/src/utils/ |
color_cache.h | 40 uint32_t key, uint32_t argb) { 42 cc->colors_[key] = argb; 46 uint32_t argb) { 47 const uint32_t key = (kHashMul * argb) >> cc->hash_shift_; 48 cc->colors_[key] = argb; 52 uint32_t argb) { 53 return (kHashMul * argb) >> cc->hash_shift_; 57 uint32_t argb) { 58 const uint32_t key = (kHashMul * argb) >> cc->hash_shift_; 59 return (cc->colors_[key] == argb); [all...] |
/external/opencv3/3rdparty/libwebp/dsp/ |
lossless.c | 580 uint32_t* const argb) { 608 argb[pix] = VP8LSubPixels(current_row[col], predict); 614 uint32_t* const argb, uint32_t* const argb_scratch, 633 memcpy(current_tile_rows, &argb[tile_y_offset * width], 647 argb_scratch, argb); 657 const uint32_t a = argb[ix]; 735 const uint32_t argb = argb_data[i]; local 736 const uint32_t green = (argb >> 8) & 0xff; 737 const uint32_t new_r = (((argb >> 16) & 0xff) - green) & 0xff; 738 const uint32_t new_b = ((argb & 0xff) - green) & 0xff 763 const uint32_t argb = *data; local 1213 const uint32_t argb = *src++; local 1224 const uint32_t argb = *src++; local 1236 const uint32_t argb = *src++; local 1253 const uint32_t argb = *src++; local 1270 const uint32_t argb = *src++; local 1282 uint32_t argb = *src++; local [all...] |
/external/webp/src/enc/ |
backward_references.c | 229 static WEBP_INLINE uint32_t GetPixPairHash64(const uint32_t* const argb) { 231 key = argb[1] * HASH_MULTIPLIER_HI; 232 key += argb[0] * HASH_MULTIPLIER_LO; 239 const uint32_t* const argb, int pos) { 240 const uint32_t hash_code = GetPixPairHash64(argb); 265 const uint32_t* const argb, int len, 267 const uint32_t* const argb_start = argb + base_position; 276 FindMatchLength(argb + pos, argb_start, len - 1, len); 284 const uint32_t* const argb, int max_len, 288 const uint32_t* const argb_start = argb + base_position [all...] |
picture_tools.c | 83 if (is_transparent_argb_area(pic->argb + off, pic->argb_stride, SIZE)) { 85 argb_value = pic->argb[off]; 88 flatten_argb(pic->argb + off, argb_value, pic->argb_stride, SIZE); 127 uint32_t* argb; local 131 argb = pic->argb; 135 if ((argb[x] & 0xff000000) == 0) { 136 argb[x] = 0x00000000; 139 argb += pic->argb_stride; 199 uint32_t* argb = pic->argb local [all...] |
/external/opencv3/3rdparty/libwebp/utils/ |
color_cache.h | 39 uint32_t argb) { 40 const uint32_t key = (kHashMul * argb) >> cc->hash_shift_; 41 cc->colors_[key] = argb; 45 uint32_t argb) { 46 return (kHashMul * argb) >> cc->hash_shift_; 50 uint32_t argb) { 51 const uint32_t key = (kHashMul * argb) >> cc->hash_shift_; 52 return cc->colors_[key] == argb;
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
ColorPreference.java | 88 final int argb = getValue(); local 89 if (Color.alpha(argb) < 255) { 96 mPreviewColor = new ColorDrawable(argb); 99 mPreviewColor.setColor(argb); 115 final int argb = getValueAt(index); local 116 final int alpha = Color.alpha(argb); 127 ((ColorDrawable) foreground).setColor(argb); 129 swatch.setImageDrawable(new ColorDrawable(argb));
|
/external/skia/experimental/docs/ |
utilities.js | 5 function argb(a, r, g, b) { function
|
/external/pdfium/core/include/fxge/ |
fx_dib.h | 88 void ArgbDecode(FX_ARGB argb, int& a, int& r, int& g, int& b); 89 void ArgbDecode(FX_ARGB argb, int& a, FX_COLORREF& rgb); 94 #define FXARGB_A(argb) ((uint8_t)((argb) >> 24)) 95 #define FXARGB_R(argb) ((uint8_t)((argb) >> 16)) 96 #define FXARGB_G(argb) ((uint8_t)((argb) >> 8)) 97 #define FXARGB_B(argb) ((uint8_t)(argb)) [all...] |
/external/opencv3/3rdparty/libwebp/enc/ |
backward_references.c | 110 static WEBP_INLINE uint64_t GetPixPairHash64(const uint32_t* const argb) { 111 uint64_t key = ((uint64_t)(argb[1]) << 32) | argb[0]; 140 const uint32_t* const argb, int pos) { 141 const uint64_t hash_code = GetPixPairHash64(argb); 166 const uint32_t* const argb, int maxlen, 170 const uint32_t* const argb_start = argb + base_position; 191 if (argb[pos + best_length - 1] != argb_start[best_length - 1]) { 194 curr_length = FindMatchLength(argb + pos, argb_start, maxlen); 243 const uint32_t* const argb, [all...] |
/external/webp/src/dsp/ |
lossless.c | 241 const uint32_t argb = data[i]; local 242 const uint32_t green = ((argb >> 8) & 0xff); 243 uint32_t red_blue = (argb & 0x00ff00ffu); 246 data[i] = (argb & 0xff00ff00u) | red_blue; 266 const uint32_t argb = data[i]; local 267 const uint32_t green = argb >> 8; 268 const uint32_t red = argb >> 16; 270 uint32_t new_blue = argb; 276 data[i] = (argb & 0xff00ff00u) | (new_red << 16) | (new_blue); 314 // We define two methods for ARGB data (uint32_t) and alpha-only data (uint8_t) 420 const uint32_t argb = *src++; local 431 const uint32_t argb = *src++; local 443 const uint32_t argb = *src++; local 460 const uint32_t argb = *src++; local 477 const uint32_t argb = *src++; local 489 const uint32_t argb = *src++; local [all...] |
alpha_processing_mips_dsp_r2.c | 89 const uint32_t argb = ptr[x]; local 90 if (argb < 0xff000000u) { // alpha < 255 91 if (argb <= 0x00ffffffu) { // alpha == 0 96 "srl %[alpha], %[argb], 24 \n\t" 103 "andi %[temp1], %[argb], 0xff \n\t" 104 "ext %[temp2], %[argb], 8, 8 \n\t" 105 "ext %[temp3], %[argb], 16, 8 \n\t" 112 "precrq.ph.w %[temp3], %[argb], %[temp3] \n\t" 118 [c_ff000000]"r"(c_ff000000), [argb]"r"(argb) [all...] |
/external/skia/src/core/ |
Sk4px.h | 26 static Sk4px DupPMColor(SkPMColor c); // argb -> argb argb argb argb 30 Sk4px alphas() const; // ARGB argb XYZW xyzw -> AAAA aaaa XXXX xxxx 33 Sk4px zeroColors() const; // ARGB argb XYZW xyzw -> A000 a000 X000 x000 34 Sk4px zeroAlphas() const; // ARGB argb XYZW xyzw -> 0RGB 0rgb 0YZW 0yz [all...] |
/external/libyuv/files/unit_test/ |
planar_test.cc | 87 TESTPLANARTOB(I420, 2, 2, ARGB, 4) 96 TESTPLANARTOB(I422, 2, 1, ARGB, 4) 100 TESTPLANARTOB(I411, 4, 1, ARGB, 4) 101 TESTPLANARTOB(I444, 1, 1, ARGB, 4) 163 TESTBIPLANARTOB(NV12, 2, 2, ARGB, 4) 164 TESTBIPLANARTOB(NV21, 2, 2, ARGB, 4) 245 TESTATOPLANAR(ARGB, 4, I420, 2, 2) 254 // TESTATOPLANAR(ARGB, 4, I411, 4, 1) 255 TESTATOPLANAR(ARGB, 4, I422, 2, 1) 256 // TESTATOPLANAR(ARGB, 4, I444, 1, 1 [all...] |