XZ Utils
5.1.0alpha
|
LZMA decoder API. More...
#include "common.h"
Functions | |
lzma_ret | lzma_lzma_decoder_init (lzma_next_coder *next, lzma_allocator *allocator, const lzma_filter_info *filters) |
Allocates and initializes LZMA decoder. More... | |
uint64_t | lzma_lzma_decoder_memusage (const void *options) |
lzma_ret | lzma_lzma_props_decode (void **options, lzma_allocator *allocator, const uint8_t *props, size_t props_size) |
bool | lzma_lzma_lclppb_decode (lzma_options_lzma *options, uint8_t byte) |
Decodes the LZMA Properties byte (lc/lp/pb) More... | |
LZMA decoder API.
lzma_ret lzma_lzma_decoder_init | ( | lzma_next_coder * | next, |
lzma_allocator * | allocator, | ||
const lzma_filter_info * | filters | ||
) |
Allocates and initializes LZMA decoder.
References lzma_decoder_init().
bool lzma_lzma_lclppb_decode | ( | lzma_options_lzma * | options, |
uint8_t | byte | ||
) |
Decodes the LZMA Properties byte (lc/lp/pb)
References lzma_options_lzma::dict_size, is_lclppb_valid(), lzma_options_lzma::lc, lzma_options_lzma::lp, lzma_alloc(), lzma_free(), lzma_lzma_lclppb_decode(), LZMA_MEM_ERROR, LZMA_OK, LZMA_OPTIONS_ERROR, lzma_coder_s::options, lzma_options_lzma::pb, lzma_options_lzma::preset_dict, and lzma_options_lzma::preset_dict_size.
Referenced by lzma_lzma_lclppb_decode().