Wise&mystical  1.0
Project about Europe
Loading...
Searching...
No Matches
qoi.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  qoi_desc
 

Macros

#define QOI_SRGB   0
 
#define QOI_LINEAR   1
 

Functions

int qoi_write (const char *filename, const void *data, const qoi_desc *desc)
 
void * qoi_read (const char *filename, qoi_desc *desc, int channels)
 
void * qoi_encode (const void *data, const qoi_desc *desc, int *out_len)
 
void * qoi_decode (const void *data, int size, qoi_desc *desc, int channels)
 

Macro Definition Documentation

◆ QOI_LINEAR

#define QOI_LINEAR   1

Definition at line 254 of file qoi.h.

◆ QOI_SRGB

#define QOI_SRGB   0

Definition at line 253 of file qoi.h.

Function Documentation

◆ qoi_decode()

void * qoi_decode ( const void *  data,
int  size,
qoi_desc desc,
int  channels 
)
+ Here is the caller graph for this function:

◆ qoi_encode()

void * qoi_encode ( const void *  data,
const qoi_desc desc,
int *  out_len 
)

◆ qoi_read()

void * qoi_read ( const char *  filename,
qoi_desc desc,
int  channels 
)

◆ qoi_write()

int qoi_write ( const char *  filename,
const void *  data,
const qoi_desc desc 
)
+ Here is the caller graph for this function: