Sha256: f2daa4675f914f503f28df798ba5c2c5fbbc0a94b08cc305e9c6645569cb8c7d
Contents?: true
Size: 668 Bytes
Versions: 1
Compression:
Stored size: 668 Bytes
Contents
/////////////////////////////////////////////////////////////////////////////// // /// \file easy_decoder_memusage.c /// \brief Decoder memory usage calculation to match easy encoder presets // // Author: Lasse Collin // // This file has been put into the public domain. // You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// #include "easy_preset.h" extern LZMA_API(uint64_t) lzma_easy_decoder_memusage(uint32_t preset) { lzma_options_easy opt_easy; if (lzma_easy_preset(&opt_easy, preset)) return UINT32_MAX; return lzma_raw_decoder_memusage(opt_easy.filters); }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
laag-xz-5.2.4.0 | vendor/git.tukaani.org/xz/src/liblzma/common/easy_decoder_memusage.c |