|
ZXC 0.15.0
High-performance asymmetric lossless compression library
|
Options for decompression. More...
#include <zxc_opts.h>
Data Fields | |
| int | n_threads |
| Worker thread count (0 = auto-detect CPU cores). | |
| int | checksum_enabled |
| 1 to verify the block checksums and archive digest, 0 to skip. | |
| const void * | dict |
| Pre-trained dictionary content (NULL = none). | |
| size_t | dict_size |
| Dictionary size in bytes (0 = none). | |
| const void * | dict_huf |
| Shared literal Huffman table: the same 128-byte header used at compression time. | |
| zxc_progress_callback_t | progress_cb |
| Optional progress callback (NULL to disable). | |
| void * | user_data |
| User context pointer passed to progress_cb. | |
Options for decompression.
Zero-initialise for safe defaults.
Definition at line 86 of file zxc_opts.h.
| int zxc_decompress_opts_t::checksum_enabled |
1 to verify the block checksums and archive digest, 0 to skip.
Definition at line 88 of file zxc_opts.h.
Referenced by zxc_dctx_decode_frame(), zxc_decompress_block(), zxc_decompress_block_safe(), and zxc_stream_decompress().
| const void* zxc_decompress_opts_t::dict |
Pre-trained dictionary content (NULL = none).
Definition at line 89 of file zxc_opts.h.
Referenced by zxc_dctx_decode_frame(), zxc_decompress_block(), zxc_decompress_block_safe(), and zxc_stream_decompress().
| const void* zxc_decompress_opts_t::dict_huf |
Shared literal Huffman table: the same 128-byte header used at compression time.
Required if the archive has one, else ZXC_ERROR_DICT_MISMATCH. Ignored without dict.
Definition at line 91 of file zxc_opts.h.
| size_t zxc_decompress_opts_t::dict_size |
Dictionary size in bytes (0 = none).
Definition at line 90 of file zxc_opts.h.
Referenced by zxc_decompress_block_safe().
| int zxc_decompress_opts_t::n_threads |
Worker thread count (0 = auto-detect CPU cores).
Definition at line 87 of file zxc_opts.h.
Referenced by zxc_stream_decompress().
| zxc_progress_callback_t zxc_decompress_opts_t::progress_cb |
Optional progress callback (NULL to disable).
Definition at line 94 of file zxc_opts.h.
Referenced by zxc_stream_decompress().
| void* zxc_decompress_opts_t::user_data |
User context pointer passed to progress_cb.
Definition at line 95 of file zxc_opts.h.
Referenced by zxc_stream_decompress().