Single-call raw decoding.
More...
Go to the source code of this file.
Single-call raw decoding.
Definition in file filter_buffer_decoder.c.
◆ LZMA_API()
Definition at line 16 of file filter_buffer_decoder.c.
33 const size_t in_start = *
in_pos;
34 const size_t out_start = *
out_pos;
54 }
else if (*
out_pos != out_size) {
const lzma_allocator const uint8_t size_t uint8_t size_t * out_pos
const lzma_allocator const uint8_t size_t * in_pos
const lzma_allocator const uint8_t size_t in_size
const lzma_allocator * allocator
const lzma_allocator const uint8_t * in
const lzma_allocator const uint8_t size_t uint8_t * out
const lzma_filter * filters
lzma_ret lzma_raw_decoder_init(lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter *options)
assert(limit<=UINT32_MAX/2)
Hold data and function pointers of the next filter in the chain.
lzma_code_function code
Pointer to function to do the actual coding.
void * coder
Pointer to coder-specific data.
#define LZMA_NEXT_CODER_INIT
Macro to initialize lzma_next_coder structure.
#define return_if_error(expr)
Return if expression doesn't evaluate to LZMA_OK.
lzma_ret
Return values used by several functions in liblzma.
@ LZMA_PROG_ERROR
Programming error.
@ LZMA_DATA_ERROR
Data is corrupt.
@ LZMA_STREAM_END
End of stream was reached.
@ LZMA_BUF_ERROR
No progress is possible.
@ LZMA_OK
Operation completed successfully.
@ LZMA_FINISH
Finish the coding operation.
void lzma_next_end(lzma_next_coder *next, const lzma_allocator *allocator)
References allocator, assert(), lzma_next_coder_s::code, lzma_next_coder_s::coder, filters, in, in_pos, in_size, LZMA_BUF_ERROR, LZMA_DATA_ERROR, LZMA_FINISH, LZMA_NEXT_CODER_INIT, lzma_next_end(), LZMA_OK, LZMA_PROG_ERROR, lzma_raw_decoder_init(), LZMA_STREAM_END, NULL, out, out_pos, return_if_error, and autogen_x86imm::tmp.