Searched refs:argb (Results 1 - 25 of 114) sorted by relevance

12345

/external/skia/experimental/docs/
H A DexampleSlides.js9 { "offset":0, "color": argb(76,0,0,255) },
10 { "offset":1, "color": argb( 0,0,0,255) }
15 { "offset":0, "color": argb(76,0,255,0) },
16 { "offset":1, "color": argb( 0,0,255,0) }
21 { "offset":0, "color": argb(76,255,0,0) },
22 { "offset":1, "color": argb( 0,255,0,0) }
27 { "offset":0, "color": argb(76,192,63,192) },
28 { "offset":1, "color": argb( 0,192,63,192) }
33 { "offset":0, "color": argb(76,127,127,0) },
34 { "offset":1, "color": argb(
[all...]
H A Dutilities.js5 function argb(a, r, g, b) { function
/external/skqp/experimental/docs/
H A DexampleSlides.js9 { "offset":0, "color": argb(76,0,0,255) },
10 { "offset":1, "color": argb( 0,0,0,255) }
15 { "offset":0, "color": argb(76,0,255,0) },
16 { "offset":1, "color": argb( 0,0,255,0) }
21 { "offset":0, "color": argb(76,255,0,0) },
22 { "offset":1, "color": argb( 0,255,0,0) }
27 { "offset":0, "color": argb(76,192,63,192) },
28 { "offset":1, "color": argb( 0,192,63,192) }
33 { "offset":0, "color": argb(76,127,127,0) },
34 { "offset":1, "color": argb(
[all...]
H A Dutilities.js5 function argb(a, r, g, b) { function
/external/deqp/framework/delibs/deimage/
H A DdeARGB.h44 DE_INLINE int deARGB_getRed (deARGB argb) { return (int)((argb >> 16) & 0xFF); } argument
45 DE_INLINE int deARGB_getGreen (deARGB argb) { return (int)((argb >> 8) & 0xFF); } argument
46 DE_INLINE int deARGB_getBlue (deARGB argb) { return (int)((argb >> 0) & 0xFF); } argument
47 DE_INLINE int deARGB_getAlpha (deARGB argb) { return (int)((argb >> 24) & 0xFF); } argument
49 DE_INLINE deARGB deARGB_multiply (deARGB argb, int f) argument
53 int r = (deARGB_getRed(argb) *
[all...]
/external/clang/test/Parser/
H A Dfunction-decls.c8 X = sizeof(void (*(int arga, void (*argb)(double Y)))(void* Z));
/external/webp/src/utils/
H A Dcolor_cache_utils.h35 static WEBP_INLINE int VP8LHashPix(uint32_t argb, int shift) { argument
36 return (int)(((argb * kHashMul) & 0xffffffffu) >> shift);
46 uint32_t key, uint32_t argb) {
48 cc->colors_[key] = argb;
52 uint32_t argb) {
53 const int key = VP8LHashPix(argb, cc->hash_shift_);
54 cc->colors_[key] = argb;
58 uint32_t argb) {
59 return VP8LHashPix(argb, cc->hash_shift_);
62 // Return the key if cc contains argb, an
45 VP8LColorCacheSet(const VP8LColorCache* const cc, uint32_t key, uint32_t argb) argument
51 VP8LColorCacheInsert(const VP8LColorCache* const cc, uint32_t argb) argument
57 VP8LColorCacheGetIndex(const VP8LColorCache* const cc, uint32_t argb) argument
63 VP8LColorCacheContains(const VP8LColorCache* const cc, uint32_t argb) argument
[all...]
/external/pdfium/core/fxge/
H A Dfx_dib.h88 std::tuple<int, int, int, int> ArgbDecode(FX_ARGB argb);
91 std::pair<int, FX_COLORREF> ArgbToColorRef(FX_ARGB argb);
100 #define FXARGB_A(argb) ((uint8_t)((argb) >> 24))
101 #define FXARGB_R(argb) ((uint8_t)((argb) >> 16))
102 #define FXARGB_G(argb) ((uint8_t)((argb) >> 8))
103 #define FXARGB_B(argb) ((uint8_t)(argb))
[all...]
/external/valgrind/memcheck/tests/
H A Dinltemplate.cpp19 static INLINE T temp_member_func_b(T argb) { argument
21 if (argb > 0)
22 locb += argb;
/external/pdfium/core/fpdfapi/render/
H A Dcpdf_renderoptions.cpp24 FX_ARGB CPDF_RenderOptions::TranslateColor(FX_ARGB argb) const {
26 return argb;
28 return argb;
34 std::tie(a, r, g, b) = ArgbDecode(argb);
/external/pdfium/xfa/fxgraphics/
H A Dcxfa_gecolor.cpp11 CXFA_GEColor::CXFA_GEColor(const FX_ARGB argb) : m_type(Solid), m_argb(argb) { argument
15 CXFA_GEColor::CXFA_GEColor(CXFA_GEPattern* pattern, const FX_ARGB argb) argument
16 : m_type(Pattern), m_argb(argb) {
H A Dcxfa_gecolor.h20 explicit CXFA_GEColor(const FX_ARGB argb);
22 CXFA_GEColor(CXFA_GEPattern* pattern, const FX_ARGB argb);
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowColor.java12 return argb(0xff, red, green, blue);
16 public static int argb(int alpha, int red, int green, int blue) { method in class:ShadowColor
/external/pdfium/core/fxge/dib/
H A Dfx_dib_main.cpp77 std::tuple<int, int, int, int> ArgbDecode(FX_ARGB argb) { argument
78 return std::make_tuple(FXARGB_A(argb), FXARGB_R(argb), FXARGB_G(argb),
79 FXARGB_B(argb));
82 std::pair<int, FX_COLORREF> ArgbToColorRef(FX_ARGB argb) { argument
83 return {FXARGB_A(argb),
84 FXSYS_RGB(FXARGB_R(argb), FXARGB_G(argb), FXARGB_B(argb))};
[all...]
/external/webp/src/dsp/
H A Dlossless_enc_mips_dsp_r2.c84 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 >> 1
163 TransformColorBlue(uint8_t green_to_blue, uint8_t red_to_blue, uint32_t argb) argument
174 CollectColorBlueTransforms_MIPSdspR2(const uint32_t* argb, int stride, int tile_width, int tile_height, int green_to_blue, int red_to_blue, int histo[]) argument
220 TransformColorRed(uint8_t green_to_red, uint32_t argb) argument
228 CollectColorRedTransforms_MIPSdspR2(const uint32_t* argb, int stride, int tile_width, int tile_height, int green_to_red, int histo[]) argument
[all...]
H A Dlossless_enc_neon.c39 static WEBP_INLINE uint8x16_t DoGreenShuffle_NEON(const uint8x16_t argb, argument
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_NEON(const uint8x16_t argb, argument
50 return vcombine_u8(vtbl1_u8(vget_low_u8(argb), shuffle),
51 vtbl1_u8(vget_high_u8(argb), shuffle));
64 const uint8x16_t argb = vld1q_u8((uint8_t*)argb_data); local
65 const uint8x16_t greens = DoGreenShuffle_NEON(argb, shuffle);
66 vst1q_u8((uint8_t*)argb_data, vsubq_u8(argb, greens));
H A Dalpha_processing_sse41.c22 static int ExtractAlpha_SSE41(const uint8_t* argb, int argb_stride, argument
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;
H A Dalpha_processing_mips_dsp_r2.c90 const uint32_t argb = ptr[x]; local
91 if (argb < 0xff000000u) { // alpha < 255
92 if (argb <= 0x00ffffffu) { // alpha == 0
97 "srl %[alpha], %[argb], 24 \n\t"
104 "andi %[temp1], %[argb], 0xff \n\t"
105 "ext %[temp2], %[argb], 8, 8 \n\t"
106 "ext %[temp3], %[argb], 16, 8 \n\t"
113 "precrq.ph.w %[temp3], %[argb], %[temp3] \n\t"
119 [c_ff000000]"r"(c_ff000000), [argb]"r"(argb)
[all...]
H A Dlossless.c248 const uint32_t argb = src[i]; local
249 const uint32_t green = ((argb >> 8) & 0xff);
250 uint32_t red_blue = (argb & 0x00ff00ffu);
253 dst[i] = (argb & 0xff00ff00u) | red_blue;
274 const uint32_t argb = src[i]; local
275 const uint32_t green = argb >> 8;
276 const uint32_t red = argb >> 16;
278 int new_blue = argb & 0xff;
284 dst[i] = (argb & 0xff00ff00u) | (new_red << 16) | (new_blue);
431 const uint32_t argb local
442 const uint32_t argb = *src++; local
454 const uint32_t argb = *src++; local
471 const uint32_t argb = *src++; local
488 const uint32_t argb = *src++; local
500 const uint32_t argb = *src++; local
[all...]
/external/webp/src/enc/
H A Dbackward_references_enc.c197 static WEBP_INLINE uint32_t GetPixPairHash64(const uint32_t* const argb) { argument
199 key = (argb[1] * HASH_MULTIPLIER_HI) & 0xffffffffu;
200 key += (argb[0] * HASH_MULTIPLIER_LO) & 0xffffffffu;
225 const uint32_t* const argb, int xsize, int ysize,
252 argb_comp = (argb[0] == argb[1]);
255 const int argb_comp_next = (argb[pos + 1] == argb[pos + 2]);
262 tmp[0] = argb[pos];
267 while (pos + (int)len + 2 < size && argb[po
224 VP8LHashChainFill(VP8LHashChain* const p, int quality, const uint32_t* const argb, int xsize, int ysize, int low_effort) argument
410 BackwardReferencesRle(int xsize, int ysize, const uint32_t* const argb, int cache_bits, VP8LBackwardRefs* const refs) argument
453 BackwardReferencesLz77(int xsize, int ysize, const uint32_t* const argb, int cache_bits, const VP8LHashChain* const hash_chain, VP8LBackwardRefs* const refs) argument
525 BackwardReferencesLz77Box(int xsize, int ysize, const uint32_t* const argb, int cache_bits, const VP8LHashChain* const hash_chain_best, VP8LHashChain* hash_chain, VP8LBackwardRefs* const refs) argument
694 CalculateBestCacheSize(const uint32_t* argb, int quality, const VP8LBackwardRefs* const refs, int* const best_cache_bits) argument
793 BackwardRefsWithLocalCache(const uint32_t* const argb, int cache_bits, VP8LBackwardRefs* const refs) argument
827 GetBackwardReferencesLowEffort( int width, int height, const uint32_t* const argb, int* const cache_bits, const VP8LHashChain* const hash_chain, VP8LBackwardRefs* const refs_lz77) argument
843 GetBackwardReferences( int width, int height, const uint32_t* const argb, int quality, int lz77_types_to_try, int* const cache_bits, const VP8LHashChain* const hash_chain, VP8LBackwardRefs* best, VP8LBackwardRefs* worst) argument
930 VP8LGetBackwardReferences( int width, int height, const uint32_t* const argb, int quality, int low_effort, int lz77_types_to_try, int* const cache_bits, const VP8LHashChain* const hash_chain, VP8LBackwardRefs* const refs_tmp1, VP8LBackwardRefs* const refs_tmp2) argument
[all...]
H A Dpredictor_enc.c58 static WEBP_INLINE void UpdateHisto(int histo_argb[4][256], uint32_t argb) { argument
59 ++histo_argb[0][argb >> 24];
60 ++histo_argb[1][(argb >> 16) & 0xff];
61 ++histo_argb[2][(argb >> 8) & 0xff];
62 ++histo_argb[3][argb & 0xff];
112 static uint32_t AddGreenToBlueAndRed(uint32_t argb) { argument
113 const uint32_t green = (argb >> 8) & 0xff;
114 uint32_t red_blue = argb & 0x00ff00ffu;
117 return (argb & 0xff00ff00u) | red_blue;
120 static void MaxDiffsForRow(int width, int stride, const uint32_t* const argb, argument
296 GetBestPredictorForTile(int width, int height, int tile_x, int tile_y, int bits, int accumulated[4][256], uint32_t* const argb_scratch, const uint32_t* const argb, int max_quantization, int exact, int used_subtract_green, const uint32_t* const modes) argument
411 CopyImageWithPrediction(int width, int height, int bits, uint32_t* const modes, uint32_t* const argb_scratch, uint32_t* const argb, int low_effort, int max_quantization, int exact, int used_subtract_green) argument
473 VP8LResidualImage(int width, int height, int bits, int low_effort, uint32_t* const argb, uint32_t* const argb_scratch, uint32_t* const image, int near_lossless_quality, int exact, int used_subtract_green) argument
538 GetPredictionCostCrossColorRed( const uint32_t* argb, int stride, int tile_width, int tile_height, VP8LMultipliers prev_x, VP8LMultipliers prev_y, int green_to_red, const int accumulated_red_histo[256]) argument
561 GetBestGreenToRed( const uint32_t* argb, int stride, int tile_width, int tile_height, VP8LMultipliers prev_x, VP8LMultipliers prev_y, int quality, const int accumulated_red_histo[256], VP8LMultipliers* const best_tx) argument
591 GetPredictionCostCrossColorBlue( const uint32_t* argb, int stride, int tile_width, int tile_height, VP8LMultipliers prev_x, VP8LMultipliers prev_y, int green_to_blue, int red_to_blue, const int accumulated_blue_histo[256]) argument
625 GetBestGreenRedToBlue( const uint32_t* argb, int stride, int tile_width, int tile_height, VP8LMultipliers prev_x, VP8LMultipliers prev_y, int quality, const int accumulated_blue_histo[256], VP8LMultipliers* const best_tx) argument
673 GetBestColorTransformForTile( int tile_x, int tile_y, int bits, VP8LMultipliers prev_x, VP8LMultipliers prev_y, int quality, int xsize, int ysize, const int accumulated_red_histo[256], const int accumulated_blue_histo[256], const uint32_t* const argb) argument
701 CopyTileWithColorTransform(int xsize, int ysize, int tile_x, int tile_y, int max_tile_size, VP8LMultipliers color_transform, uint32_t* argb) argument
715 VP8LColorSpaceTransform(int width, int height, int bits, int quality, uint32_t* const argb, uint32_t* image) argument
[all...]
H A Dpicture_tools_enc.c103 if (IsTransparentARGBArea(pic->argb + off, pic->argb_stride, SIZE)) {
105 argb_value = pic->argb[off];
108 FlattenARGB(pic->argb + off, argb_value, pic->argb_stride, SIZE);
174 uint32_t* argb; local
178 argb = pic->argb;
182 if ((argb[x] & 0xff000000) == 0) {
183 argb[x] = 0x00000000;
186 argb += pic->argb_stride;
246 uint32_t* argb local
[all...]
/external/pdfium/core/fxge/apple/
H A Dapple_int.h34 FX_ARGB argb,
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
H A DColorTest.java23 int color = Color.argb(100, 160, 160, 160);
/external/libvpx/libvpx/third_party/libyuv/source/
H A Dcompare.cc66 static uint32 ARGBDetectRow_C(const uint8* argb, int width) { argument
69 if (argb[0] != 255) { // First byte is not Alpha of 255, so not ARGB.
72 if (argb[3] != 255) { // 4th byte is not Alpha of 255, so not BGRA.
75 if (argb[4] != 255) { // Second pixel first byte is not Alpha of 255.
78 if (argb[7] != 255) { // Second pixel 4th byte is not Alpha of 255.
81 argb += 8;
84 if (argb[0] != 255) { // First byte is not Alpha of 255, so not ARGB.
87 if (argb[3] != 255) { // 4th byte is not Alpha of 255, so not BGRA.
94 // Scan an opaque argb image and return fourcc based on alpha offset.
97 uint32 ARGBDetect(const uint8* argb, in argument
[all...]

Completed in 1502 milliseconds

12345