GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / tools / misc / xz / src / liblzma / lzma / lzma2_encoder.h
blobca19ef4691cc83f4a3e0cf9ceb3010da914e9c16
1 ///////////////////////////////////////////////////////////////////////////////
2 //
3 /// \file lzma2_encoder.h
4 /// \brief LZMA2 encoder
5 ///
6 // Authors: Igor Pavlov
7 // Lasse Collin
8 //
9 // This file has been put into the public domain.
10 // You can do whatever you want with this file.
12 ///////////////////////////////////////////////////////////////////////////////
14 #ifndef LZMA_LZMA2_ENCODER_H
15 #define LZMA_LZMA2_ENCODER_H
17 #include "common.h"
20 /// Maximum number of bytes of actual data per chunk (no headers)
21 #define LZMA2_CHUNK_MAX (UINT32_C(1) << 16)
23 /// Maximum uncompressed size of LZMA chunk (no headers)
24 #define LZMA2_UNCOMPRESSED_MAX (UINT32_C(1) << 21)
26 /// Maximum size of LZMA2 headers
27 #define LZMA2_HEADER_MAX 6
29 /// Size of a header for uncompressed chunk
30 #define LZMA2_HEADER_UNCOMPRESSED 3
33 extern lzma_ret lzma_lzma2_encoder_init(
34 lzma_next_coder *next, lzma_allocator *allocator,
35 const lzma_filter_info *filters);
37 extern uint64_t lzma_lzma2_encoder_memusage(const void *options);
39 extern lzma_ret lzma_lzma2_props_encode(const void *options, uint8_t *out);
41 #endif