libdragon
|
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. | ||
APLib decompressor.
uint8_t aplib_decompressor_t::buf[2][128] |
Buffer of loaded data.
int aplib_decompressor_t::cur_buf |
Current buffer being used.
uint8_t* aplib_decompressor_t::buf_ptr |
Pointer to data being processed.
uint8_t* aplib_decompressor_t::buf_end |
Pointer to end of current loaded data.
uint8_t aplib_decompressor_t::cc |
Current byte being processed.
int aplib_decompressor_t::shift |
Current bit being processed.
int aplib_decompressor_t::fd |
File being read from.
uint32_t aplib_decompressor_t::rom_addr |
ROM address being read from (optional)
bool aplib_decompressor_t::eof |
Whether the end of the stream has been reached.
struct { ... } aplib_decompressor_t::partial |
Partial decompression state.