/external/pdfium/xfa/fxgraphics/ |
cfx_color.cpp | 11 CFX_Color::CFX_Color(const FX_ARGB argb) { 12 Set(argb); 15 CFX_Color::CFX_Color(CFX_Pattern* pattern, const FX_ARGB argb) { 16 Set(pattern, argb); 27 void CFX_Color::Set(const FX_ARGB argb) { 29 m_info.argb = argb; 33 void CFX_Color::Set(CFX_Pattern* pattern, const FX_ARGB argb) { 37 m_info.argb = argb; [all...] |
cfx_color.h | 21 explicit CFX_Color(const FX_ARGB argb); 23 CFX_Color(CFX_Pattern* pattern, const FX_ARGB argb); 26 void Set(const FX_ARGB argb); 27 void Set(CFX_Pattern* pattern, const FX_ARGB argb); 36 FX_ARGB argb; member in struct:CFX_Color::__anon29580::__anon29581
|
/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/clang/test/Parser/ |
function-decls.c | 8 X = sizeof(void (*(int arga, void (*argb)(double Y)))(void* Z));
|
/external/webp/src/utils/ |
color_cache_utils.h | 33 static WEBP_INLINE int HashPix(uint32_t argb, int shift) { 34 return (int)(((argb * kHashMul) & 0xffffffffu) >> shift); 44 uint32_t key, uint32_t argb) { 46 cc->colors_[key] = argb; 50 uint32_t argb) { 51 const int key = HashPix(argb, cc->hash_shift_); 52 cc->colors_[key] = argb; 56 uint32_t argb) { 57 return HashPix(argb, cc->hash_shift_); 60 // Return the key if cc contains argb, and -1 otherwise [all...] |
/external/valgrind/memcheck/tests/ |
inltemplate.cpp | 19 static INLINE T temp_member_func_b(T argb) { 21 if (argb > 0) 22 locb += argb;
|
/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/webp/src/enc/ |
near_lossless_enc.c | 72 static void NearLossless(int xsize, int ysize, uint32_t* argb, 79 memcpy(copy_buffer, argb, xsize * 2 * sizeof(argb[0])); 82 uint32_t* const curr_argb_row = argb + y * xsize; 84 memcpy(next_row, next_argb_row, xsize * sizeof(argb[0])); 100 int VP8ApplyNearLossless(int xsize, int ysize, uint32_t* argb, int quality) { 105 assert(argb != NULL); 118 NearLossless(xsize, ysize, argb, i, copy_buffer);
|
predictor_enc.c | 59 static WEBP_INLINE void UpdateHisto(int histo_argb[4][256], uint32_t argb) { 60 ++histo_argb[0][argb >> 24]; 61 ++histo_argb[1][(argb >> 16) & 0xff]; 62 ++histo_argb[2][(argb >> 8) & 0xff]; 63 ++histo_argb[3][argb & 0xff]; 110 static uint32_t AddGreenToBlueAndRed(uint32_t argb) { 111 const uint32_t green = (argb >> 8) & 0xff; 112 uint32_t red_blue = argb & 0x00ff00ffu; 115 return (argb & 0xff00ff00u) | red_blue; 118 static void MaxDiffsForRow(int width, int stride, const uint32_t* const argb, [all...] |
picture_tools_enc.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...] |
vp8li_enc.h | 34 uint32_t* argb_; // Transformed argb image data. 35 uint32_t* argb_scratch_; // Scratch memory for argb rows 67 // Returns 0 if config or picture is NULL or picture doesn't have valid argb 82 uint32_t* const argb, uint32_t* const argb_scratch, 87 uint32_t* const argb, uint32_t* image);
|
backward_references_enc.c | 219 static WEBP_INLINE uint32_t GetPixPairHash64(const uint32_t* const argb) { 221 key = (argb[1] * HASH_MULTIPLIER_HI) & 0xffffffffu; 222 key += (argb[0] * HASH_MULTIPLIER_LO) & 0xffffffffu; 247 const uint32_t* const argb, int xsize, int ysize, 274 argb_comp = (argb[0] == argb[1]); 277 const int argb_comp_next = (argb[pos + 1] == argb[pos + 2]); 284 tmp[0] = argb[pos]; 289 while (pos + (int)len + 2 < size && argb[pos + len + 2] == argb[pos]) [all...] |
/external/webp/src/dsp/ |
lossless_enc_mips_dsp_r2.c | 84 uint32_t argb, argb1, new_red, new_red1; local 104 "lw %[argb], 0(%[data]) \n\t" 108 "precrq.qb.ph %[temp3], %[argb], %[argb1] \n\t" 109 "precr.qb.ph %[temp4], %[argb], %[argb1] \n\t" 121 "ins %[argb1], %[argb], 16, 16 \n\t" 142 [argb]"=&r"(argb), [argb1]"=&r"(argb1), [data]"+&r"(data) 165 uint32_t argb) { 166 const uint32_t green = argb >> 8; 167 const uint32_t red = argb >> 16 [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...] |
lossless_enc_neon.c | 39 static WEBP_INLINE uint8x16_t DoGreenShuffle(const uint8x16_t argb, 41 return vcombine_u8(vtbl1q_u8(argb, vget_low_u8(shuffle)), 42 vtbl1q_u8(argb, vget_high_u8(shuffle))); 48 static WEBP_INLINE uint8x16_t DoGreenShuffle(const uint8x16_t argb, 50 return vcombine_u8(vtbl1_u8(vget_low_u8(argb), shuffle), 51 vtbl1_u8(vget_high_u8(argb), shuffle)); 63 const uint8x16_t argb = vld1q_u8((uint8_t*)argb_data); local 64 const uint8x16_t greens = DoGreenShuffle(argb, shuffle); 65 vst1q_u8((uint8_t*)argb_data, vsubq_u8(argb, greens));
|
alpha_processing_sse41.c | 22 static int ExtractAlpha(const uint8_t* argb, int argb_stride, 45 const __m128i* src = (const __m128i*)argb; 47 // load 64 argb bytes 66 const uint32_t alpha_value = argb[4 * i]; 70 argb += argb_stride;
|
lossless.c | 246 const uint32_t argb = src[i]; local 247 const uint32_t green = ((argb >> 8) & 0xff); 248 uint32_t red_blue = (argb & 0x00ff00ffu); 251 dst[i] = (argb & 0xff00ff00u) | red_blue; 272 const uint32_t argb = src[i]; local 273 const uint32_t green = argb >> 8; 274 const uint32_t red = argb >> 16; 276 int new_blue = argb; 282 dst[i] = (argb & 0xff00ff00u) | (new_red << 16) | (new_blue); 323 // We define two methods for ARGB data (uint32_t) and alpha-only data (uint8_t) 429 const uint32_t argb = *src++; local 440 const uint32_t argb = *src++; local 452 const uint32_t argb = *src++; local 469 const uint32_t argb = *src++; local 486 const uint32_t argb = *src++; local 498 const uint32_t argb = *src++; local [all...] |
/external/pdfium/core/fpdfapi/render/ |
cpdf_renderoptions.cpp | 32 FX_ARGB CPDF_RenderOptions::TranslateColor(FX_ARGB argb) const { 34 return argb; 37 return argb; 40 ArgbDecode(argb, a, r, g, b); 51 return argb;
|
/external/pdfium/public/ |
fpdf_edit.h | 18 #define FPDF_GetBValue(argb) ((uint8_t)(argb)) 19 #define FPDF_GetGValue(argb) ((uint8_t)(((uint16_t)(argb)) >> 8)) 20 #define FPDF_GetRValue(argb) ((uint8_t)((argb) >> 16)) 21 #define FPDF_GetAValue(argb) ((uint8_t)((argb) >> 24))
|
/external/skia/experimental/docs/ |
utilities.js | 5 function argb(a, r, g, b) { function
|
/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/pdfium/core/fxge/ |
fx_dib.h | 91 void ArgbDecode(FX_ARGB argb, int& a, int& r, int& g, int& b); 92 void ArgbDecode(FX_ARGB argb, int& a, FX_COLORREF& rgb); 97 #define FXARGB_A(argb) ((uint8_t)((argb) >> 24)) 98 #define FXARGB_R(argb) ((uint8_t)((argb) >> 16)) 99 #define FXARGB_G(argb) ((uint8_t)((argb) >> 8)) 100 #define FXARGB_B(argb) ((uint8_t)(argb)) [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
YuvImageTest.java | 195 int[] argb = new int[stride * height]; local 196 mTestBitmaps[0].getPixels(argb, 0, stride, 0, 0, width, height); 197 byte[] yuv = convertArgbsToYuvs(argb, stride, height, ImageFormat.NV21); 232 int[] argb = new int [stride * height]; local 233 bitmap.getPixels(argb, 0, stride, 0, 0, width, height); 234 byte[] yuv = convertArgbsToYuvs(argb, stride, height, format); 297 private byte[] convertArgbsToYuvs(int[] argb, int width, int height, 307 argb2yuv(argb[idx], yuvColor); 322 argb2yuv(argb[idx], yuvColor0); 323 argb2yuv(argb[idx + 1], yuvColor1) 391 int[] argb = new int[WIDTH * HEIGHT]; local [all...] |
/external/pdfium/core/fxge/apple/ |
apple_int.h | 34 FX_ARGB argb,
|