diff options
author | Jia Tan <jiat0218@gmail.com> | 2024-01-22 23:33:39 +0800 |
---|---|---|
committer | Jia Tan <jiat0218@gmail.com> | 2024-01-23 23:05:41 +0800 |
commit | 440a2eccb082dc13400c09e22308a58fef85146c (patch) | |
tree | 9fad0290823c312e34e85911cf4f8677325480db /src/liblzma/simple/simple_coder.h | |
parent | Docs: Update .xz file format specification to 1.2.0. (diff) | |
download | xz-440a2eccb082dc13400c09e22308a58fef85146c.tar.xz |
liblzma: Add RISC-V BCJ filter.
The new Filter ID is 0x0B.
Thanks to Chien Wong <m@xv97.com> for the initial version of the Filter,
the xz CLI updates, and the Autotools build system modifications.
Thanks to Igor Pavlov for his many contributions to the design of
the filter.
Diffstat (limited to 'src/liblzma/simple/simple_coder.h')
-rw-r--r-- | src/liblzma/simple/simple_coder.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/liblzma/simple/simple_coder.h b/src/liblzma/simple/simple_coder.h index 668a5092..1bb22217 100644 --- a/src/liblzma/simple/simple_coder.h +++ b/src/liblzma/simple/simple_coder.h @@ -78,4 +78,13 @@ extern lzma_ret lzma_simple_sparc_decoder_init(lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter_info *filters); + +extern lzma_ret lzma_simple_riscv_encoder_init(lzma_next_coder *next, + const lzma_allocator *allocator, + const lzma_filter_info *filters); + +extern lzma_ret lzma_simple_riscv_decoder_init(lzma_next_coder *next, + const lzma_allocator *allocator, + const lzma_filter_info *filters); + #endif |