#include "common.h"
Functions | |
size_t | lzma_chunk_size (const lzma_options_filter *filters) |
Finds out the minimal reasonable chunk size for a filter chain. |
size_t lzma_chunk_size | ( | const lzma_options_filter * | filters | ) |
Finds out the minimal reasonable chunk size for a filter chain.
This function helps determining the Uncompressed Sizes of the Blocks when doing multi-threaded encoding.
When compressing a large file on a system having multiple CPUs or CPU cores, the file can be splitted in smaller chunks, that are compressed independently into separate Blocks in the same .lzma Stream.
References LZMA_FILTER_ARM, LZMA_FILTER_ARMTHUMB, LZMA_FILTER_IA64, LZMA_FILTER_LZMA1, LZMA_FILTER_POWERPC, LZMA_FILTER_SPARC, LZMA_FILTER_SUBBLOCK, LZMA_FILTER_X86, and LZMA_VLI_UNKNOWN.