Searched refs:info_ptr (Results 1 – 1 of 1) sorted by relevance
/bootable/recovery/minui/ |
D | resources.cpp | 49 static int open_png(const char* name, png_structp* png_ptr, png_infop* info_ptr, in open_png() argument 82 *info_ptr = png_create_info_struct(*png_ptr); in open_png() 83 if (!*info_ptr) { in open_png() 95 png_read_info(*png_ptr, *info_ptr); in open_png() 97 png_get_IHDR(*png_ptr, *info_ptr, width, height, &bit_depth, in open_png() 100 *channels = png_get_channels(*png_ptr, *info_ptr); in open_png() 125 png_destroy_read_struct(png_ptr, info_ptr, NULL); in open_png() 204 png_infop info_ptr = NULL; in res_create_display_surface() local 212 result = open_png(name, &png_ptr, &info_ptr, &width, &height, &channels); in res_create_display_surface() 235 png_destroy_read_struct(&png_ptr, &info_ptr, NULL); in res_create_display_surface() [all …]
|