Kind of two-bit version of bit scan reverse.
More...
|
#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) |
|
|
static uint32_t | get_dist_slot (uint32_t dist) |
|
|
const uint8_t | lzma_fastpos [1<< FASTPOS_BITS] |
|
Kind of two-bit version of bit scan reverse.
◆ fastpos_result
#define fastpos_result |
( |
|
dist, |
|
|
|
extra, |
|
|
|
n |
|
) |
| |
Value: lzma_fastpos[(dist) >> fastpos_shift(extra, n)] \
+ 2 * fastpos_shift(extra, n)