Home
last modified time | relevance | path

Searched refs:write_info_ptr (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/tools/aapt2/compile/
DPngCrunch.cpp373 static void WritePalette(png_structp write_ptr, png_infop write_info_ptr, in WritePalette() argument
425 png_set_PLTE(write_ptr, write_info_ptr, color_palette_bytes.get(), color_palette->size()); in WritePalette()
428 png_set_tRNS(write_ptr, write_info_ptr, alpha_palette_bytes.get(), alpha_palette->size(), in WritePalette()
435 static void WriteNinePatch(png_structp write_ptr, png_infop write_info_ptr, in WriteNinePatch() argument
477 png_set_unknown_chunks(write_ptr, write_info_ptr, unknown_chunks, index); in WriteNinePatch()
494 png_infop write_info_ptr = png_create_info_struct(write_ptr); in WritePng() local
495 if (write_info_ptr == nullptr) { in WritePng()
502 PngWriteStructDeleter png_write_deleter(write_ptr, write_info_ptr); in WritePng()
617 png_set_IHDR(write_ptr, write_info_ptr, image->width, image->height, 8, in WritePng()
624 WritePalette(write_ptr, write_info_ptr, &color_palette, &alpha_palette); in WritePng()
[all …]