Lines Matching refs:info_ptr
191 png_info *info_ptr = NULL;
225 info_ptr = png_create_info_struct (png_ptr);
226 if (!info_ptr)
234 png_destroy_read_struct (&png_ptr, &info_ptr, NULL);
243 png_read_info (png_ptr, info_ptr);
246 png_get_IHDR (png_ptr, info_ptr,
259 if (png_get_valid (png_ptr, info_ptr, PNG_INFO_tRNS))
271 if (png_get_gAMA (png_ptr, info_ptr, &file_gamma))
275 /* all transformations have been registered; now update info_ptr data,
278 png_read_update_info (png_ptr, info_ptr);
281 png_get_IHDR (png_ptr, info_ptr, &width, &height, &bit_depth, &color_type,
315 row_bytes = png_get_rowbytes (png_ptr, info_ptr);
318 png_destroy_read_struct (&png_ptr, &info_ptr, NULL);
324 png_destroy_read_struct (&png_ptr, &info_ptr, NULL);
337 /* read rest of file, and get additional chunks in info_ptr - REQUIRED */
338 png_read_end (png_ptr, info_ptr);
341 png_destroy_read_struct (&png_ptr, &info_ptr, (png_infopp) NULL);