|
typedef int(* | nrf_compress_init_func_t) (void *inst) |
| Initialize compression implementation.
|
|
typedef int(* | nrf_compress_deinit_func_t) (void *inst) |
| De-initialize compression implementation.
|
|
typedef int(* | nrf_compress_reset_func_t) (void *inst) |
| Reset compression state function. Used to abort current compression or decompression task before starting a new one.
|
|
typedef int(* | nrf_compress_compress_func_t) (void *inst) |
| Placeholder function for future use, do not use.
|
|
typedef size_t(* | nrf_compress_decompress_bytes_needed_t) (void *inst) |
| Return chunk size of data to provide to next call of nrf_compress_decompress_func_t function. This is the ideal amount of data that should be provided to the next function call. Less data than this may be provided if more is not available (for example, end of data or data is is being streamed).
|
|
typedef int(* | nrf_compress_decompress_func_t) (void *inst, const uint8_t *input, size_t input_size, bool last_part, uint32_t *offset, uint8_t **output, size_t *output_size) |
| Decompress portion of compressed data. This function will need to be called one or more times with compressed data to decompress it into its natural form.
|
|
Public API for compression/decompression subsystem.