![]() |
Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
|
Single-call .xz Block encoder. More...
#include "block_buffer_encoder.h"
#include "block_encoder.h"
#include "filter_encoder.h"
#include "lzma2_encoder.h"
#include "check.h"
Macros | |
#define | HEADERS_BOUND |
Functions | |
uint64_t | lzma_block_buffer_bound64 (uint64_t uncompressed_size) |
LZMA_API (size_t) | |
Calculate maximum output size for single-call Block encoding. | |
LZMA_API (lzma_ret) | |
Single-call .xz Block encoder.
#define HEADERS_BOUND |
Estimate the maximum size of the Block Header and Check fields for a Block that uses LZMA2 uncompressed chunks. We could use lzma_block_header_size() but this is simpler.
Block Header Size + Block Flags + Compressed Size
|
extern |
|
extern |
Calculate maximum output size for single-call Block encoding.
Calculate output buffer size for single-call Stream encoder.
This is equivalent to lzma_stream_buffer_bound() but for .xz Blocks. See the documentation of lzma_stream_buffer_bound().
|
extern |
uint64_t version of lzma_block_buffer_bound(). It is used by stream_encoder_mt.c. Probably the original lzma_block_buffer_bound() should have been 64-bit, but fixing it would break the ABI.