![]() |
VR-Vantage 3.1 API Documentation
|
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, mlen, offset, litlen, price) |
Functions | |
| FORCE_INLINE size_t | LZ4HC_literalsPrice (size_t litlen) |
| FORCE_INLINE size_t | LZ4HC_sequencePrice (size_t litlen, size_t mlen) |
| 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) |
| FORCE_INLINE void | LZ4HC_updateBinTree (LZ4HC_CCtx_internal *ctx, const BYTE *const ip, const BYTE *const iHighLimit) |
| 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. | |
| static int | LZ4HC_compress_optimal (LZ4HC_CCtx_internal *ctx, const char *const source, char *dest, int inputSize, int maxOutputSize, limitedOutput_directive limit, const size_t sufficient_len, const int fullUpdate) |
| #define LZ4_OPT_NUM (1<<12) |
Referenced by LZ4HC_BinTree_InsertAndGetAllMatches(), and LZ4HC_compress_optimal().
| #define SET_PRICE | ( | pos, | |
| mlen, | |||
| offset, | |||
| litlen, | |||
| price | |||
| ) |
| FORCE_INLINE size_t LZ4HC_literalsPrice | ( | size_t | litlen | ) |
Referenced by LZ4HC_compress_optimal(), and LZ4HC_sequencePrice().
| FORCE_INLINE size_t LZ4HC_sequencePrice | ( | size_t | litlen, |
| size_t | mlen | ||
| ) |
References LZ4HC_literalsPrice().
Referenced by LZ4HC_compress_optimal().
| 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 | ||
| ) |
References LZ4HC_CCtx_internal::base, LZ4HC_CCtx_internal::chainTable, LZ4HC_CCtx_internal::dictBase, LZ4HC_CCtx_internal::dictLimit, LZ4HC_CCtx_internal::hashTable, int(), LZ4HC_match_t::len, LZ4HC_CCtx_internal::lowLimit, LZ4_OPT_NUM, LZ4HC_match_t::off, and LZ4HC_CCtx_internal::searchNum.
Referenced by LZ4HC_BinTree_GetAllMatches(), and LZ4HC_updateBinTree().
| FORCE_INLINE void LZ4HC_updateBinTree | ( | LZ4HC_CCtx_internal * | ctx, |
| const BYTE *const | ip, | ||
| const BYTE *const | iHighLimit | ||
| ) |
References LZ4HC_CCtx_internal::base, LZ4HC_BinTree_InsertAndGetAllMatches(), and LZ4HC_CCtx_internal::nextToUpdate.
Referenced by LZ4HC_BinTree_GetAllMatches().
| 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.
References LZ4HC_CCtx_internal::base, LZ4HC_BinTree_InsertAndGetAllMatches(), LZ4HC_updateBinTree(), and LZ4HC_CCtx_internal::nextToUpdate.
Referenced by LZ4HC_compress_optimal().
|
static |
References LZ4HC_CCtx_internal::end, inputSize, int(), LZ4HC_match_t::len, LZ4HC_optimal_t::litlen, LZ4_OPT_NUM, LZ4HC_BinTree_GetAllMatches(), LZ4HC_literalsPrice(), LZ4HC_sequencePrice(), maxOutputSize, LZ4HC_optimal_t::mlen, LZ4HC_match_t::off, LZ4HC_optimal_t::off, LZ4HC_optimal_t::price, and SET_PRICE.