Searched refs:write_info_ptr (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/libs/androidfw/ |
D | PngCrunch.cpp | 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 471 png_set_unknown_chunks(write_ptr, write_info_ptr, unknown_chunks, index); in WriteNinePatch() 487 png_infop write_info_ptr = png_create_info_struct(write_ptr); in WritePng() local 488 if (write_info_ptr == nullptr) { in WritePng() 495 PngWriteStructDeleter png_write_deleter(write_ptr, write_info_ptr); in WritePng() 609 png_set_IHDR(write_ptr, write_info_ptr, image->width, image->height, 8, new_color_type, in WritePng() 615 WritePalette(write_ptr, write_info_ptr, &color_palette, &alpha_palette); in WritePng() [all …]
|