N64FlashcartMenu
Loading...
Searching...
No Matches
Typedefs | Enumerations | Functions
png_decoder.h File Reference

PNG decoder. More...

Go to the source code of this file.

Typedefs

typedef void png_callback_t(png_err_t err, surface_t *decoded_image, void *callback_data)
 

Enumerations

enum  png_err_t {
  PNG_OK , PNG_ERR_INT , PNG_ERR_BUSY , PNG_ERR_OUT_OF_MEM ,
  PNG_ERR_NO_FILE , PNG_ERR_BAD_FILE
}
 PNG decoder errors.
 

Functions

png_err_t png_decoder_start (char *path, int max_width, int max_height, png_callback_t *callback, void *callback_data)
 
void png_decoder_abort (void)
 
float png_decoder_get_progress (void)
 
void png_decoder_poll (void)
 

Detailed Description

PNG decoder.