Searched defs:write_ptr (Results 1 - 2 of 2) sorted by relevance
/frameworks/base/tools/aapt2/compile/ |
H A D | PngCrunch.cpp | 52 PngWriteStructDeleter(png_structp write_ptr, png_infop info_ptr) argument 53 : write_ptr_(write_ptr), info_ptr_(info_ptr) {} 373 static void WritePalette(png_structp write_ptr, png_infop write_info_ptr, argument 425 png_set_PLTE(write_ptr, write_info_ptr, color_palette_bytes.get(), color_palette->size()); 428 png_set_tRNS(write_ptr, write_info_ptr, alpha_palette_bytes.get(), alpha_palette->size(), 435 static void WriteNinePatch(png_structp write_ptr, png_infop write_info_ptr, argument 473 png_set_keep_unknown_chunks(write_ptr, PNG_HANDLE_CHUNK_ALWAYS, nullptr, 0); 477 png_set_unknown_chunks(write_ptr, write_info_ptr, unknown_chunks, index); 487 png_structp write_ptr = png_create_write_struct(PNG_LIBPNG_VER_STRING, nullptr, nullptr, nullptr); local 488 if (write_ptr [all...] |
/frameworks/base/tools/aapt/ |
H A D | Images.cpp | 1139 png_structp write_ptr, png_infop write_info, 1165 png_set_compression_level(write_ptr, Z_BEST_COMPRESSION); 1219 png_set_IHDR(write_ptr, write_info, imageInfo.width, imageInfo.height, 1224 png_set_PLTE(write_ptr, write_info, rgbPalette, paletteEntries); 1226 png_set_tRNS(write_ptr, write_info, alphaPalette, alphaPaletteEntries, 1229 png_set_filter(write_ptr, 0, PNG_NO_FILTERS); 1231 png_set_filter(write_ptr, 0, PNG_ALL_FILTERS); 1278 png_set_keep_unknown_chunks(write_ptr, PNG_HANDLE_CHUNK_ALWAYS, 1280 png_set_unknown_chunks(write_ptr, write_info, unknowns, chunk_count); 1284 png_write_info(write_ptr, write_inf 1138 write_png(const char* imageName, png_structp write_ptr, png_infop write_info, image_info& imageInfo, const Bundle* bundle) argument 1346 write_png_protected(png_structp write_ptr, String8& printableName, png_infop write_info, image_info* imageInfo, const Bundle* bundle) argument 1383 png_structp write_ptr = NULL; local 1467 png_structp write_ptr = NULL; local [all...] |
Completed in 12 milliseconds