Rizin
unix-like reverse engineering framework and cli tools
|
Filter-specific stuff common for both encoder and decoder. More...
#include "common.h"
Go to the source code of this file.
Classes | |
struct | lzma_filter_coder |
Both lzma_filter_encoder and lzma_filter_decoder begin with these members. More... | |
Typedefs | |
typedef const lzma_filter_coder *(* | lzma_filter_find) (lzma_vli id) |
Functions | |
lzma_ret | lzma_raw_coder_init (lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter *filters, lzma_filter_find coder_find, bool is_encoder) |
uint64_t | lzma_raw_coder_memusage (lzma_filter_find coder_find, const lzma_filter *filters) |
Filter-specific stuff common for both encoder and decoder.
Definition in file filter_common.h.
typedef const lzma_filter_coder*(* lzma_filter_find) (lzma_vli id) |
Definition at line 35 of file filter_common.h.
lzma_ret lzma_raw_coder_init | ( | lzma_next_coder * | next, |
const lzma_allocator * | allocator, | ||
const lzma_filter * | filters, | ||
lzma_filter_find | coder_find, | ||
bool | is_encoder | ||
) |
Definition at line 242 of file filter_common.c.
References allocator, count, filters, i, lzma_filter::id, lzma_filter_coder::init, LZMA_FILTERS_MAX, lzma_next_end(), lzma_next_filter_init(), LZMA_OK, LZMA_OPTIONS_ERROR, LZMA_VLI_UNKNOWN, NULL, options, lzma_filter::options, return_if_error, and validate_chain().
Referenced by lzma_raw_decoder_init(), and lzma_raw_encoder_init().
uint64_t lzma_raw_coder_memusage | ( | lzma_filter_find | coder_find, |
const lzma_filter * | filters | ||
) |
Definition at line 295 of file filter_common.c.
References filters, i, LZMA_MEMUSAGE_BASE, LZMA_OK, LZMA_VLI_UNKNOWN, lzma_filter_coder::memusage, NULL, options, autogen_x86imm::tmp, UINT64_MAX, usage(), and validate_chain().
Referenced by LZMA_API().