Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
Data Structures | Typedefs | Functions
n64graphics.h File Reference
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  _rgba
 
struct  _ia
 

Typedefs

typedef struct _rgba rgba
 
typedef struct _ia ia
 

Functions

rgbaraw2rgba (const uint8_t *raw, int width, int height, int depth)
 
iaraw2ia (const uint8_t *raw, int width, int height, int depth)
 
iaraw2i (const uint8_t *raw, int width, int height, int depth)
 
rgbarawci2rgba (const uint8_t *rawci, const uint8_t *palette, int width, int height, int depth)
 
int rgba2raw (uint8_t *raw, const rgba *img, int width, int height, int depth)
 
int ia2raw (uint8_t *raw, const ia *img, int width, int height, int depth)
 
int i2raw (uint8_t *raw, const ia *img, int width, int height, int depth)
 
int rgba2png (const char *png_filename, const rgba *img, int width, int height)
 
int ia2png (const char *png_filename, const ia *img, int width, int height)
 
rgbapng2rgba (const char *png_filename, int *width, int *height)
 
iapng2ia (const char *png_filename, int *width, int *height)
 
const charn64graphics_get_read_version (void)
 
const charn64graphics_get_write_version (void)
 

Typedef Documentation

◆ ia

◆ rgba

Function Documentation

◆ i2raw()

int i2raw ( uint8_t *  raw,
const ia img,
int  width,
int  height,
int  depth 
)

◆ ia2png()

int ia2png ( const char png_filename,
const ia img,
int  width,
int  height 
)

◆ ia2raw()

int ia2raw ( uint8_t *  raw,
const ia img,
int  width,
int  height,
int  depth 
)

◆ n64graphics_get_read_version()

const char* n64graphics_get_read_version ( void  )

◆ n64graphics_get_write_version()

const char* n64graphics_get_write_version ( void  )

◆ png2ia()

ia* png2ia ( const char png_filename,
int width,
int height 
)

◆ png2rgba()

rgba* png2rgba ( const char png_filename,
int width,
int height 
)

◆ raw2i()

ia* raw2i ( const uint8_t *  raw,
int  width,
int  height,
int  depth 
)

◆ raw2ia()

ia* raw2ia ( const uint8_t *  raw,
int  width,
int  height,
int  depth 
)

◆ raw2rgba()

rgba* raw2rgba ( const uint8_t *  raw,
int  width,
int  height,
int  depth 
)

◆ rawci2rgba()

rgba* rawci2rgba ( const uint8_t *  rawci,
const uint8_t *  palette,
int  width,
int  height,
int  depth 
)

◆ rgba2png()

int rgba2png ( const char png_filename,
const rgba img,
int  width,
int  height 
)

◆ rgba2raw()

int rgba2raw ( uint8_t *  raw,
const rgba img,
int  width,
int  height,
int  depth 
)