VirtualBox

source: vbox/trunk/src/libs/liblzma-5.4.1/common/easy_preset.h@ 105764

最後變更 在這個檔案從105764是 98730,由 vboxsync 提交於 21 月 前

libs/liblzma-5.4.1: Export to OSE, bugref:10254

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 921 位元組
 
1///////////////////////////////////////////////////////////////////////////////
2//
3/// \file easy_preset.h
4/// \brief Preset handling for easy encoder and decoder
5//
6// Author: Lasse Collin
7//
8// This file has been put into the public domain.
9// You can do whatever you want with this file.
10//
11///////////////////////////////////////////////////////////////////////////////
12
13#include "common.h"
14
15
16typedef struct {
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];
20
21 /// Options for LZMA2
22 lzma_options_lzma opt_lzma;
23
24 // Options for more filters can be added later, so this struct
25 // is not ready to be put into the public API.
26
27} lzma_options_easy;
28
29
30/// Set *easy to the settings given by the preset. Returns true on error,
31/// false on success.
32extern bool lzma_easy_preset(lzma_options_easy *easy, uint32_t preset);
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette