libdragon
Loading...
Searching...
No Matches
Data Fields
aplib_decompressor_t Struct Reference

APLib decompressor. More...

Data Fields

uint8_t buf [2][128]
 Buffer of loaded data.
 
int cur_buf
 Current buffer being used.
 
uint8_t * buf_ptr
 Pointer to data being processed.
 
uint8_t * buf_end
 Pointer to end of current loaded data.
 
uint8_t cc
 Current byte being processed.
 
int shift
 Current bit being processed.
 
int fd
 File being read from.
 
uint32_t rom_addr
 ROM address being read from (optional)
 
bool eof
 Whether the end of the stream has been reached.
 
struct { 
 
decompress_ringbuf_t ringbuf
 Ring buffer.
 
bool first_literal_done
 Whether the first literal has been written.
 
int nlit
 Number of expected literals.
 
int match_off
 Offset of the match.
 
int match_len
 Length of the match.
 
partial 
 Partial decompression state.
 

Detailed Description

APLib decompressor.

Field Documentation

◆ buf

uint8_t aplib_decompressor_t::buf[2][128]

Buffer of loaded data.

◆ cur_buf

int aplib_decompressor_t::cur_buf

Current buffer being used.

◆ buf_ptr

uint8_t* aplib_decompressor_t::buf_ptr

Pointer to data being processed.

◆ buf_end

uint8_t* aplib_decompressor_t::buf_end

Pointer to end of current loaded data.

◆ cc

uint8_t aplib_decompressor_t::cc

Current byte being processed.

◆ shift

int aplib_decompressor_t::shift

Current bit being processed.

◆ fd

int aplib_decompressor_t::fd

File being read from.

◆ rom_addr

uint32_t aplib_decompressor_t::rom_addr

ROM address being read from (optional)

◆ eof

bool aplib_decompressor_t::eof

Whether the end of the stream has been reached.

◆ [struct]

struct { ... } aplib_decompressor_t::partial

Partial decompression state.


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