Home
last modified time | relevance | path

Searched refs:offCode (Results 1 – 1 of 1) sorted by relevance

/linux-4.19.296/lib/zstd/
Dzstd_opt.h146 BYTE const offCode = (BYTE)ZSTD_highbit32(offset + 1); in ZSTD_getPrice() local
149 …teralPrice(seqStorePtr, litLength, literals) + ZSTD_highbit32((U32)matchLength + 1) + 16 + offCode; in ZSTD_getPrice()
151 …price = offCode + seqStorePtr->log2offCodeSum - ZSTD_highbit32(seqStorePtr->offCodeFreq[offCode] +… in ZSTD_getPrice()
152 if (!ultra && offCode >= 20) in ZSTD_getPrice()
153 price += (offCode - 19) * 2; in ZSTD_getPrice()
184 BYTE const offCode = (BYTE)ZSTD_highbit32(offset + 1); in ZSTD_updatePrice() local
186 seqStorePtr->offCodeFreq[offCode]++; in ZSTD_updatePrice()