Kind of two-bit version of bit scan reverse.
More...
Defines |
#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(pos, extra, n) |
Functions |
static uint32_t | get_pos_slot (uint32_t pos) |
Variables |
const uint8_t | lzma_fastpos [1<< FASTPOS_BITS] |
Detailed Description
Kind of two-bit version of bit scan reverse.
Define Documentation
#define fastpos_result |
( |
|
pos, |
|
|
|
extra, |
|
|
|
n | |
|
) |
| | |
Value:lzma_fastpos[(pos) >> fastpos_shift(extra, n)] \
+ 2 * fastpos_shift(extra, n)