libnsgif
|
#include <libnsgif.h>
Data Fields | |
gif_bitmap_callback_vt | bitmap_callbacks |
unsigned char * | gif_data |
unsigned int | width |
unsigned int | height |
unsigned int | frame_count |
unsigned int | frame_count_partial |
gif_frame * | frames |
int | decoded_frame |
void * | frame_image |
int | loop_count |
gif_result | current_error |
unsigned int | buffer_position |
unsigned int | buffer_size |
unsigned int | frame_holders |
unsigned int | background_index |
unsigned int | aspect_ratio |
unsigned int | colour_table_size |
bool | global_colours |
unsigned int * | global_colour_table |
unsigned int * | local_colour_table |
GIF animation data
unsigned int gif_animation::aspect_ratio |
image aspect ratio (ignored)
unsigned int gif_animation::background_index |
index in the colour table for the background colour
gif_bitmap_callback_vt gif_animation::bitmap_callbacks |
callbacks for bitmap functions
unsigned int gif_animation::buffer_position |
current index into GIF data
unsigned int gif_animation::buffer_size |
total number of bytes of GIF data available
unsigned int gif_animation::colour_table_size |
size of colour table (in entries)
gif_result gif_animation::current_error |
current error type, or 0 for none
int gif_animation::decoded_frame |
current frame decoded to bitmap
unsigned int gif_animation::frame_count |
number of frames decoded
unsigned int gif_animation::frame_count_partial |
number of frames partially decoded
unsigned int gif_animation::frame_holders |
current number of frame holders
void* gif_animation::frame_image |
currently decoded image; stored as bitmap from bitmap_create callback
gif_frame* gif_animation::frames |
decoded frames
unsigned char* gif_animation::gif_data |
pointer to GIF data
unsigned int* gif_animation::global_colour_table |
global colour table
bool gif_animation::global_colours |
whether the GIF has a global colour table
unsigned int gif_animation::height |
heigth of GIF (may increase during decoding)
unsigned int* gif_animation::local_colour_table |
local colour table
int gif_animation::loop_count |
number of times to loop animation
unsigned int gif_animation::width |
width of GIF (may increase during decoding)