Open Broadcaster Software
Free, open source software for live streaming and recording
gif_animation Struct Reference

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_frameframes
 
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
 
unsigned char buf [4]
 
unsigned char * direct
 
int table [2][(1<< GIF_MAX_LZW)]
 
unsigned char stack [(1<< GIF_MAX_LZW)*2]
 
unsigned char * stack_pointer
 
int code_size
 
int set_code_size
 
int max_code
 
int max_code_size
 
int clear_code
 
int end_code
 
int curbit
 
int lastbit
 
int last_byte
 
int firstcode
 
int oldcode
 
bool zero_data_block
 
bool get_done
 
bool clear_image
 

Field Documentation

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 char gif_animation::buf[4]
unsigned int gif_animation::buffer_position

Internal members are listed belowcurrent index into GIF data

unsigned int gif_animation::buffer_size

total number of bytes of GIF data available

int gif_animation::clear_code
bool gif_animation::clear_image
int gif_animation::code_size
unsigned int gif_animation::colour_table_size

size of colour table (in entries)

int gif_animation::curbit
gif_result gif_animation::current_error

current error type, or 0 for none

int gif_animation::decoded_frame

current frame decoded to bitmap

unsigned char* gif_animation::direct
int gif_animation::end_code
int gif_animation::firstcode
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

bool gif_animation::get_done
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)

int gif_animation::last_byte
int gif_animation::lastbit
unsigned int* gif_animation::local_colour_table

local colour table

int gif_animation::loop_count

number of times to loop animation

int gif_animation::max_code
int gif_animation::max_code_size
int gif_animation::oldcode
int gif_animation::set_code_size
unsigned char gif_animation::stack[(1<< GIF_MAX_LZW)*2]
unsigned char* gif_animation::stack_pointer
int gif_animation::table[2][(1<< GIF_MAX_LZW)]
unsigned int gif_animation::width

width of GIF (may increase during decoding)

bool gif_animation::zero_data_block

The documentation for this struct was generated from the following file: