Wrapper for simple filters. More...
#include "simple_private.h"Functions | |
| static lzma_ret | copy_or_code (lzma_coder *coder, lzma_allocator *allocator, const uint8_t *restrict in, size_t *restrict in_pos, size_t in_size, uint8_t *restrict out, size_t *restrict out_pos, size_t out_size, lzma_action action) | 
| Copied or encodes/decodes more data to out[].   | |
| static size_t | call_filter (lzma_coder *coder, uint8_t *buffer, size_t size) | 
| static lzma_ret | simple_code (lzma_coder *coder, lzma_allocator *allocator, const uint8_t *restrict in, size_t *restrict in_pos, size_t in_size, uint8_t *restrict out, size_t *restrict out_pos, size_t out_size, lzma_action action) | 
| static void | simple_coder_end (lzma_coder *coder, lzma_allocator *allocator) | 
| static lzma_ret | simple_coder_update (lzma_coder *coder, lzma_allocator *allocator, const lzma_filter *filters_null lzma_attribute((unused)), const lzma_filter *reversed_filters) | 
| lzma_ret | lzma_simple_coder_init (lzma_next_coder *next, lzma_allocator *allocator, const lzma_filter_info *filters, size_t(*filter)(lzma_simple *simple, uint32_t now_pos, bool is_encoder, uint8_t *buffer, size_t size), size_t simple_size, size_t unfiltered_max, uint32_t alignment, bool is_encoder) | 
Wrapper for simple filters.
Simple filters don't change the size of the data i.e. number of bytes in equals the number of bytes out.
| static lzma_ret copy_or_code | ( | lzma_coder * | coder, | |
| lzma_allocator * | allocator, | |||
| const uint8_t *restrict | in, | |||
| size_t *restrict | in_pos, | |||
| size_t | in_size, | |||
| uint8_t *restrict | out, | |||
| size_t *restrict | out_pos, | |||
| size_t | out_size, | |||
| lzma_action | action | |||
| ) |  [static] | 
        
Copied or encodes/decodes more data to out[].
References lzma_next_coder_s::code, lzma_next_coder_s::coder, lzma_coder_s::end_was_reached, lzma_coder_s::is_encoder, LZMA_FINISH, LZMA_OK, LZMA_STREAM_END, and lzma_coder_s::next.
 1.7.1