Searched refs:write_info_ptr (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/tools/aapt2/compile/ |
D | PngCrunch.cpp | 376 static void WritePalette(png_structp write_ptr, png_infop write_info_ptr, in WritePalette() argument 428 png_set_PLTE(write_ptr, write_info_ptr, color_palette_bytes.get(), color_palette->size()); in WritePalette() 431 png_set_tRNS(write_ptr, write_info_ptr, alpha_palette_bytes.get(), alpha_palette->size(), in WritePalette() 438 static void WriteNinePatch(png_structp write_ptr, png_infop write_info_ptr, in WriteNinePatch() argument 480 png_set_unknown_chunks(write_ptr, write_info_ptr, unknown_chunks, index); in WriteNinePatch() 498 png_infop write_info_ptr = png_create_info_struct(write_ptr); in WritePng() local 499 if (write_info_ptr == nullptr) { in WritePng() 506 PngWriteStructDeleter png_write_deleter(write_ptr, write_info_ptr); in WritePng() 621 png_set_IHDR(write_ptr, write_info_ptr, image->width, image->height, 8, in WritePng() 628 WritePalette(write_ptr, write_info_ptr, &color_palette, &alpha_palette); in WritePng() [all …]
|