1 // SPDX-License-Identifier: 0BSD
3 ///////////////////////////////////////////////////////////////////////////////
5 /// \file simple_coder.h
6 /// \brief Wrapper for simple filters
8 // Author: Lasse Collin
10 ///////////////////////////////////////////////////////////////////////////////
12 #ifndef LZMA_SIMPLE_CODER_H
13 #define LZMA_SIMPLE_CODER_H
18 extern lzma_ret
lzma_simple_x86_encoder_init(lzma_next_coder
*next
,
19 const lzma_allocator
*allocator
,
20 const lzma_filter_info
*filters
);
22 extern lzma_ret
lzma_simple_x86_decoder_init(lzma_next_coder
*next
,
23 const lzma_allocator
*allocator
,
24 const lzma_filter_info
*filters
);
27 extern lzma_ret
lzma_simple_powerpc_encoder_init(lzma_next_coder
*next
,
28 const lzma_allocator
*allocator
,
29 const lzma_filter_info
*filters
);
31 extern lzma_ret
lzma_simple_powerpc_decoder_init(lzma_next_coder
*next
,
32 const lzma_allocator
*allocator
,
33 const lzma_filter_info
*filters
);
36 extern lzma_ret
lzma_simple_ia64_encoder_init(lzma_next_coder
*next
,
37 const lzma_allocator
*allocator
,
38 const lzma_filter_info
*filters
);
40 extern lzma_ret
lzma_simple_ia64_decoder_init(lzma_next_coder
*next
,
41 const lzma_allocator
*allocator
,
42 const lzma_filter_info
*filters
);
45 extern lzma_ret
lzma_simple_arm_encoder_init(lzma_next_coder
*next
,
46 const lzma_allocator
*allocator
,
47 const lzma_filter_info
*filters
);
49 extern lzma_ret
lzma_simple_arm_decoder_init(lzma_next_coder
*next
,
50 const lzma_allocator
*allocator
,
51 const lzma_filter_info
*filters
);
54 extern lzma_ret
lzma_simple_armthumb_encoder_init(lzma_next_coder
*next
,
55 const lzma_allocator
*allocator
,
56 const lzma_filter_info
*filters
);
58 extern lzma_ret
lzma_simple_armthumb_decoder_init(lzma_next_coder
*next
,
59 const lzma_allocator
*allocator
,
60 const lzma_filter_info
*filters
);
63 extern lzma_ret
lzma_simple_arm64_encoder_init(lzma_next_coder
*next
,
64 const lzma_allocator
*allocator
,
65 const lzma_filter_info
*filters
);
67 extern lzma_ret
lzma_simple_arm64_decoder_init(lzma_next_coder
*next
,
68 const lzma_allocator
*allocator
,
69 const lzma_filter_info
*filters
);
72 extern lzma_ret
lzma_simple_sparc_encoder_init(lzma_next_coder
*next
,
73 const lzma_allocator
*allocator
,
74 const lzma_filter_info
*filters
);
76 extern lzma_ret
lzma_simple_sparc_decoder_init(lzma_next_coder
*next
,
77 const lzma_allocator
*allocator
,
78 const lzma_filter_info
*filters
);
81 extern lzma_ret
lzma_simple_riscv_encoder_init(lzma_next_coder
*next
,
82 const lzma_allocator
*allocator
,
83 const lzma_filter_info
*filters
);
85 extern lzma_ret
lzma_simple_riscv_decoder_init(lzma_next_coder
*next
,
86 const lzma_allocator
*allocator
,
87 const lzma_filter_info
*filters
);