/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/zxing/core/ |
H A D | core.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/zxing/ com/google/zxing/oned/ ... |
/external/webp/src/dsp/ |
H A D | lossless.c | 10 // Image transforms and color space conversion methods for lossless decoder. 827 int8_t color) { 828 return (uint32_t)((int)(color_pred) * color) >> 5; 949 // Do a binary search to find the optimal green_to_red color transform. 1028 // Number of tries to get optimal green_to_blue & red_to_blue color transforms 826 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 | 192 uint8_t color[256] = { 0 }; local 198 color[p[i]] = 1; 202 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/vogar/src/vogar/ |
H A D | Console.java | 203 Color color; 207 color = Color.PASS; 210 color = Color.FAIL; 213 color = Color.WARN; 216 color = Color.SKIP; 248 sb.append(colorString(annotatedOutcome.getOutcome().getName(), color)); 302 Color color = elapsedTimeWarningColor(elapsedTime); 303 return colorString(formatted, color); 434 protected String colorString(String message, Color color) { argument 435 return useColor ? ("\u001b[" + color [all...] |
H A D | Vogar.java | 89 @Option(names = { "--color" }) 90 boolean color = true; field in class:Vogar 92 @Option(names = { "--pass-color" }) 95 @Option(names = { "--skip-color" }) 98 @Option(names = { "--fail-color" }) 101 @Option(names = { "--warn-color" }) 332 System.out.println(" --color: format output in technicolor."); 334 System.out.println(" --pass-color: ANSI color code to use for passes."); 337 System.out.println(" --skip-color [all...] |
/external/toybox/generated/ |
H A D | globals.h | 995 char *color; member in struct:ls_data
|
/external/toybox/kconfig/lxdialog/ |
H A D | util.c | 155 * Select color theme 174 static void init_one_color(struct dialog_color *color) argument 179 init_pair(pair, color->fg, color->bg); 180 if (color->hl) 181 color->atr = A_BOLD | COLOR_PAIR(pair); 183 color->atr = COLOR_PAIR(pair); 220 * Setup for color display 225 if (has_colors()) { /* Terminal supports color? */ 444 if (has_colors()) { /* Whether terminal supports color [all...] |
/external/toybox/toys/posix/ |
H A D | ls.c | 8 USE_LS(NEWTOY(ls, USE_LS_COLOR("(color):;")USE_LS_Z("Z")"goACFHLRSacdfiklmnpqrstux1[-Cxm1][-Cxml][-Cxmo][-Cxmg][-cu][-ftS][-HL]", TOYFLAG_BIN|TOYFLAG_LOCALE)) 45 bool "ls --color" 49 usage: ls --color[=auto] 51 --color device=yellow symlink=turquoise/red dir=blue socket=purple 64 char *color; 282 int color = 0; local 284 if (S_ISDIR(mode)) color = 256+34; 285 else if (S_ISLNK(mode)) color = 256+36; 286 else if (S_ISBLK(mode) || S_ISCHR(mode)) color = 256+33; 287 else if (S_ISREG(mode) && (mode&0111)) color 390 unsigned curcol, color = 0; local [all...] |
/external/v8/benchmarks/ |
H A D | raytrace.js | 56 // flog/color.js 162 distance : function(color) { 163 var d = Math.abs(this.red - color.red) + Math.abs(this.green - color.green) + Math.abs(this.blue - color.blue); 199 color: null, 202 initialize : function(pos, color, intensity) { 204 this.color = color; 359 initialize : function(color, reflectio [all...] |
/external/v8/benchmarks/spinning-balls/ |
H A D | v.js | 80 Point.prototype.color = function () { 316 Scene.prototype.drawPoint = function (x, y, z, color) { 327 this.ctx.fillStyle = color 339 scene.drawPoint(point.x, point.y, point.z, point.color());
|
/external/v8/src/heap/ |
H A D | mark-compact.h | 91 static const char* ColorName(ObjectColor color) { argument 92 switch (color) { 118 // Returns true if the transferred color is black.
|
/external/skia/bench/ |
H A D | RectBench.cpp | 174 * to bench BlitMask [Opaque, Black, color, shader] 206 SkColor color = 0xFF000000; local 224 color = fColors[i]; 229 color = 0xFF000000; 232 color = fColors[i]; 240 paint.setColor(color);
|
H A D | RotatedRectBench.cpp | 15 paint color between each rect in different ways using the ColorType enum. The xfermode used can 84 SkColor color = start_color(fColorType); variable 103 paint.setColor(color); 104 color = advance_color(color, fColorType, i);
|
H A D | TextBench.cpp | 55 SkColor color, FontQuality fq, bool doColorEmoji = false, bool doPos = false) { 65 fPaint.setColor(color); 54 TextBench(const char text[], int ps, SkColor color, FontQuality fq, bool doColorEmoji = false, bool doPos = false) argument
|
H A D | nanobench.h | 27 SkColorType color; member in struct:Config
|
/external/skia/experimental/AndroidPathRenderer/ |
H A D | GrAndroidPathRenderer.cpp | 26 GrColor color; member in struct:ColorVertex 75 outVert->color = GrColorPackRGBA(coverage, coverage, coverage, coverage);
|
/external/skia/experimental/PdfViewer/ |
H A D | SkPdfGraphicsState.h | 27 color space name or array The current color space in which color values are to be interpreted 28 (see Section 4.5, “Color Spaces”). There are two separate color space 40 color (various) The current color to be used during painting operations (see Section 42 depend on the current color space; for most color spaces, a color 43 value consists of one to four numbers. There are two separate color 52 setRGBColor(SkColor color) argument [all...] |
H A D | chop_transparency_main.cpp | 49 SkColor color = bm.getColor(x, y); local 50 if (SkColorGetA(color) != 0) { 72 SkColor color = bm.getColor(x, y); local 73 if (SkColorGetA(color) != 0xff) { 74 int a = SkColorGetA(color); 75 int r = SkColorGetR(color); 76 int g = SkColorGetG(color); 77 int b = SkColorGetB(color); 86 color = SkColorSetARGB((U8CPU)a, (U8CPU)r, (U8CPU)g, (U8CPU)b); 88 *dst.getAddr32(x, y) = color; [all...] |
H A D | pdf_viewer_main.cpp | 98 static void setup_bitmap(SkBitmap* bitmap, int width, int height, SkColor color) { argument 100 bitmap->eraseColor(color);
|
/external/skia/gm/ |
H A D | all_bitmap_configs.cpp | 55 SkColor color, 60 p->setColor(color); 53 draw_center_letter(char c, SkPaint* p, SkColor color, SkScalar x, SkScalar y, SkCanvas* canvas) argument
|