gifdec.h

Typedefs

typedef struct _gd_Palette gd_Palette
typedef struct _gd_GCE gd_GCE
typedef struct _gd_GIF gd_GIF

Functions

gd_GIF *gd_open_gif_file(const char *fname)
gd_GIF *gd_open_gif_data(const void *data)
void gd_render_frame(gd_GIF *gif, uint8_t *buffer)
int gd_get_frame(gd_GIF *gif)
void gd_rewind(gd_GIF *gif)
void gd_close_gif(gd_GIF *gif)
struct _gd_Palette

Public Members

int size
uint8_t colors[0x100 * 3]
struct _gd_GCE

Public Members

uint16_t delay
uint8_t tindex
uint8_t disposal
int input
int transparency
struct _gd_GIF

Public Members

lv_fs_file_t fd
const char *data
uint8_t is_file
uint32_t f_rw_p
int32_t anim_start
uint16_t width
uint16_t height
uint16_t depth
int32_t loop_count
gd_GCE gce
gd_Palette *palette
gd_Palette lct
gd_Palette gct
void (*plain_text)(struct _gd_GIF *gif, uint16_t tx, uint16_t ty, uint16_t tw, uint16_t th, uint8_t cw, uint8_t ch, uint8_t fg, uint8_t bg)
void (*comment)(struct _gd_GIF *gif)
void (*application)(struct _gd_GIF *gif, char id[8], char auth[3])
uint16_t fx
uint16_t fy
uint16_t fw
uint16_t fh
uint8_t bgindex
uint8_t *canvas
uint8_t *frame