/external/chromium_org/third_party/skia/src/images/ |
D | 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*) { in ARGB_8888_To_ARGB() argument 29 argb[0] = SkGetPackedA32(c); in ARGB_8888_To_ARGB() 30 argb[1] = SkGetPackedR32(c); in ARGB_8888_To_ARGB() 31 argb[2] = SkGetPackedG32(c); in ARGB_8888_To_ARGB() 32 argb[3] = SkGetPackedB32(c); in ARGB_8888_To_ARGB() 33 argb += 4; in ARGB_8888_To_ARGB() 37 static void RGB_565_To_ARGB(const uint8_t* in, uint8_t* argb, int width, const SkPMColor*) { in RGB_565_To_ARGB() argument 41 argb[0] = 0xFF; in RGB_565_To_ARGB() 42 argb[1] = SkPacked16ToR32(c); in RGB_565_To_ARGB() [all …]
|
/external/skia/src/images/ |
D | 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*) { in ARGB_8888_To_ARGB() argument 29 argb[0] = SkGetPackedA32(c); in ARGB_8888_To_ARGB() 30 argb[1] = SkGetPackedR32(c); in ARGB_8888_To_ARGB() 31 argb[2] = SkGetPackedG32(c); in ARGB_8888_To_ARGB() 32 argb[3] = SkGetPackedB32(c); in ARGB_8888_To_ARGB() 33 argb += 4; in ARGB_8888_To_ARGB() 37 static void RGB_565_To_ARGB(const uint8_t* in, uint8_t* argb, int width, const SkPMColor*) { in RGB_565_To_ARGB() argument 41 argb[0] = 0xFF; in RGB_565_To_ARGB() 42 argb[1] = SkPacked16ToR32(c); in RGB_565_To_ARGB() [all …]
|
/external/webp/src/dsp/ |
D | lossless.c | 580 uint32_t* const argb) { in CopyTileWithPrediction() argument 608 argb[pix] = VP8LSubPixels(current_row[col], predict); in CopyTileWithPrediction() 614 uint32_t* const argb, uint32_t* const argb_scratch, in VP8LResidualImage() argument 633 memcpy(current_tile_rows, &argb[tile_y_offset * width], in VP8LResidualImage() 647 argb_scratch, argb); in VP8LResidualImage() 657 const uint32_t a = argb[ix]; in VP8LResidualImage() 735 const uint32_t argb = argb_data[i]; in VP8LSubtractGreenFromBlueAndRed() local 736 const uint32_t green = (argb >> 8) & 0xff; in VP8LSubtractGreenFromBlueAndRed() 737 const uint32_t new_r = (((argb >> 16) & 0xff) - green) & 0xff; in VP8LSubtractGreenFromBlueAndRed() 738 const uint32_t new_b = ((argb & 0xff) - green) & 0xff; in VP8LSubtractGreenFromBlueAndRed() [all …]
|
D | yuv.h | 112 uint8_t* const argb) { in VP8YuvToRgba4444() argument 120 argb[0] = ba; in VP8YuvToRgba4444() 121 argb[1] = rg; in VP8YuvToRgba4444() 123 argb[0] = rg; in VP8YuvToRgba4444() 124 argb[1] = ba; in VP8YuvToRgba4444() 193 uint8_t* const argb) { in VP8YuvToRgba4444() argument 200 argb[0] = ba; in VP8YuvToRgba4444() 201 argb[1] = rg; in VP8YuvToRgba4444() 203 argb[0] = rg; in VP8YuvToRgba4444() 204 argb[1] = ba; in VP8YuvToRgba4444() [all …]
|
D | 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/dsp/ |
D | lossless.c | 580 uint32_t* const argb) { in CopyTileWithPrediction() argument 608 argb[pix] = VP8LSubPixels(current_row[col], predict); in CopyTileWithPrediction() 614 uint32_t* const argb, uint32_t* const argb_scratch, in VP8LResidualImage() argument 633 memcpy(current_tile_rows, &argb[tile_y_offset * width], in VP8LResidualImage() 647 argb_scratch, argb); in VP8LResidualImage() 657 const uint32_t a = argb[ix]; in VP8LResidualImage() 735 const uint32_t argb = argb_data[i]; in VP8LSubtractGreenFromBlueAndRed() local 736 const uint32_t green = (argb >> 8) & 0xff; in VP8LSubtractGreenFromBlueAndRed() 737 const uint32_t new_r = (((argb >> 16) & 0xff) - green) & 0xff; in VP8LSubtractGreenFromBlueAndRed() 738 const uint32_t new_b = ((argb & 0xff) - green) & 0xff; in VP8LSubtractGreenFromBlueAndRed() [all …]
|
D | yuv.h | 112 uint8_t* const argb) { in VP8YuvToRgba4444() argument 120 argb[0] = ba; in VP8YuvToRgba4444() 121 argb[1] = rg; in VP8YuvToRgba4444() 123 argb[0] = rg; in VP8YuvToRgba4444() 124 argb[1] = ba; in VP8YuvToRgba4444() 193 uint8_t* const argb) { in VP8YuvToRgba4444() argument 200 argb[0] = ba; in VP8YuvToRgba4444() 201 argb[1] = rg; in VP8YuvToRgba4444() 203 argb[0] = rg; in VP8YuvToRgba4444() 204 argb[1] = ba; in VP8YuvToRgba4444() [all …]
|
D | lossless.h | 49 uint32_t* const argb, uint32_t* const argb_scratch, 53 uint32_t* const argb, uint32_t* image);
|
/external/webp/src/enc/ |
D | backward_references.c | 110 static WEBP_INLINE uint64_t GetPixPairHash64(const uint32_t* const argb) { in GetPixPairHash64() argument 111 uint64_t key = ((uint64_t)(argb[1]) << 32) | argb[0]; in GetPixPairHash64() 140 const uint32_t* const argb, int pos) { in HashChainInsert() argument 141 const uint64_t hash_code = GetPixPairHash64(argb); in HashChainInsert() 166 const uint32_t* const argb, int maxlen, in HashChainFindCopy() argument 170 const uint32_t* const argb_start = argb + base_position; in HashChainFindCopy() 191 if (argb[pos + best_length - 1] != argb_start[best_length - 1]) { in HashChainFindCopy() 194 curr_length = FindMatchLength(argb + pos, argb_start, maxlen); in HashChainFindCopy() 243 const uint32_t* const argb, in BackwardReferencesRle() argument 250 refs->refs[refs->size++] = PixOrCopyCreateLiteral(argb[0]); in BackwardReferencesRle() [all …]
|
D | picture.c | 32 uint32_t argb; member 129 memory = WebPSafeMalloc(argb_size, sizeof(*picture->argb)); in WebPPictureAlloc() 134 picture->argb = (uint32_t*)memory; in WebPPictureAlloc() 144 picture->argb = NULL; in PictureResetARGB() 180 picture->argb = tmp.argb; in PictureAllocARGB() 263 CopyPlane((const uint8_t*)src->argb, 4 * src->argb_stride, in WebPPictureCopy() 264 (uint8_t*)dst->argb, 4 * dst->argb_stride, in WebPPictureCopy() 311 dst->argb = src->argb + top * src->argb_stride + left; in WebPPictureView() 363 (const uint8_t*)(pic->argb + top * pic->argb_stride + left); in WebPPictureCrop() 365 (uint8_t*)tmp.argb, tmp.argb_stride * 4, in WebPPictureCrop() [all …]
|
D | vp8l.c | 56 const uint32_t* argb = pic->argb; in AnalyzeAndCreatePalette() local 59 uint32_t last_pix = ~argb[0]; // so we're sure that last_pix != argb[0] in AnalyzeAndCreatePalette() 63 if (argb[x] == last_pix) { in AnalyzeAndCreatePalette() 66 last_pix = argb[x]; in AnalyzeAndCreatePalette() 88 argb += pic->argb_stride; in AnalyzeAndCreatePalette() 105 static int AnalyzeEntropy(const uint32_t* argb, in AnalyzeEntropy() argument 111 uint32_t last_pix = argb[0]; // so we're sure that pix_diff == 0 in AnalyzeEntropy() 123 const uint32_t pix = argb[x]; in AnalyzeEntropy() 137 last_line = argb; in AnalyzeEntropy() 138 argb += argb_stride; in AnalyzeEntropy() [all …]
|
D | backward_references.h | 136 static WEBP_INLINE PixOrCopy PixOrCopyCreateLiteral(uint32_t argb) { in PixOrCopyCreateLiteral() argument 139 retval.argb_or_distance = argb; in PixOrCopyCreateLiteral() 206 const uint32_t* const argb, 211 int VP8LCalculateEstimateForCacheSize(const uint32_t* const argb,
|
/external/chromium_org/third_party/libwebp/enc/ |
D | backward_references.c | 110 static WEBP_INLINE uint64_t GetPixPairHash64(const uint32_t* const argb) { in GetPixPairHash64() argument 111 uint64_t key = ((uint64_t)(argb[1]) << 32) | argb[0]; in GetPixPairHash64() 140 const uint32_t* const argb, int pos) { in HashChainInsert() argument 141 const uint64_t hash_code = GetPixPairHash64(argb); in HashChainInsert() 166 const uint32_t* const argb, int maxlen, in HashChainFindCopy() argument 170 const uint32_t* const argb_start = argb + base_position; in HashChainFindCopy() 191 if (argb[pos + best_length - 1] != argb_start[best_length - 1]) { in HashChainFindCopy() 194 curr_length = FindMatchLength(argb + pos, argb_start, maxlen); in HashChainFindCopy() 243 const uint32_t* const argb, in BackwardReferencesRle() argument 250 refs->refs[refs->size++] = PixOrCopyCreateLiteral(argb[0]); in BackwardReferencesRle() [all …]
|
D | picture.c | 32 uint32_t argb; member 129 memory = WebPSafeMalloc(argb_size, sizeof(*picture->argb)); in WebPPictureAlloc() 134 picture->argb = (uint32_t*)memory; in WebPPictureAlloc() 144 picture->argb = NULL; in PictureResetARGB() 180 picture->argb = tmp.argb; in PictureAllocARGB() 263 CopyPlane((const uint8_t*)src->argb, 4 * src->argb_stride, in WebPPictureCopy() 264 (uint8_t*)dst->argb, 4 * dst->argb_stride, in WebPPictureCopy() 311 dst->argb = src->argb + top * src->argb_stride + left; in WebPPictureView() 363 (const uint8_t*)(pic->argb + top * pic->argb_stride + left); in WebPPictureCrop() 365 (uint8_t*)tmp.argb, tmp.argb_stride * 4, in WebPPictureCrop() [all …]
|
D | vp8l.c | 56 const uint32_t* argb = pic->argb; in AnalyzeAndCreatePalette() local 59 uint32_t last_pix = ~argb[0]; // so we're sure that last_pix != argb[0] in AnalyzeAndCreatePalette() 63 if (argb[x] == last_pix) { in AnalyzeAndCreatePalette() 66 last_pix = argb[x]; in AnalyzeAndCreatePalette() 88 argb += pic->argb_stride; in AnalyzeAndCreatePalette() 105 static int AnalyzeEntropy(const uint32_t* argb, in AnalyzeEntropy() argument 111 uint32_t last_pix = argb[0]; // so we're sure that pix_diff == 0 in AnalyzeEntropy() 123 const uint32_t pix = argb[x]; in AnalyzeEntropy() 137 last_line = argb; in AnalyzeEntropy() 138 argb += argb_stride; in AnalyzeEntropy() [all …]
|
D | backward_references.h | 136 static WEBP_INLINE PixOrCopy PixOrCopyCreateLiteral(uint32_t argb) { in PixOrCopyCreateLiteral() argument 139 retval.argb_or_distance = argb; in PixOrCopyCreateLiteral() 206 const uint32_t* const argb, 211 int VP8LCalculateEstimateForCacheSize(const uint32_t* const argb,
|
/external/chromium_org/third_party/libwebp/utils/ |
D | color_cache.h | 39 uint32_t argb) { in VP8LColorCacheInsert() argument 40 const uint32_t key = (kHashMul * argb) >> cc->hash_shift_; in VP8LColorCacheInsert() 41 cc->colors_[key] = argb; in VP8LColorCacheInsert() 45 uint32_t argb) { in VP8LColorCacheGetIndex() argument 46 return (kHashMul * argb) >> cc->hash_shift_; in VP8LColorCacheGetIndex() 50 uint32_t argb) { in VP8LColorCacheContains() argument 51 const uint32_t key = (kHashMul * argb) >> cc->hash_shift_; in VP8LColorCacheContains() 52 return cc->colors_[key] == argb; in VP8LColorCacheContains()
|
/external/webp/src/utils/ |
D | color_cache.h | 39 uint32_t argb) { in VP8LColorCacheInsert() argument 40 const uint32_t key = (kHashMul * argb) >> cc->hash_shift_; in VP8LColorCacheInsert() 41 cc->colors_[key] = argb; in VP8LColorCacheInsert() 45 uint32_t argb) { in VP8LColorCacheGetIndex() argument 46 return (kHashMul * argb) >> cc->hash_shift_; in VP8LColorCacheGetIndex() 50 uint32_t argb) { in VP8LColorCacheContains() argument 51 const uint32_t key = (kHashMul * argb) >> cc->hash_shift_; in VP8LColorCacheContains() 52 return cc->colors_[key] == argb; in VP8LColorCacheContains()
|
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/ |
D | RGB565.java | 41 public static short ARGB8_to_RGB565(int argb){ in ARGB8_to_RGB565() argument 42 int a = (argb & 0xFF000000) >> 24; in ARGB8_to_RGB565() 43 int r = (argb & 0x00FF0000) >> 16; in ARGB8_to_RGB565() 44 int g = (argb & 0x0000FF00) >> 8; in ARGB8_to_RGB565() 45 int b = (argb & 0x000000FF); in ARGB8_to_RGB565()
|
/external/pixman/pixman/ |
D | pixman-access.c | 601 argb_t *argb = buffer; in fetch_scanline_a8r8g8b8_sRGB_float() local 603 argb->a = pixman_unorm_to_float ((p >> 24) & 0xff, 8); in fetch_scanline_a8r8g8b8_sRGB_float() 605 argb->r = to_linear [(p >> 16) & 0xff]; in fetch_scanline_a8r8g8b8_sRGB_float() 606 argb->g = to_linear [(p >> 8) & 0xff]; in fetch_scanline_a8r8g8b8_sRGB_float() 607 argb->b = to_linear [(p >> 0) & 0xff]; in fetch_scanline_a8r8g8b8_sRGB_float() 818 argb_t argb; in fetch_pixel_x2r10g10b10_float() local 820 argb.a = 1.0; in fetch_pixel_x2r10g10b10_float() 821 argb.r = pixman_unorm_to_float (r, 10); in fetch_pixel_x2r10g10b10_float() 822 argb.g = pixman_unorm_to_float (g, 10); in fetch_pixel_x2r10g10b10_float() 823 argb.b = pixman_unorm_to_float (b, 10); in fetch_pixel_x2r10g10b10_float() [all …]
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowColor.java | 12 return argb(0xff, red, green, blue); in rgb() 16 public static int argb(int alpha, int red, int green, int blue) { in argb() method in ShadowColor
|
/external/oprofile/libpopt/ |
D | popt.c | 183 con->os->argb = NULL; in poptGetContext() 224 os->argb = PBM_FREE(os->argb); in cleanOSE() 236 con->os->argb = PBM_FREE(con->os->argb); in poptResetContext() 373 con->os->argb = NULL; in handleAlias() 561 if (os->argb && PBM_ISSET(i, os->argb)) in findNextArg() 569 if (os->argb == NULL) os->argb = PBM_ALLOC(os->argc); in findNextArg() 570 if (os->argb != NULL) /* XXX can't happen */ in findNextArg() 571 PBM_SET(i, os->argb); in findNextArg() 739 if (con->os->argb && PBM_ISSET(con->os->next, con->os->argb)) { in poptGetNextOpt() 1069 con->os->argb = _free(con->os->argb); in poptFreeContext() [all …]
|
/external/qemu/distrib/sdl-1.2.15/src/hermes/ |
D | mmxp2_32.asm | 140 movq mm0, [esi] ; argb 141 movq mm1, mm0 ; argb 143 movq mm3, mm1 ; argb 150 movq mm4, [esi+8] ; argb 151 movq mm2, mm4 ; argb 153 movq mm1, mm2 ; argb
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/ |
D | Image9.cpp | 653 unsigned short argb = ((unsigned short*)source)[x]; in copy() local 654 unsigned char red = (argb & 0x7C00) >> 7; in copy() 655 unsigned char green = (argb & 0x03E0) >> 2; in copy() 656 unsigned char blue = (argb & 0x001F) << 3; in copy() 672 unsigned short argb = ((unsigned short*)source)[x]; in copy() local 673 unsigned char red = (argb & 0x7C00) >> 7; in copy() 674 unsigned char green = (argb & 0x03E0) >> 2; in copy() 675 unsigned char blue = (argb & 0x001F) << 3; in copy() 676 unsigned char alpha = (signed short)argb >> 15; in copy()
|
/external/jmonkeyengine/engine/src/desktop/jme3tools/converters/ |
D | ImageToAwt.java | 225 int argb = image.getRGB(x, y); in convert() local 228 int a = (argb & 0xff000000) >> 24; in convert() 229 int r = (argb & 0x00ff0000) >> 16; in convert() 230 int g = (argb & 0x0000ff00) >> 8; in convert() 231 int b = (argb & 0x000000ff); in convert() 471 int argb = (a << 24) | (r << 16) | (g << 8) | b; in convert() local 472 out.setRGB(x, y, argb); in convert()
|