#include "subblock_decoder.h"
#include "subblock_decoder_helper.h"
#include "filter_decoder.h"
Data Structures | |
struct | lzma_coder_s |
Defines | |
#define | PADDING_MAX 31 |
Maximum number of consecutive Subblocks with Subblock Type Padding. | |
Enumerations | |
enum | { FLAG_PADDING, FLAG_EOPM, FLAG_DATA, FLAG_REPEAT, FLAG_SET_SUBFILTER, FLAG_END_SUBFILTER } |
Values of valid Subblock Flags. More... | |
Functions | |
static lzma_ret | subfilter_decode (lzma_coder *coder, lzma_allocator *allocator, const uint8_t *in, size_t *in_pos, size_t in_size, uint8_t *restrict out, size_t *restrict out_pos, size_t out_size, lzma_action action) |
Calls the subfilter and updates coder->uncompressed_size. | |
static lzma_ret | decode_buffer (lzma_coder *coder, lzma_allocator *allocator, const uint8_t *in, size_t *in_pos, size_t in_size, uint8_t *restrict out, size_t *restrict out_pos, size_t out_size, lzma_action action) |
static lzma_ret | subblock_decode (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 | subblock_decoder_end (lzma_coder *coder, lzma_allocator *allocator) |
lzma_ret | lzma_subblock_decoder_init (lzma_next_coder *next, lzma_allocator *allocator, const lzma_filter_info *filters) |
#define PADDING_MAX 31 |
Maximum number of consecutive Subblocks with Subblock Type Padding.
anonymous enum |
Values of valid Subblock Flags.
static lzma_ret subfilter_decode | ( | lzma_coder * | coder, | |
lzma_allocator * | allocator, | |||
const uint8_t * | in, | |||
size_t * | in_pos, | |||
size_t | in_size, | |||
uint8_t *restrict | out, | |||
size_t *restrict | out_pos, | |||
size_t | out_size, | |||
lzma_action | action | |||
) | [static] |
Calls the subfilter and updates coder->uncompressed_size.