Filter-specific stuff common for both encoder and decoder. More...
#include "filter_common.h"
Functions | |
static lzma_ret | validate_chain (const lzma_filter *filters, size_t *count) |
lzma_ret | lzma_raw_coder_init (lzma_next_coder *next, lzma_allocator *allocator, const lzma_filter *options, lzma_filter_find coder_find, bool is_encoder) |
uint64_t | lzma_raw_coder_memusage (lzma_filter_find coder_find, const lzma_filter *filters) |
Variables | |
struct { | |
lzma_vli id | |
Filter ID. | |
bool non_last_ok | |
bool last_ok | |
bool changes_size | |
} | features [] |
Filter-specific stuff common for both encoder and decoder.
bool non_last_ok |
True if it is OK to use this filter as non-last filter in the chain.
bool last_ok |
True if it is OK to use this filter as the last filter in the chain.
bool changes_size |
True if the filter may change the size of the data (that is, the amount of encoded output can be different than the amount of uncompressed input).