liblzma: Add RISC-V BCJ filter.
[xz.git] / src / liblzma / simple / simple_coder.h
blob1bb2221762aef2172b48a12e6305372c5cf53e25
1 ///////////////////////////////////////////////////////////////////////////////
2 //
3 /// \file simple_coder.h
4 /// \brief Wrapper for simple filters
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.
11 ///////////////////////////////////////////////////////////////////////////////
13 #ifndef LZMA_SIMPLE_CODER_H
14 #define LZMA_SIMPLE_CODER_H
16 #include "common.h"
19 extern lzma_ret lzma_simple_x86_encoder_init(lzma_next_coder *next,
20 const lzma_allocator *allocator,
21 const lzma_filter_info *filters);
23 extern lzma_ret lzma_simple_x86_decoder_init(lzma_next_coder *next,
24 const lzma_allocator *allocator,
25 const lzma_filter_info *filters);
28 extern lzma_ret lzma_simple_powerpc_encoder_init(lzma_next_coder *next,
29 const lzma_allocator *allocator,
30 const lzma_filter_info *filters);
32 extern lzma_ret lzma_simple_powerpc_decoder_init(lzma_next_coder *next,
33 const lzma_allocator *allocator,
34 const lzma_filter_info *filters);
37 extern lzma_ret lzma_simple_ia64_encoder_init(lzma_next_coder *next,
38 const lzma_allocator *allocator,
39 const lzma_filter_info *filters);
41 extern lzma_ret lzma_simple_ia64_decoder_init(lzma_next_coder *next,
42 const lzma_allocator *allocator,
43 const lzma_filter_info *filters);
46 extern lzma_ret lzma_simple_arm_encoder_init(lzma_next_coder *next,
47 const lzma_allocator *allocator,
48 const lzma_filter_info *filters);
50 extern lzma_ret lzma_simple_arm_decoder_init(lzma_next_coder *next,
51 const lzma_allocator *allocator,
52 const lzma_filter_info *filters);
55 extern lzma_ret lzma_simple_armthumb_encoder_init(lzma_next_coder *next,
56 const lzma_allocator *allocator,
57 const lzma_filter_info *filters);
59 extern lzma_ret lzma_simple_armthumb_decoder_init(lzma_next_coder *next,
60 const lzma_allocator *allocator,
61 const lzma_filter_info *filters);
64 extern lzma_ret lzma_simple_arm64_encoder_init(lzma_next_coder *next,
65 const lzma_allocator *allocator,
66 const lzma_filter_info *filters);
68 extern lzma_ret lzma_simple_arm64_decoder_init(lzma_next_coder *next,
69 const lzma_allocator *allocator,
70 const lzma_filter_info *filters);
73 extern lzma_ret lzma_simple_sparc_encoder_init(lzma_next_coder *next,
74 const lzma_allocator *allocator,
75 const lzma_filter_info *filters);
77 extern lzma_ret lzma_simple_sparc_decoder_init(lzma_next_coder *next,
78 const lzma_allocator *allocator,
79 const lzma_filter_info *filters);
82 extern lzma_ret lzma_simple_riscv_encoder_init(lzma_next_coder *next,
83 const lzma_allocator *allocator,
84 const lzma_filter_info *filters);
86 extern lzma_ret lzma_simple_riscv_decoder_init(lzma_next_coder *next,
87 const lzma_allocator *allocator,
88 const lzma_filter_info *filters);
90 #endif