Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
fastpos.h File Reference

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)
 
#define fastpos_limit(extra, n)
 
#define fastpos_result(dist, extra, n)
 

Variables

lzma_attr_visibility_hidden const uint8_t lzma_fastpos [1<< FASTPOS_BITS]
 

Detailed Description

Kind of two-bit version of bit scan reverse.

Macro Definition Documentation

◆ FASTPOS_BITS

#define FASTPOS_BITS   13

◆ fastpos_limit

#define fastpos_limit ( extra,
n )
Value:
(UINT32_C(1) << (FASTPOS_BITS + fastpos_shift(extra, n)))
#define UINT32_C(n)
Definition lzma.h:139
#define FASTPOS_BITS
Definition fastpos.h:92
#define fastpos_shift(extra, n)
Definition fastpos.h:97

◆ fastpos_result

#define fastpos_result ( dist,
extra,
n )
Value:
(uint32_t)(lzma_fastpos[(dist) >> fastpos_shift(extra, n)]) \
+ 2 * fastpos_shift(extra, n)
const uint8_t lzma_fastpos[1<< FASTPOS_BITS]
Definition fastpos_table.c:6

◆ fastpos_shift

#define fastpos_shift ( extra,
n )
Value:
((extra) + (n) * (FASTPOS_BITS - 1))

Variable Documentation

◆ lzma_fastpos

lzma_attr_visibility_hidden const uint8_t lzma_fastpos[1<< FASTPOS_BITS]
extern