1 ///////////////////////////////////////////////////////////////////////////////
3 /// \file easy_preset.h
4 /// \brief Preset handling for easy encoder and decoder
6 // Author: Lasse Collin
8 // This file has been put into the public domain.
9 // You can do whatever you want with this file.
11 ///////////////////////////////////////////////////////////////////////////////
17 /// We need to keep the filters array available in case
18 /// LZMA_FULL_FLUSH is used.
19 lzma_filter filters
[LZMA_FILTERS_MAX
+ 1];
22 lzma_options_lzma opt_lzma
;
24 // Options for more filters can be added later, so this struct
25 // is not ready to be put into the public API.
30 /// Set *easy to the settings given by the preset. Returns true on error,
32 extern bool lzma_easy_preset(lzma_options_easy
*easy
, uint32_t preset
);