Rizin
unix-like reverse engineering framework and cli tools
|
Private definitions for LZMA encoder. More...
#include "lz_encoder.h"
#include "range_encoder.h"
#include "lzma_common.h"
#include "lzma_encoder.h"
Go to the source code of this file.
Classes | |
struct | lzma_length_encoder |
struct | lzma_optimal |
struct | lzma_lzma1_encoder_s |
Macros | |
#define | not_equal_16(a, b) ((a)[0] != (b)[0] || (a)[1] != (b)[1]) |
#define | OPTS (1 << 12) |
Functions | |
void | lzma_lzma_optimum_fast (lzma_lzma1_encoder *restrict coder, lzma_mf *restrict mf, uint32_t *restrict back_res, uint32_t *restrict len_res) |
void | lzma_lzma_optimum_normal (lzma_lzma1_encoder *restrict coder, lzma_mf *restrict mf, uint32_t *restrict back_res, uint32_t *restrict len_res, uint32_t position) |
Private definitions for LZMA encoder.
Definition in file lzma_encoder_private.h.
Definition at line 30 of file lzma_encoder_private.h.
#define OPTS (1 << 12) |
Definition at line 36 of file lzma_encoder_private.h.
void lzma_lzma_optimum_fast | ( | lzma_lzma1_encoder *restrict | coder, |
lzma_mf *restrict | mf, | ||
uint32_t *restrict | back_res, | ||
uint32_t *restrict | len_res | ||
) |
Definition at line 21 of file lzma_encoder_optimum_fast.c.
References assert(), change_pair, i, len, limit, MATCH_LEN_MAX, mf_avail(), mf_find, mf_ptr(), mf_skip(), my_max, my_min, not_equal_16, REPS, UINT32_C, and UINT32_MAX.
Referenced by lzma_lzma_encode().
void lzma_lzma_optimum_normal | ( | lzma_lzma1_encoder *restrict | coder, |
lzma_mf *restrict | mf, | ||
uint32_t *restrict | back_res, | ||
uint32_t *restrict | len_res, | ||
uint32_t | position | ||
) |
Definition at line 804 of file lzma_encoder_optimum_normal.c.
References ALIGN_SIZE, assert(), backward(), fill_align_prices(), fill_dist_prices(), helper1(), helper2(), memcpy(), mf_avail(), mf_find, mf_ptr(), my_min, OPTS, REPS, and UINT32_MAX.
Referenced by lzma_lzma_encode().