/external/zxing/core/ |
H A D | core.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/zxing/ com/google/zxing/aztec/ ... |
/external/zopfli/src/zopflipng/lodepng/ |
H A D | lodepng.cpp | 47 -C Code for PNG (file format chunks, adam7, PNG filters, color conversions, ...) 2500 return 0; /*allowed color type / bits combination*/ 2513 return 0; /*unexisting color type*/ 2644 size_t lodepng_get_raw_size(unsigned w, unsigned h, const LodePNGColorMode* color) argument 2646 return (w * h * lodepng_get_bpp(color) + 7) / 8; 2841 lodepng_color_mode_init(&info->color); 2861 lodepng_color_mode_cleanup(&info->color); 2874 lodepng_color_mode_init(&dest->color); 2875 CERROR_TRY_RETURN(lodepng_color_mode_copy(&dest->color, &source->color)); 4254 readChunk_PLTE(LodePNGColorMode* color, const unsigned char* data, size_t chunkLength) argument 4278 readChunk_tRNS(LodePNGColorMode* color, const unsigned char* data, size_t chunkLength) argument [all...] |
H A D | lodepng.h | 86 /*The PNG color types (also used for raw).*/ 108 colortype: the desired color type for the raw output image. See explanation on PNG color types. 109 bitdepth: the desired bit depth for the raw output image. See explanation on PNG color types. 157 colortype: the color type of the raw input image. See explanation on PNG color types. 158 bitdepth: the bit depth of the raw input image. See explanation on PNG color types. 315 LodePNGColorType colortype; /*color type, see PNG standard or documentation further in this header file*/ 323 lodepng_palette_clear, then for each color use lodepng_palette_add. 329 The palette is only supported for color typ 407 LodePNGColorMode color; /*color type and bits, palette and transparency of the PNG file*/ member in struct:LodePNGInfo [all...] |
/external/zopfli/src/zopflipng/ |
H A D | zopflipng_lib.cc | 82 // Returns 32-bit integer value for RGBA color. 83 static unsigned ColorIndex(const unsigned char* color) { argument 84 return color[0] + 256u * color[1] + 65536u * color[1] + 16777216u * color[3]; 88 // is enabled, any color with alpha channel 0 is treated as a single color with 105 // First check if we want to preserve potential color-key background color, 247 LodePNGColorMode& color = teststate.info_png.color; local [all...] |
/external/webp/src/dsp/ |
H A D | lossless.c | 10 // Image transforms and color space conversion methods for lossless decoder. 818 int8_t color) { 819 return (uint32_t)((int)(color_pred) * color) >> 5; 940 // Do a binary search to find the optimal green_to_red color transform. 1019 // Number of tries to get optimal green_to_blue & red_to_blue color transforms 817 ColorTransformDelta(int8_t color_pred, int8_t color) argument
|
H A D | lossless_sse2.c | 195 __m128i color) { 200 const __m128i color_shifted = _mm_slli_epi32(color, 8); 194 ColorTransformDelta(__m128i color_pred, __m128i color) argument
|
/external/webp/src/enc/ |
H A D | alpha.c | 173 uint8_t color[256] = { 0 }; local 179 color[p[i]] = 1; 183 if (color[j] > 0) ++colors;
|
H A D | vp8l.c | 74 // The color is already there. 77 // Some other color sits there. 519 // No color cache, no Huffman image. 892 const int color = (palette[i] >> 8) & 0xff; local 893 inv_palette[color] = i; 897 const int color = (src[x] >> 8) & 0xff; local 898 row[x] = inv_palette[color]; 1111 // Estimate the color cache size.
|
/external/skia/samplecode/ |
H A D | SampleApp.cpp | 1223 SkColor color = bitmap.getColor(fMouseX, fMouseY); local 1228 if (color == SK_ColorBLACK) { 1237 // Identify the pixel and its color on screen 1249 string.appendf("A: %X", SkColorGetA(color)); 1254 string.appendf("R: %X", SkColorGetR(color)); 1260 string.appendf("G: %X", SkColorGetG(color)); 1266 string.appendf("B: %X", SkColorGetB(color));
|
H A D | SampleCode.h | 114 void setBGColor(SkColor color) { fBGColor = color; } argument
|
H A D | SampleEmptyPath.cpp | 30 SkColor color, 37 paint.setColor(color); 95 SkColor color = rand.nextU(); local 96 color = 0xff000000| color; // force solid 97 this->drawEmpty(canvas, color, rect, 111 labelPaint.setColor(color); 29 drawEmpty(SkCanvas* canvas, SkColor color, const SkRect& clip, SkPaint::Style style, SkPath::FillType fill) argument
|
H A D | SamplePicture.cpp | 50 static void drawCircle(SkCanvas* canvas, int r, SkColor color) { argument 53 paint.setColor(color);
|
H A D | SampleRegion.cpp | 263 void drawRgnOped(SkCanvas* canvas, SkRegion::Op op, SkColor color) { argument 297 paint.setColor((color & ~(0xFF << 24)) | (0x44 << 24)); 301 paint.setColor(color); 305 void drawPathOped(SkCanvas* canvas, SkRegion::Op op, SkColor color) { argument 317 paint.setColor((color & ~(0xFF << 24)) | (0x44 << 24)); 319 paint.setColor(color);
|
H A D | SampleRotateCircles.cpp | 49 SkColor color = 0; local 59 color = ~color; 220 void draw_points(SkCanvas* canvas, const SkPath& path, SkColor color, argument 223 paint.setColor(color); 239 SkColor color) { 247 paint.setColor(color); 238 draw_ribs(SkCanvas* canvas, const SkPath& path, SkScalar width, SkColor color) argument
|
/external/skia/src/animator/ |
H A D | SkAnimateBase.cpp | 166 SkColor color = SkColorSetARGB(SkScalarRoundToInt(array[0]), local 170 (*converted)[0].fS32 = color;
|
H A D | SkDrawColor.cpp | 24 static SkScalar RGB_to_HSV(SkColor color, HSV_Choice choice) { argument 25 SkScalar red = SkIntToScalar(SkColorGetR(color)); 26 SkScalar green = SkIntToScalar(SkColorGetG(color)); 27 SkScalar blue = SkIntToScalar(SkColorGetB(color)); 60 static SkColor HSV_to_RGB(SkColor color, HSV_Choice choice, SkScalar hsv) { argument 61 SkScalar hue = choice == kGetHue ? hsv : RGB_to_HSV(color, kGetHue); 62 SkScalar saturation = choice == kGetSaturation ? hsv : RGB_to_HSV(color, kGetSaturation); 63 SkScalar value = choice == kGetValue ? hsv : RGB_to_HSV(color, kGetValue); 68 if (saturation == 0) // color is on black-and-white center line 88 return SkColorSetARGB(SkColorGetA(color), SkScalarRoundToIn [all...] |
H A D | SkDrawColor.h | 30 SkColor color; member in class:SkDrawColor
|
H A D | SkDrawGradient.cpp | 38 SkDrawColor* color = (SkDrawColor*) child; local 39 *fDrawColors.append() = color; 49 fColors[index] = fDrawColors[index]->color; 64 SkDrawColor* color = *ptr; local 65 color->dump(maker);
|
H A D | SkDrawPaint.h | 46 SkDrawColor* color; member in class:SkDrawPaint
|
H A D | SkMemberInfo.cpp | 437 SkColor color = scriptValue.fType == SkType_Array ? local 439 storage[0].fScalar = SkIntToScalar(SkColorGetA(color)); 440 storage[1].fScalar = SkIntToScalar(SkColorGetR(color)); 441 storage[2].fScalar = SkIntToScalar(SkColorGetG(color)); 442 storage[3].fScalar = SkIntToScalar(SkColorGetB(color));
|
/external/skia/src/core/ |
H A D | SkBBoxRecord.cpp | 80 void SkBBoxRecord::clear(SkColor color) { argument 84 INHERITED::clear(color);
|
H A D | SkBitmapDevice.cpp | 127 void SkBitmapDevice::clear(SkColor color) { argument 128 fBitmap.eraseColor(color);
|
H A D | SkBitmapProcShader.cpp | 289 // returns true and set color if the bitmap can be drawn as a single color 291 static bool canUseColorShader(const SkBitmap& bm, SkColor* color) { argument 303 *color = SkUnPreMultiply::PMColorToColor(*bm.getAddr32(0, 0)); 306 *color = SkPixel16ToColor(*bm.getAddr16(0, 0)); 309 *color = SkUnPreMultiply::PMColorToColor(bm.getIndex8Color(0, 0)); 330 SkColor color; local 338 else if (canUseColorShader(src, &color)) { 340 shader = SkNEW_ARGS(SkColorShader, (color)); 342 shader = allocator->createT<SkColorShader>(color); [all...] |
H A D | SkBitmapProcState.cpp | 848 SkPMColor color; local 854 Filter_32_alpha(iSubY, *row0, *row1, &color, s.fAlphaScale); 856 Filter_32_opaque(iSubY, *row0, *row1, &color); 860 color = SkAlphaMulQ(*row0, s.fAlphaScale); 862 color = *row0; 866 sk_memset32(colors, color, count);
|
H A D | SkBlitMask_D32.cpp | 14 SkColor color, int width, int height) { 15 SkPMColor pmc = SkPreMultiplyColor(color); 35 SkColor color, int width, int height) { 36 SkPMColor pmc = SkPreMultiplyColor(color); 89 SkColor color, int width, int height) { 96 bool isOpaque = (0xFF == SkColorGetA(color)); 101 opaqueDst = SkPreMultiplyColor(color); 107 proc(dstRow, srcRow, color, width, opaqueDst); 117 SkColor color, int width) { 118 int srcR = SkColorGetR(color); 12 D32_A8_Color(void* SK_RESTRICT dst, size_t dstRB, const void* SK_RESTRICT maskPtr, size_t maskRB, SkColor color, int width, int height) argument 33 D32_A8_Opaque(void* SK_RESTRICT dst, size_t dstRB, const void* SK_RESTRICT maskPtr, size_t maskRB, SkColor color, int width, int height) argument 87 D32_LCD16_Proc(void* SK_RESTRICT dst, size_t dstRB, const void* SK_RESTRICT mask, size_t maskRB, SkColor color, int width, int height) argument 115 blit_lcd32_opaque_row(SkPMColor* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, SkColor color, int width) argument 152 blit_lcd32_row(SkPMColor* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, SkColor color, int width) argument 196 D32_LCD32_Blend(void* SK_RESTRICT dst, size_t dstRB, const void* SK_RESTRICT mask, size_t maskRB, SkColor color, int width, int height) argument 210 D32_LCD32_Opaque(void* SK_RESTRICT dst, size_t dstRB, const void* SK_RESTRICT mask, size_t maskRB, SkColor color, int width, int height) argument 226 D32_A8_Factory(SkColor color) argument 236 D32_LCD32_Factory(SkColor color) argument 240 ColorFactory(SkColorType ct, SkMask::Format format, SkColor color) argument 267 BlitColor(const SkBitmap& device, const SkMask& mask, const SkIRect& clip, SkColor color) argument [all...] |