libdragon
Data Fields
asset_compression_t Struct Reference

A decompression algorithm used by the asset library. More...

#include <asset_internal.h>

Data Fields

int state_size
 Basic size of the decompression state (without ringbuffer)
 
void(* decompress_init )(void *state, FILE *fp, int winsize)
 Initialize the decompression state.
 
ssize_t(* decompress_read )(void *state, void *buf, size_t len)
 Partially read a decompressed file from a state.
 
void(* decompress_reset )(void *state)
 Reset decompression state after rewind.
 
void *(* decompress_full )(const char *fn, FILE *fp, size_t cmp_size, size_t len)
 Decompress a full file in one go.
 
int(* decompress_full_inplace )(const uint8_t *in, size_t cmp_size, uint8_t *out, size_t len)
 Decompress a full file in-place.
 

Detailed Description

A decompression algorithm used by the asset library.


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