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

◆ aspect_ratio

unsigned int gif_animation::aspect_ratio

image aspect ratio (ignored)

◆ background_index

unsigned int gif_animation::background_index

index in the colour table for the background colour

◆ bitmap_callbacks

gif_bitmap_callback_vt gif_animation::bitmap_callbacks

callbacks for bitmap functions

◆ buf

unsigned char gif_animation::buf[4]

◆ buffer_position

unsigned int gif_animation::buffer_position

Internal members are listed belowcurrent index into GIF data

◆ buffer_size

unsigned int gif_animation::buffer_size

total number of bytes of GIF data available

◆ clear_code

int gif_animation::clear_code

◆ clear_image

bool gif_animation::clear_image

◆ code_size

int gif_animation::code_size

◆ colour_table_size

unsigned int gif_animation::colour_table_size

size of colour table (in entries)

◆ curbit

int gif_animation::curbit

◆ current_error

gif_result gif_animation::current_error

current error type, or 0 for none

◆ decoded_frame

int gif_animation::decoded_frame

current frame decoded to bitmap

◆ direct

unsigned char* gif_animation::direct

◆ end_code

int gif_animation::end_code

◆ firstcode

int gif_animation::firstcode

◆ frame_count

unsigned int gif_animation::frame_count

number of frames decoded

◆ frame_count_partial

unsigned int gif_animation::frame_count_partial

number of frames partially decoded

◆ frame_holders

unsigned int gif_animation::frame_holders

current number of frame holders

◆ frame_image

void* gif_animation::frame_image

currently decoded image; stored as bitmap from bitmap_create callback

◆ frames

gif_frame* gif_animation::frames

decoded frames

◆ get_done

bool gif_animation::get_done

◆ gif_data

unsigned char* gif_animation::gif_data

pointer to GIF data

◆ global_colour_table

unsigned int* gif_animation::global_colour_table

global colour table

◆ global_colours

bool gif_animation::global_colours

whether the GIF has a global colour table

◆ height

unsigned int gif_animation::height

height of GIF (may increase during decoding)

◆ last_byte

int gif_animation::last_byte

◆ lastbit

int gif_animation::lastbit

◆ local_colour_table

unsigned int* gif_animation::local_colour_table

local colour table

◆ loop_count

int gif_animation::loop_count

number of times to loop animation

◆ max_code

int gif_animation::max_code

◆ max_code_size

int gif_animation::max_code_size

◆ oldcode

int gif_animation::oldcode

◆ set_code_size

int gif_animation::set_code_size

◆ stack

unsigned char gif_animation::stack[(1<< GIF_MAX_LZW) *2]

◆ stack_pointer

unsigned char* gif_animation::stack_pointer

◆ table

int gif_animation::table[2][(1<< GIF_MAX_LZW)]

◆ width

unsigned int gif_animation::width

width of GIF (may increase during decoding)

◆ zero_data_block

bool gif_animation::zero_data_block

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