XenevaOS
Loading...
Searching...
No Matches
Public Attributes | List of all members
nsgif Struct Reference
Collaboration diagram for nsgif:
Collaboration graph
[legend]

Public Attributes

struct nsgif_info info
 
void * lzw_ctx
 
nsgif_bitmap_cb_vt bitmap
 
nsgif_frame * frames
 
uint32_t frame
 
uint32_t decoded_frame
 
nsgif_bitmap_t * frame_image
 
uint32_t rowspan
 
uint16_t delay_min
 
uint16_t delay_default
 
int loop_count
 
uint32_t frame_count_partial
 
bool data_complete
 
const uint8_t * buf
 
size_t buf_pos
 
size_t buf_len
 
uint32_t frame_holders
 
uint32_t bg_index
 
uint32_t aspect_ratio
 
uint32_t colour_table_size
 
uint32_t * colour_table
 
struct nsgif_colour_layout colour_layout
 
uint32_t global_colour_table [NSGIF_MAX_COLOURS]
 
uint32_t local_colour_table [NSGIF_MAX_COLOURS]
 
void * prev_frame
 
uint32_t prev_index
 

Detailed Description

GIF animation data

Member Data Documentation

◆ aspect_ratio

uint32_t nsgif::aspect_ratio

image aspect ratio (ignored)

◆ bg_index

uint32_t nsgif::bg_index

background index

◆ bitmap

nsgif_bitmap_cb_vt nsgif::bitmap

callbacks for bitmap functions

◆ buf

const uint8_t* nsgif::buf

pointer to GIF data

◆ buf_len

size_t nsgif::buf_len

total number of bytes of GIF data available

◆ buf_pos

size_t nsgif::buf_pos

current index into GIF data

◆ colour_layout

struct nsgif_colour_layout nsgif::colour_layout

Client's colour component order.

◆ colour_table

uint32_t* nsgif::colour_table

current colour table

◆ colour_table_size

uint32_t nsgif::colour_table_size

size of global colour table (in entries)

◆ data_complete

bool nsgif::data_complete

Whether all the GIF data has been supplied, or if there may be more to come.

◆ decoded_frame

uint32_t nsgif::decoded_frame

current frame decoded to bitmap

◆ delay_default

uint16_t nsgif::delay_default

Frame delay to apply when delay is less than delay_min.

◆ delay_min

uint16_t nsgif::delay_min

Minimum allowable frame delay.

◆ frame

uint32_t nsgif::frame

current frame

◆ frame_count_partial

uint32_t nsgif::frame_count_partial

number of frames partially decoded

◆ frame_holders

uint32_t nsgif::frame_holders

current number of frame holders

◆ frame_image

nsgif_bitmap_t* nsgif::frame_image

currently decoded image; stored as bitmap from bitmap_create callback

◆ frames

nsgif_frame* nsgif::frames

decoded frames

◆ global_colour_table

uint32_t nsgif::global_colour_table[NSGIF_MAX_COLOURS]

global colour table

◆ info

struct nsgif_info nsgif::info

◆ local_colour_table

uint32_t nsgif::local_colour_table[NSGIF_MAX_COLOURS]

local colour table

◆ loop_count

int nsgif::loop_count

number of animation loops so far

◆ lzw_ctx

void* nsgif::lzw_ctx

LZW decode context

◆ prev_frame

void* nsgif::prev_frame

previous frame for NSGIF_FRAME_RESTORE

◆ prev_index

uint32_t nsgif::prev_index

previous frame index

◆ rowspan

uint32_t nsgif::rowspan

Row span of frame_image in pixels.


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