Searched refs:write_ptr (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/libs/androidfw/ |
D | PngCrunch.cpp | 52 PngWriteStructDeleter(png_structp write_ptr, png_infop info_ptr) in PngWriteStructDeleter() argument 53 : write_ptr_(write_ptr), info_ptr_(info_ptr) { in PngWriteStructDeleter() 367 static void WritePalette(png_structp write_ptr, png_infop write_info_ptr, in WritePalette() argument 419 png_set_PLTE(write_ptr, write_info_ptr, color_palette_bytes.get(), color_palette->size()); in WritePalette() 422 png_set_tRNS(write_ptr, write_info_ptr, alpha_palette_bytes.get(), alpha_palette->size(), in WritePalette() 429 static void WriteNinePatch(png_structp write_ptr, png_infop write_info_ptr, in WriteNinePatch() argument 467 png_set_keep_unknown_chunks(write_ptr, PNG_HANDLE_CHUNK_ALWAYS, nullptr, 0); in WriteNinePatch() 471 png_set_unknown_chunks(write_ptr, write_info_ptr, unknown_chunks, index); in WriteNinePatch() 480 png_structp write_ptr = png_create_write_struct(PNG_LIBPNG_VER_STRING, nullptr, nullptr, nullptr); in WritePng() local 481 if (write_ptr == nullptr) { in WritePng() [all …]
|
/frameworks/base/tools/aapt/ |
D | Images.cpp | 1140 png_structp write_ptr, png_infop write_info, in write_png() argument 1166 png_set_compression_level(write_ptr, Z_BEST_COMPRESSION); in write_png() 1220 png_set_IHDR(write_ptr, write_info, imageInfo.width, imageInfo.height, in write_png() 1225 png_set_PLTE(write_ptr, write_info, rgbPalette, paletteEntries); in write_png() 1227 png_set_tRNS(write_ptr, write_info, alphaPalette, alphaPaletteEntries, in write_png() 1230 png_set_filter(write_ptr, 0, PNG_NO_FILTERS); in write_png() 1232 png_set_filter(write_ptr, 0, PNG_ALL_FILTERS); in write_png() 1279 png_set_keep_unknown_chunks(write_ptr, PNG_HANDLE_CHUNK_ALWAYS, in write_png() 1281 png_set_unknown_chunks(write_ptr, write_info, unknowns, chunk_count); in write_png() 1285 png_write_info(write_ptr, write_info); in write_png() [all …]
|