/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/ |
image_util_numpy_impl.py | 12 import png namespace 45 png.Writer(**metadata).write_array(f, pixels) 70 'Using pure python png decoder, which could be very slow. To speed up, ' 72 width, height, pixels, meta = png.Reader(bytes=png_data).read_flat()
|
_bitmap.py | 21 import png namespace 152 'Using pure python png decoder, which could be very slow. To speed up, ' 154 width, height, pixels, meta = png.Reader(bytes=png_data).read_flat() 164 png.Writer(**self.metadata).write_array(f, self.pixels) 212 'Using pure python png decoder, which could be very slow. To speed up, ' 214 diff_img = png.from_array(diff, mode='RGB')
|
/external/skia/tools/skiaserve/ |
Request.cpp | 10 #include "png.h" 21 png_structp png = png_create_write_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL); local 22 SkASSERT(png != nullptr); 23 png_infop info_ptr = png_create_info_struct(png); 25 if (setjmp(png_jmpbuf(png))) { 26 SkFAIL("png encode error"); 28 png_set_IHDR(png, info_ptr, width, height, 8, PNG_COLOR_TYPE_RGB, PNG_INTERLACE_NONE, 30 png_set_compression_level(png, 1); 43 png_set_filter(png, 0, PNG_NO_FILTERS); 44 png_set_rows(png, info_ptr, &rows[0]) [all...] |
/external/freetype/src/sfnt/ |
pngshim.c | 5 /* PNG Bitmap glyph support. */ 31 #include <png.h> 37 /* This code is freely based on cairo-png.c. There's so many ways */ 53 premultiply_data( png_structp png, 59 FT_UNUSED( png ); 96 convert_bytes_to_data( png_structp png, 102 FT_UNUSED( png ); 121 /* Use error callback to avoid png writing to stderr. */ 123 error_callback( png_structp png, 126 FT_Error* error = (FT_Error*)png_get_error_ptr( png ); 193 png_structp png; local [all...] |
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/sfnt/ |
pngshim.c | 5 /* PNG Bitmap glyph support. */ 31 #include <png.h> 37 /* This code is freely based on cairo-png.c. There's so many ways */ 53 premultiply_data( png_structp png, 59 FT_UNUSED( png ); 96 convert_bytes_to_data( png_structp png, 102 FT_UNUSED( png ); 121 /* Use error callback to avoid png writing to stderr. */ 123 error_callback( png_structp png, 126 FT_Error* error = (FT_Error*)png_get_error_ptr( png ); 193 png_structp png; local [all...] |
/external/pdfium/third_party/freetype/src/sfnt/ |
pngshim.c | 5 /* PNG Bitmap glyph support. */ 31 #include <png.h> 37 /* This code is freely based on cairo-png.c. There's so many ways */ 53 premultiply_data( png_structp png, 59 FT_UNUSED( png ); 96 convert_bytes_to_data( png_structp png, 102 FT_UNUSED( png ); 121 /* Use error callback to avoid png writing to stderr. */ 123 error_callback( png_structp png, 126 FT_Error* error = (FT_Error*)png_get_error_ptr( png ); 193 png_structp png; local [all...] |
/frameworks/base/cmds/screencap/ |
screencap.cpp | 52 " -p: save the file as a png.\n" 54 "If FILENAME ends with .png it will be saved as a png.\n" 90 bool png = false; local 96 png = true; 122 if (len >= 4 && 0 == strcmp(fn+len-4, ".png")) { 123 png = true; 177 if (png) {
|
/external/ImageMagick/coders/ |
icon.c | 354 *png; 357 Icon image encoded as a compressed PNG image. 362 png=(unsigned char *) AcquireQuantumMemory(length+16,sizeof(*png)); 363 if (png == (unsigned char *) NULL) 365 (void) CopyMagickMemory(png,"\211PNG\r\n\032\n\000\000\000\015",12); 366 png[12]=(unsigned char) icon_info.planes; 367 png[13]=(unsigned char) (icon_info.planes >> 8); 368 png[14]=(unsigned char) icon_info.bits_per_pixel 349 *png; local 971 *png; local [all...] |
/external/skia/tests/ |
CodexTest.cpp | 22 #include "png.h" 142 "jpg", "jpeg", "png", "webp" 143 "JPG", "JPEG", "PNG", "WEBP" 362 // Decodes an embedded PNG image 381 // PNG 382 check(r, "arrow.png", SkISize::Make(187, 312), true, false, false); 383 check(r, "baby_tux.png", SkISize::Make(240, 246), true, false, false); 384 check(r, "color_wheel.png", SkISize::Make(128, 128), true, false, false); 385 check(r, "half-transparent-white-pixel.png", SkISize::Make(1, 1), true, false, false); 386 check(r, "mandrill_128.png", SkISize::Make(128, 128), true, false, false) 689 png_structp png = png_create_write_struct(PNG_LIBPNG_VER_STRING, nullptr, nullptr, nullptr); local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
hs20_supplicant.c | 384 int png; local 427 png = os_strncasecmp((char *) pos + 1, "image/png", 9) == 0; 455 png ? "png" : "icon");
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
NekoLand.java | 280 final File png = new File(dir, cat.getName().replaceAll("[/ #:]+", "_") + ".png"); local 284 OutputStream os = new FileOutputStream(png); 285 bitmap.compress(Bitmap.CompressFormat.PNG, 0, os); 289 new String[] {png.toString()}, 290 new String[] {"image/png"}, 292 Uri uri = Uri.fromFile(png); 296 intent.setType("image/png");
|
/prebuilts/gradle-plugin/com/android/tools/build/builder/0.14.0/ |
builder-0.14.0.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/builder/0.14.1/ |
builder-0.14.1.jar | |
/external/deqp/framework/qphelper/ |
qpTestLog.c | 36 # include <png.h> 214 { QP_IMAGE_COMPRESSION_MODE_PNG, "PNG" }, 683 void pngWriteData (png_structp png, png_bytep dataPtr, png_size_t numBytes) 685 Buffer* buffer = (Buffer*)png_get_io_ptr(png); 687 png_error(png, "unable to resize PNG write buffer!"); 690 void pngFlushData (png_structp png) 692 DE_UNREF(png); 696 static deBool writeCompressedPNG (png_structp png, png_infop info, png_byte** rowPointers, int width, int height, int colorFormat) 698 if (setjmp(png_jmpbuf(png)) == 0 720 png_structp png = DE_NULL; local [all...] |
/external/skia/dm/ |
DM.cpp | 38 #include "png.h" 48 "If true, write to FLAGS_writePath[0]/<hash>.png instead of " 49 "to FLAGS_writePath[0]/<config>/<sourceType>/<sourceOptions>/<name>.png"); 451 "jpg", "jpeg", "png", "webp", 452 "JPG", "JPEG", "PNG", "WEBP", 590 "jpg", "jpeg", "png", "webp", 591 "JPG", "JPEG", "PNG", "WEBP", 805 png_structp png = png_create_write_struct(PNG_LIBPNG_VER_STRING, nullptr, nullptr, nullptr); local 806 if (!png) { 811 png_infop info = png_create_info_struct(png); [all...] |
/prebuilts/gradle-plugin/com/android/tools/build/builder/0.10.0/ |
builder-0.10.0.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/builder/0.11.2/ |
builder-0.11.2.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/builder/0.12.1/ |
builder-0.12.1.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/builder/0.12.2/ |
builder-0.12.2.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/builder/0.13.0/ |
builder-0.13.0.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/builder/0.13.3/ |
builder-0.13.3.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/builder/0.13.4/ |
builder-0.13.4.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/builder/0.9.1/ |
builder-0.9.1.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/builder/0.9.3/ |
builder-0.9.3.jar | |
/libcore/luni/src/test/java/libcore/xml/ |
DomTest.java | 80 + " <!NOTATION png SYSTEM \"image/png\">" 101 private Notation png; field in class:DomTest 141 png = (Notation) doctype.getNotations().item(0); 173 if (png != null) { 174 allNodes.add(png); 197 assertNotNull("This implementation does not parse notations", png); 205 if (png != null) { 206 assertEquals(null, png.lookupNamespaceURI("a")); 238 if (png != null) [all...] |