Home
last modified time | relevance | path

Searched refs:argb (Results 1 – 21 of 21) sorted by relevance

/external/webp/src/dsp/
Dlossless.c437 uint32_t* const argb) { in CopyTileWithPrediction() argument
465 argb[pix] = VP8LSubPixels(current_row[col], predict); in CopyTileWithPrediction()
471 uint32_t* const argb, uint32_t* const argb_scratch, in VP8LResidualImage() argument
490 memcpy(current_tile_rows, &argb[tile_y_offset * width], in VP8LResidualImage()
504 argb_scratch, argb); in VP8LResidualImage()
514 const uint32_t a = argb[ix]; in VP8LResidualImage()
579 const uint32_t argb = argb_data[i]; in VP8LSubtractGreenFromBlueAndRed() local
580 const uint32_t green = (argb >> 8) & 0xff; in VP8LSubtractGreenFromBlueAndRed()
581 const uint32_t new_r = (((argb >> 16) & 0xff) - green) & 0xff; in VP8LSubtractGreenFromBlueAndRed()
582 const uint32_t new_b = ((argb & 0xff) - green) & 0xff; in VP8LSubtractGreenFromBlueAndRed()
[all …]
Dyuv.h70 uint8_t* const argb) { in VP8YuvToArgb() argument
71 argb[0] = 0xff; in VP8YuvToArgb()
72 VP8YuvToRgb(y, u, v, argb + 1); in VP8YuvToArgb()
76 uint8_t* const argb) { in VP8YuvToRgba4444() argument
81 argb[1] = ((VP8kClip4Bits[y + r_off - YUV_RANGE_MIN] << 4) | in VP8YuvToRgba4444()
83 argb[0] = 0x0f | (VP8kClip4Bits[y + b_off - YUV_RANGE_MIN] << 4); in VP8YuvToRgba4444()
85 argb[0] = ((VP8kClip4Bits[y + r_off - YUV_RANGE_MIN] << 4) | in VP8YuvToRgba4444()
87 argb[1] = 0x0f | (VP8kClip4Bits[y + b_off - YUV_RANGE_MIN] << 4); in VP8YuvToRgba4444()
Dlossless.h40 uint32_t* const argb, uint32_t* const argb_scratch,
44 uint32_t* const argb, uint32_t* image);
/external/webp/src/enc/
Dbackward_references.c108 static WEBP_INLINE uint64_t GetPixPairHash64(const uint32_t* const argb) { in GetPixPairHash64() argument
109 uint64_t key = ((uint64_t)(argb[1]) << 32) | argb[0]; in GetPixPairHash64()
138 const uint32_t* const argb, int pos) { in HashChainInsert() argument
139 const uint64_t hash_code = GetPixPairHash64(argb); in HashChainInsert()
146 const uint32_t* const argb, int maxlen, in HashChainFindCopy() argument
149 const uint64_t hash_code = GetPixPairHash64(&argb[index]); in HashChainFindCopy()
154 const uint32_t* const argb_start = argb + index; in HashChainFindCopy()
174 argb[pos + best_length - 1] != argb_start[best_length - 1]) { in HashChainFindCopy()
177 curr_length = FindMatchLength(argb + pos, argb_start, maxlen); in HashChainFindCopy()
229 const uint32_t* const argb, in BackwardReferencesRle() argument
[all …]
Dpicture.c30 uint32_t argb; member
127 memory = WebPSafeMalloc(argb_size, sizeof(*picture->argb)); in WebPPictureAlloc()
132 picture->argb = (uint32_t*)memory; in WebPPictureAlloc()
142 picture->argb = NULL; in PictureResetARGB()
178 picture->argb = tmp.argb; in PictureAllocARGB()
261 CopyPlane((const uint8_t*)src->argb, 4 * src->argb_stride, in WebPPictureCopy()
262 (uint8_t*)dst->argb, 4 * dst->argb_stride, in WebPPictureCopy()
305 dst->argb = src->argb + top * src->argb_stride + left; in WebPPictureView()
356 (const uint8_t*)(pic->argb + top * pic->argb_stride + left); in WebPPictureCrop()
358 (uint8_t*)tmp.argb, tmp.argb_stride * 4, in WebPPictureCrop()
[all …]
Dvp8l.c53 const uint32_t* argb = pic->argb; in AnalyzeAndCreatePalette() local
56 uint32_t last_pix = ~argb[0]; // so we're sure that last_pix != argb[0] in AnalyzeAndCreatePalette()
60 if (argb[x] == last_pix) { in AnalyzeAndCreatePalette()
63 last_pix = argb[x]; in AnalyzeAndCreatePalette()
85 argb += pic->argb_stride; in AnalyzeAndCreatePalette()
102 static int AnalyzeEntropy(const uint32_t* argb, in AnalyzeEntropy() argument
108 uint32_t last_pix = argb[0]; // so we're sure that pix_diff == 0 in AnalyzeEntropy()
120 const uint32_t pix = argb[x]; in AnalyzeEntropy()
134 last_line = argb; in AnalyzeEntropy()
135 argb += argb_stride; in AnalyzeEntropy()
[all …]
Dbackward_references.h129 static WEBP_INLINE PixOrCopy PixOrCopyCreateLiteral(uint32_t argb) { in PixOrCopyCreateLiteral() argument
132 retval.argb_or_distance = argb; in PixOrCopyCreateLiteral()
199 const uint32_t* const argb,
204 int VP8LCalculateEstimateForCacheSize(const uint32_t* const argb,
Dwebpenc.c354 if (pic->argb != NULL) { in WebPEncode()
378 if (pic->argb == NULL) in WebPEncode()
Dalpha.c68 uint32_t* dst = picture.argb; in EncodeLossless()
/external/webp/src/utils/
Dcolor_cache.h37 uint32_t argb) { in VP8LColorCacheInsert() argument
38 const uint32_t key = (kHashMul * argb) >> cc->hash_shift_; in VP8LColorCacheInsert()
39 cc->colors_[key] = argb; in VP8LColorCacheInsert()
43 uint32_t argb) { in VP8LColorCacheGetIndex() argument
44 return (kHashMul * argb) >> cc->hash_shift_; in VP8LColorCacheGetIndex()
48 uint32_t argb) { in VP8LColorCacheContains() argument
49 const uint32_t key = (kHashMul * argb) >> cc->hash_shift_; in VP8LColorCacheContains()
50 return cc->colors_[key] == argb; in VP8LColorCacheContains()
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/
DRGB565.java41 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/oprofile/libpopt/
Dpopt.c183 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 …]
Dpoptint.h50 pbm_set * argb; member
/external/qemu/distrib/sdl-1.2.15/src/hermes/
Dmmxp2_32.asm140 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/jmonkeyengine/engine/src/desktop/jme3tools/converters/
DImageToAwt.java225 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()
/external/clang/test/Parser/
Dfunction-decls.c8 X = sizeof(void (*(int arga, void (*argb)(double Y)))(void* Z)); in foo()
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/
DContext.cpp2186 unsigned short argb = *(unsigned short*)(source + 2 * i + j * lock.Pitch); in readPixels() local
2188 a = (argb & 0x8000) ? 1.0f : 0.0f; in readPixels()
2189 b = (argb & 0x001F) * (1.0f / 0x001F); in readPixels()
2190 g = (argb & 0x03E0) * (1.0f / 0x03E0); in readPixels()
2191 r = (argb & 0x7C00) * (1.0f / 0x7C00); in readPixels()
2196 unsigned int argb = *(unsigned int*)(source + 4 * i + j * lock.Pitch); in readPixels() local
2198 a = (argb & 0xFF000000) * (1.0f / 0xFF000000); in readPixels()
2199 b = (argb & 0x000000FF) * (1.0f / 0x000000FF); in readPixels()
2200 g = (argb & 0x0000FF00) * (1.0f / 0x0000FF00); in readPixels()
2201 r = (argb & 0x00FF0000) * (1.0f / 0x00FF0000); in readPixels()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/math/
DColorRGBA.java491 int argb = (((int) (a * 255) & 0xFF) << 24) in asIntARGB() local
495 return argb; in asIntARGB()
/external/qemu/android/skin/
Dargb.h30 mmx_save8888( mmx_t argb, mmx_t zero ) in mmx_save8888() argument
32 return (unsigned) _mm_cvtsi64_si32( _mm_packs_pu16( argb, zero ) ); in mmx_save8888()
43 mmx_mulshift( mmx_t argb, int multiplier, int rshift, mmx_t zero ) in mmx_mulshift() argument
45 mmx_t ar = _mm_unpackhi_pi16(argb, zero ); in mmx_mulshift()
46 mmx_t gb = _mm_unpacklo_pi16(argb, zero ); in mmx_mulshift()
/external/webp/include/webp/
Dencode.h270 uint32_t* argb; // Pointer to argb (32 bit) plane. member
/external/skia/src/animator/
DSkAnimateSchema.xsd27 …<!-- @pattern #[0-9a-fA-F]{4} #argb contains four hexadecimal digits. #argb is equivalent to 0xaar…