Classes | Macros | Functions
lz4opt.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  LZ4HC_match_t
 
struct  LZ4HC_optimal_t
 

Macros

#define LZ4_OPT_NUM   (1<<12)
 
#define SET_PRICE(pos, ml, offset, ll, cost)
 

Functions

FORCE_INLINE int LZ4HC_BinTree_GetAllMatches (LZ4HC_CCtx_internal *ctx, const BYTE *const ip, const BYTE *const iHighLimit, size_t best_mlen, LZ4HC_match_t *matches, const int fullUpdate)
 
FORCE_INLINE int LZ4HC_BinTree_InsertAndGetAllMatches (LZ4HC_CCtx_internal *ctx, const BYTE *const ip, const BYTE *const iHighLimit, size_t best_mlen, LZ4HC_match_t *matches, int *matchNum)
 
static int LZ4HC_compress_optimal (LZ4HC_CCtx_internal *ctx, const char *const source, char *dest, int inputSize, int maxOutputSize, limitedOutput_directive limit, size_t sufficient_len, const int fullUpdate)
 
FORCE_INLINE size_t LZ4HC_literalsPrice (size_t litlen)
 
FORCE_INLINE size_t LZ4HC_sequencePrice (size_t litlen, size_t mlen)
 
FORCE_INLINE void LZ4HC_updateBinTree (LZ4HC_CCtx_internal *ctx, const BYTE *const ip, const BYTE *const iHighLimit)
 

Macro Definition Documentation

#define LZ4_OPT_NUM   (1<<12)

Definition at line 36 of file lz4opt.h.

#define SET_PRICE (   pos,
  ml,
  offset,
  ll,
  cost 
)
Value:
{ \
while (last_pos < pos) { opt[last_pos+1].price = 1<<30; last_pos++; } \
opt[pos].mlen = (int)ml; \
opt[pos].off = (int)offset; \
opt[pos].litlen = (int)ll; \
opt[pos].price = (int)cost; \
}
float rs2_vector::* pos
GLintptr offset

Definition at line 198 of file lz4opt.h.

Function Documentation

FORCE_INLINE int LZ4HC_BinTree_GetAllMatches ( LZ4HC_CCtx_internal ctx,
const BYTE *const  ip,
const BYTE *const  iHighLimit,
size_t  best_mlen,
LZ4HC_match_t matches,
const int  fullUpdate 
)

Tree updater, providing best match

Definition at line 184 of file lz4opt.h.

FORCE_INLINE int LZ4HC_BinTree_InsertAndGetAllMatches ( LZ4HC_CCtx_internal ctx,
const BYTE *const  ip,
const BYTE *const  iHighLimit,
size_t  best_mlen,
LZ4HC_match_t matches,
int *  matchNum 
)

Definition at line 79 of file lz4opt.h.

static int LZ4HC_compress_optimal ( LZ4HC_CCtx_internal ctx,
const char *const  source,
char *  dest,
int  inputSize,
int  maxOutputSize,
limitedOutput_directive  limit,
size_t  sufficient_len,
const int  fullUpdate 
)
static

Definition at line 208 of file lz4opt.h.

FORCE_INLINE size_t LZ4HC_literalsPrice ( size_t  litlen)

Definition at line 53 of file lz4opt.h.

FORCE_INLINE size_t LZ4HC_sequencePrice ( size_t  litlen,
size_t  mlen 
)

Definition at line 63 of file lz4opt.h.

FORCE_INLINE void LZ4HC_updateBinTree ( LZ4HC_CCtx_internal ctx,
const BYTE *const  ip,
const BYTE *const  iHighLimit 
)

Definition at line 173 of file lz4opt.h.



librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:27