/external/webp/src/enc/ |
picture_tools.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...] |
near_lossless.c | 99 static void NearLossless(int xsize, int ysize, uint32_t* argb, 106 memcpy(copy_buffer, argb, xsize * 2 * sizeof(argb[0])); 109 uint32_t* const curr_argb_row = argb + y * xsize; 111 memcpy(next_row, next_argb_row, xsize * sizeof(argb[0])); 138 int VP8ApplyNearLossless(int xsize, int ysize, uint32_t* argb, int quality) { 143 assert(argb != NULL); 156 NearLossless(xsize, ysize, argb, i, copy_buffer);
|
/external/webp/src/dsp/ |
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));
|
lossless_enc.c | 532 static WEBP_INLINE void UpdateHisto(int histo_argb[4][256], uint32_t argb) { 533 ++histo_argb[0][argb >> 24]; 534 ++histo_argb[1][(argb >> 16) & 0xff]; 535 ++histo_argb[2][(argb >> 8) & 0xff]; 536 ++histo_argb[3][argb & 0xff]; 621 uint32_t* const argb, 638 memcpy(current_row, argb + y * width, sizeof(*current_row) * width); 639 current_row[width] = (y + 1 < height) ? argb[(y + 1) * width] : ARGB_BLACK; 645 argb[y * width + x] = VP8LSubPixels(current_row[x], predict); 667 argb[y * width + x] = residual 716 const uint32_t argb = argb_data[i]; local 754 const uint32_t argb = data[i]; local [all...] |
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...] |
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/texturepacker/ |
ColorBleedEffect.java | 73 color.argb = rgb[currentPixelIndex]; 83 rgb[pixelIndex] = color.argb; 105 color.argb = rgb[i]; 157 int argb = 0xff000000; field in class:ColorBleedEffect.ARGBColor 160 return (argb >> 16) & 0xFF; 164 return (argb >> 8) & 0xFF; 168 return (argb >> 0) & 0xFF; 172 return (argb >> 24) & 0xff; 178 argb = ((a & 0xFF) << 24) | ((r & 0xFF) << 16) | ((g & 0xFF) << 8) | ((b & 0xFF) << 0);
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
ColorTest.java | 23 int color = Color.argb(100, 160, 160, 160);
|
/external/llvm/test/CodeGen/PowerPC/ |
2007-10-18-PtrArithmetic.ll | 4 define void @bork(float* %argA, float* %argB, float* %res, i8 %inoutspec.0) { 14 %tmp1516 = bitcast float* %argB to <4 x i32>* ; <<4 x i32>*> [#uses=1]
|
/external/valgrind/memcheck/tests/ |
inlinfo.c | 18 INLINE int fun_b(int argb) { 20 locb += argb;
|
/external/valgrind/memcheck/tests/solaris/ |
inlinfo_nested.c | 21 INLINE int fun_b(int argb) { 23 locb += argb;
|
/external/libvpx/libvpx/third_party/libyuv/source/ |
compare.cc | 82 static uint32 ARGBDetectRow_C(const uint8* argb, int width) { 85 if (argb[0] != 255) { // First byte is not Alpha of 255, so not ARGB. 88 if (argb[3] != 255) { // 4th byte is not Alpha of 255, so not BGRA. 91 if (argb[4] != 255) { // Second pixel first byte is not Alpha of 255. 94 if (argb[7] != 255) { // Second pixel 4th byte is not Alpha of 255. 97 argb += 8; 100 if (argb[0] != 255) { // First byte is not Alpha of 255, so not ARGB. 103 if (argb[3] != 255) { // 4th byte is not Alpha of 255, so not BGRA [all...] |
convert_argb.cc | 26 // Copy ARGB with optional flipping 47 // Convert I444 to ARGB. 115 // Convert I422 to ARGB. 192 // Convert I411 to ARGB. 260 // Convert I400 to ARGB. 319 // Convert J400 to ARGB. 376 // Shuffle table for converting BGRA to ARGB. 381 // Shuffle table for converting ABGR to ARGB. 386 // Shuffle table for converting RGBA to ARGB. 391 // Convert BGRA to ARGB [all...] |
/external/libyuv/files/source/ |
compare.cc | 66 static uint32 ARGBDetectRow_C(const uint8* argb, int width) { 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 [all...] |
convert_argb.cc | 27 // Copy ARGB with optional flipping 48 // Convert I422 to ARGB with matrix 118 // Convert I420 to ARGB. 148 // Convert J420 to ARGB. 178 // Convert H420 to ARGB. 208 // Convert I422 to ARGB with matrix 286 // Convert I422 to ARGB. 316 // Convert J422 to ARGB. 346 // Convert H422 to ARGB. 376 // Convert I444 to ARGB with matri [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/ |
gdiplusflat.h | 55 GpStatus WINGDIPAPI GdipCreateHBITMAPFromBitmap(GpBitmap*,HBITMAP*,ARGB); 63 GpStatus WINGDIPAPI GdipBitmapGetPixel(GpBitmap*,INT,INT,ARGB*); 64 GpStatus WINGDIPAPI GdipBitmapSetPixel(GpBitmap*,INT,INT,ARGB); 187 GpStatus WINGDIPAPI GdipGetNearestColor(GpGraphics*,ARGB*); 220 GpStatus WINGDIPAPI GdipGraphicsClear(GpGraphics*,ARGB); 363 GpStatus WINGDIPAPI GdipCreateHatchBrush(GpHatchStyle,ARGB,ARGB,GpHatch**); 365 GpStatus WINGDIPAPI GdipGetHatchForegroundColor(GpHatch*,ARGB*); 366 GpStatus WINGDIPAPI GdipGetHatchBackgroundColor(GpHatch*,ARGB*); 431 GpStatus WINGDIPAPI GdipSetImageAttributesColorKeys(GpImageAttributes*,ColorAdjustType,BOOL,ARGB,ARGB) [all...] |
/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/skia/include/core/ |
SkColor.h | 22 /** 32 bit ARGB color value, not premultiplied. The color components are always in 106 /** Convert the argb color to its HSV components. 110 @param color the argb color to convert. Note: the alpha component is ignored. 117 /** Convert HSV components to an ARGB color. The alpha component is passed through unchanged. 122 @param alpha the alpha component of the returned argb color. 124 @return the resulting argb color 128 /** Convert HSV components to an ARGB color. The alpha component set to 0xFF. 134 @return the resulting argb color 142 /** 32 bit ARGB color value, premultiplied. The byte order for this value is
|
/external/opencv3/3rdparty/libwebp/enc/ |
picture.c | 32 uint32_t argb; member in union:__anon21895 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...] |
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/ |
rotate_argb.h | 22 // Rotate ARGB frame
|
/external/libyuv/files/include/libyuv/ |
rotate_argb.h | 22 // Rotate ARGB frame
|
/external/pdfium/fpdfsdk/include/ |
fsdk_define.h | 36 #define FX_ARGBTOCOLORREF(argb) \ 37 ((((FX_DWORD)argb & 0x00FF0000) >> 16) | ((FX_DWORD)argb & 0x0000FF00) | \ 38 (((FX_DWORD)argb & 0x000000FF) << 16))
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
CategorySelected.java | 26 mPaint.setColor(Color.argb(128, 128, 128, 128));
|
/external/libyuv/files/util/ |
convert.cc | 11 // Convert an ARGB image to YUV. 73 printf(" -attenuate ............. Attenuate the ARGB image\n"); 74 printf(" -unattenuate ........... Unattenuate the ARGB image\n"); 221 int org_size = Abs(image_width) * Abs(image_height) * 4; // ARGB 230 const int dst_size = dst_width * dst_height * 4; // ARGB scaled 268 // Load original YUV or ARGB frame. 275 // ARGB attenuate frame 279 // ARGB unattenuate frame 285 // Scale YUV or ARGB frame. 320 // Convert ARGB to YUV [all...] |