HomeSort by relevance Sort by last modified time
    Searched refs:argb (Results 1 - 25 of 133) sorted by null

1 2 3 4 5 6

  /external/chromium_org/third_party/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;
  /external/webp/src/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;
  /external/clang/test/Parser/
function-decls.c 8 X = sizeof(void (*(int arga, void (*argb)(double Y)))(void* Z));
  /external/jmonkeyengine/engine/src/tools/jme3tools/converters/
RGB565.java 41 public static short ARGB8_to_RGB565(int argb){
42 int a = (argb & 0xFF000000) >> 24;
43 int r = (argb & 0x00FF0000) >> 16;
44 int g = (argb & 0x0000FF00) >> 8;
45 int b = (argb & 0x000000FF);
  /external/chromium_org/third_party/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)
107 uint8_t* argb = ada.get(); local
    [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)
107 uint8_t* argb = ada.get(); local
    [all...]
  /external/robolectric/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
  /packages/apps/Settings/src/com/android/settings/accessibility/
ColorPreference.java 87 final int argb = getValue(); local
88 if (Color.alpha(argb) < 255) {
95 mPreviewColor = new ColorDrawable(argb);
98 mPreviewColor.setColor(argb);
114 final int argb = getValueAt(index); local
115 final int alpha = Color.alpha(argb);
126 ((ColorDrawable) foreground).setColor(argb);
128 swatch.setImageDrawable(new ColorDrawable(argb));
  /external/chromium_org/media/base/simd/
convert_rgb_to_yuv_ssse3.h 30 void ConvertARGBToYUVRow_SSSE3(const uint8* argb,
  /external/chromium_org/third_party/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...]
yuv.h 112 uint8_t* const argb) {
120 argb[0] = ba;
121 argb[1] = rg;
123 argb[0] = rg;
124 argb[1] = ba;
193 uint8_t* const argb) {
200 argb[0] = ba;
201 argb[1] = rg;
203 argb[0] = rg;
204 argb[1] = ba
    [all...]
lossless.h 49 uint32_t* const argb, uint32_t* const argb_scratch,
53 uint32_t* const argb, uint32_t* image);
  /external/webp/src/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...]
yuv.h 112 uint8_t* const argb) {
120 argb[0] = ba;
121 argb[1] = rg;
123 argb[0] = rg;
124 argb[1] = ba;
193 uint8_t* const argb) {
200 argb[0] = ba;
201 argb[1] = rg;
203 argb[0] = rg;
204 argb[1] = ba
    [all...]
lossless.h 49 uint32_t* const argb, uint32_t* const argb_scratch,
53 uint32_t* const argb, uint32_t* image);
  /external/chromium_org/third_party/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...]
picture.c 32 uint32_t argb; member in union:__anon14010
129 memory = WebPSafeMalloc(argb_size, sizeof(*picture->argb));
134 picture->argb = (uint32_t*)memory;
141 // Remove reference to the ARGB buffer (doesn't free anything).
144 picture->argb = NULL;
168 // Allocate a new argb buffer, discarding any existing one and preserving
180 picture->argb = tmp.argb;
185 // Release memory owned by 'picture' (both YUV and ARGB buffers).
263 CopyPlane((const uint8_t*)src->argb, 4 * src->argb_stride
540 const uint32_t* argb = picture->argb; local
700 const uint32_t argb = local
714 const uint32_t argb = ((uint32_t)a_ptr[offset] << 24) | local
827 const uint8_t* const argb = (const uint8_t*)picture->argb; local
    [all...]
backward_references.h 136 static WEBP_INLINE PixOrCopy PixOrCopyCreateLiteral(uint32_t argb) {
139 retval.argb_or_distance = argb;
206 const uint32_t* const argb,
211 int VP8LCalculateEstimateForCacheSize(const uint32_t* const argb,
  /external/webp/src/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...]
picture.c 32 uint32_t argb; member in union:__anon30374
129 memory = WebPSafeMalloc(argb_size, sizeof(*picture->argb));
134 picture->argb = (uint32_t*)memory;
141 // Remove reference to the ARGB buffer (doesn't free anything).
144 picture->argb = NULL;
168 // Allocate a new argb buffer, discarding any existing one and preserving
180 picture->argb = tmp.argb;
185 // Release memory owned by 'picture' (both YUV and ARGB buffers).
263 CopyPlane((const uint8_t*)src->argb, 4 * src->argb_stride
540 const uint32_t* argb = picture->argb; local
700 const uint32_t argb = local
714 const uint32_t argb = ((uint32_t)a_ptr[offset] << 24) | local
827 const uint8_t* const argb = (const uint8_t*)picture->argb; local
    [all...]
backward_references.h 136 static WEBP_INLINE PixOrCopy PixOrCopyCreateLiteral(uint32_t argb) {
139 retval.argb_or_distance = argb;
206 const uint32_t* const argb,
211 int VP8LCalculateEstimateForCacheSize(const uint32_t* const argb,
  /cts/tests/tests/graphics/src/android/graphics/cts/
LightingColorFilterTest.java 57 paint.setColorFilter(new LightingColorFilter(Color.TRANSPARENT, Color.argb(0, 0, 0xFF, 0)));
68 paint.setColor(Color.argb(255, 60, 20, 40));
72 assertColor(Color.argb(255, 30, 30, 30), bitmap.getPixel(0, 0));
76 paint.setColor(Color.argb(0x80, 60, 20, 40));
80 assertColor(Color.argb(0x80, 30, 30, 30), bitmap.getPixel(0, 0));
YuvImageTest.java 203 int[] argb = new int[stride * height]; local
204 mTestBitmaps[0].getPixels(argb, 0, stride, 0, 0, width, height);
205 byte[] yuv = convertArgbsToYuvs(argb, stride, height, ImageFormat.NV21);
239 int[] argb = new int [stride * height]; local
240 bitmap.getPixels(argb, 0, stride, 0, 0, width, height);
241 byte[] yuv = convertArgbsToYuvs(argb, stride, height, format);
303 private byte[] convertArgbsToYuvs(int[] argb, int width, int height,
313 argb2yuv(argb[idx], yuvColor);
328 argb2yuv(argb[idx], yuvColor0);
329 argb2yuv(argb[idx + 1], yuvColor1)
397 int[] argb = new int[WIDTH * HEIGHT]; local
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
ColorTest.java 23 int color = Color.argb(100, 160, 160, 160);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
CategorySelected.java 26 mPaint.setColor(Color.argb(128, 128, 128, 128));

Completed in 585 milliseconds

1 2 3 4 5 6