Easy Stream encoder initialization. More...
#include "stream_encoder.h"
Data Structures | |
struct | lzma_coder_s |
Functions | |
static bool | easy_set_filters (lzma_coder *coder, uint32_t preset) |
static lzma_ret | easy_encode (lzma_coder *coder, lzma_allocator *allocator, const uint8_t *restrict in, size_t *restrict in_pos, size_t in_size, uint8_t *restrict out, size_t *restrict out_pos, size_t out_size, lzma_action action) |
static void | easy_encoder_end (lzma_coder *coder, lzma_allocator *allocator) |
static lzma_ret | easy_encoder_init (lzma_next_coder *next, lzma_allocator *allocator, uint32_t preset, lzma_check check) |
LZMA_API (lzma_ret) | |
LZMA_API (uint64_t) | |
Calculate rough memory usage of easy encoder. |
Easy Stream encoder initialization.
LZMA_API | ( | uint64_t | ) |
Calculate rough memory usage of easy encoder.
Calculate memory usage for Index with given number of Records.
Calculate rough decoder memory usage of a preset.
This function is a wrapper for lzma_raw_encoder_memusage().
preset | Compression preset (level and possible flags) |
This function is a wrapper for lzma_raw_decoder_memusage().
preset | Compression preset (level and possible flags) |
References lzma_coder_s::filters.