/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
ColorTest.java | 23 int color = Color.argb(100, 160, 160, 160);
|
/external/webp/src/dsp/ |
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/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/webp/src/enc/ |
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);
|
picture_rescale.c | 74 WebPCopyPlane((const uint8_t*)src->argb, 4 * src->argb_stride, 75 (uint8_t*)dst->argb, 4 * dst->argb_stride, 113 dst->argb = src->argb + top * src->argb_stride + left; 151 (const uint8_t*)(pic->argb + top * pic->argb_stride + left); 152 WebPCopyPlane(src, pic->argb_stride * 4, (uint8_t*)tmp.argb, 182 assert(pic->argb != NULL); 183 WebPMultARGBRows((uint8_t*)pic->argb, pic->argb_stride * sizeof(*pic->argb), 251 RescalePlane((const uint8_t*)pic->argb, prev_width, prev_height [all...] |
/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...] |
convert_jpeg.cc | 226 uint8* argb; member in struct:libyuv::ARGBBuffers 240 dest->argb, dest->argb_stride, 242 dest->argb += rows * dest->argb_stride; 254 dest->argb, dest->argb_stride, 256 dest->argb += rows * dest->argb_stride; 268 dest->argb, dest->argb_stride, 270 dest->argb += rows * dest->argb_stride; 282 dest->argb, dest->argb_stride, 284 dest->argb += rows * dest->argb_stride; 294 dest->argb, dest->argb_stride [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:__anon21057 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/libyuv/files/source/ |
convert_argb.cc | 29 // Copy ARGB with optional flipping 50 // Convert I444 to ARGB. 95 // Convert I422 to ARGB. 147 // Convert I411 to ARGB. 193 // Convert I400 to ARGB. 227 // Convert I400 to ARGB. 261 // Convert BGRA to ARGB. 295 // Convert ABGR to ARGB. 329 // Convert RGBA to ARGB. 363 // Convert RAW to ARGB 834 uint8* argb; member in struct:libyuv::ARGBBuffers [all...] |
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/ |
rotate_argb.h | 22 // Rotate ARGB frame
|
compare.h | 25 // Scan an opaque argb image and return fourcc based on alpha offset. 28 uint32 ARGBDetect(const uint8* argb, int stride_argb, int width, int height);
|
/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/pdfium/public/ |
fpdf_edit.h | 22 #define FPDF_GetBValue(argb) ((uint8_t)(argb)) 23 #define FPDF_GetGValue(argb) ((uint8_t)(((uint16_t)(argb)) >> 8)) 24 #define FPDF_GetRValue(argb) ((uint8_t)((argb) >> 16)) 25 #define FPDF_GetAValue(argb) ((uint8_t)((argb) >> 24))
|
/external/opencv3/3rdparty/libwebp/dsp/ |
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...] |