Rizin
unix-like reverse engineering framework and cli tools
|
Kind of two-bit version of bit scan reverse. More...
Go to the source code of this file.
Macros | |
#define | FASTPOS_BITS 13 |
#define | fastpos_shift(extra, n) ((extra) + (n) * (FASTPOS_BITS - 1)) |
#define | fastpos_limit(extra, n) (UINT32_C(1) << (FASTPOS_BITS + fastpos_shift(extra, n))) |
#define | fastpos_result(dist, extra, n) |
Functions | |
static uint32_t | get_dist_slot (uint32_t dist) |
Variables | |
const uint8_t | lzma_fastpos [1<< FASTPOS_BITS] |
Kind of two-bit version of bit scan reverse.
Definition in file fastpos.h.
#define fastpos_limit | ( | extra, | |
n | |||
) | (UINT32_C(1) << (FASTPOS_BITS + fastpos_shift(extra, n))) |
#define fastpos_result | ( | dist, | |
extra, | |||
n | |||
) |
#define fastpos_shift | ( | extra, | |
n | |||
) | ((extra) + (n) * (FASTPOS_BITS - 1)) |
Definition at line 109 of file fastpos.h.
References fastpos_limit, fastpos_result, and lzma_fastpos.
Referenced by fill_dist_prices(), lzma_lzma2_props_encode(), and match().
|
extern |
Definition at line 6 of file fastpos_table.c.
Referenced by get_dist_slot().