57 #ifdef HAVE_ENCODER_LZMA1
63 .props_size_get =
NULL,
64 .props_size_fixed = 5,
68 #ifdef HAVE_ENCODER_LZMA2
74 .props_size_get =
NULL,
75 .props_size_fixed = 1,
79 #ifdef HAVE_ENCODER_X86
89 #ifdef HAVE_ENCODER_POWERPC
99 #ifdef HAVE_ENCODER_IA64
109 #ifdef HAVE_ENCODER_ARM
119 #ifdef HAVE_ENCODER_ARMTHUMB
129 #ifdef HAVE_ENCODER_SPARC
139 #ifdef HAVE_ENCODER_DELTA
145 .props_size_get =
NULL,
146 .props_size_fixed = 1,
165 lzma_filter_encoder_is_supported(
lzma_vli id)
lzma_ret lzma_simple_armthumb_encoder_init(lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter_info *filters)
#define LZMA_FILTER_SPARC
#define LZMA_FILTER_ARMTHUMB
#define LZMA_FILTER_POWERPC
const lzma_allocator * allocator
const lzma_allocator const uint8_t size_t uint8_t * out
const lzma_filter * filters
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void count
#define LZMA_FILTER_DELTA
Filter ID.
uint64_t lzma_delta_coder_memusage(const void *options)
lzma_ret lzma_delta_props_encode(const void *options, uint8_t *out)
lzma_ret lzma_delta_encoder_init(lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter_info *filters)
const lzma_allocator const uint8_t * props
#define LZMA_FILTERS_MAX
Maximum number of filters in a chain.
uint64_t lzma_raw_coder_memusage(lzma_filter_find coder_find, const lzma_filter *filters)
lzma_ret lzma_raw_coder_init(lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter *options, lzma_filter_find coder_find, bool is_encoder)
Filter-specific stuff common for both encoder and decoder.
const lzma_filter_coder *(* lzma_filter_find)(lzma_vli id)
static const lzma_filter_encoder encoders[]
uint64_t lzma_mt_block_size(const lzma_filter *filters)
static const lzma_filter_encoder * encoder_find(lzma_vli id)
lzma_ret lzma_raw_encoder_init(lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter *options)
lzma_ret lzma_simple_ia64_encoder_init(lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter_info *filters)
static const char struct stat static buf struct stat static buf static vhangup int options
#define LZMA_FILTER_LZMA2
LZMA2 Filter ID.
#define LZMA_FILTER_LZMA1
LZMA1 Filter ID.
lzma_ret lzma_lzma2_encoder_init(lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter_info *filters)
uint64_t lzma_lzma2_block_size(const void *options)
lzma_ret lzma_lzma2_props_encode(const void *options, uint8_t *out)
uint64_t lzma_lzma2_encoder_memusage(const void *options)
lzma_ret lzma_lzma_encoder_init(lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter_info *filters)
uint64_t lzma_lzma_encoder_memusage(const void *options)
lzma_ret lzma_lzma_props_encode(const void *options, uint8_t *out)
lzma_ret lzma_simple_powerpc_encoder_init(lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter_info *filters)
lzma_ret lzma_simple_sparc_encoder_init(lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter_info *filters)
lzma_ret lzma_simple_x86_encoder_init(lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter_info *filters)
lzma_ret lzma_simple_props_encode(const void *options, uint8_t *out)
lzma_ret lzma_simple_props_size(uint32_t *size, const void *options)
Custom functions for memory handling.
lzma_ret(* props_size_get)(uint32_t *size, const void *options)
uint32_t props_size_fixed
uint64_t(* block_size)(const void *options)
lzma_ret(* props_encode)(const void *options, uint8_t *out)
lzma_next_coder next
The actual coder that should do something useful.
bool supported_actions[LZMA_ACTION_MAX+1]
Indicates which lzma_action values are allowed by next.code.
Hold data and function pointers of the next filter in the chain.
void * coder
Pointer to coder-specific data.
lzma_ret(* update)(void *coder, const lzma_allocator *allocator, const lzma_filter *filters, const lzma_filter *reversed_filters)
Passing data to and from liblzma.
const lzma_allocator * allocator
Custom memory allocation functions.
#define lzma_next_strm_init(func, strm,...)
lzma_ret(* lzma_init_function)(lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter_info *filters)
Type of a function used to initialize a filter encoder or decoder.
lzma_ret lzma_simple_arm_encoder_init(lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter_info *filters)
uint64_t lzma_vli
Variable-length integer type.
#define LZMA_VLI_UNKNOWN
VLI value to denote that the value is unknown.
#define LZMA_VLI_MAX
Maximum supported value of a variable-length integer.
lzma_ret
Return values used by several functions in liblzma.
@ LZMA_PROG_ERROR
Programming error.
@ LZMA_OPTIONS_ERROR
Invalid or unsupported options.
@ LZMA_OK
Operation completed successfully.
@ LZMA_SYNC_FLUSH
Make all the input available at output.
@ LZMA_FINISH
Finish the coding operation.
@ LZMA_RUN
Continue coding.
unsigned char lzma_bool
Boolean.