Searched refs:ZSTD_highbit32 (Results 1 – 14 of 14) sorted by relevance
199 …if ( (4*(int)(matchLength-bestLength)) > (int)(ZSTD_highbit32(current-matchIndex+1) - ZSTD_highbit… in ZSTD_DUBT_findBetterDictMatch()330 …if ( (4*(int)(matchLength-bestLength)) > (int)(ZSTD_highbit32(current-matchIndex+1) - ZSTD_highbit… in ZSTD_DUBT_findBestMatch()736 int const gain1 = (int)(matchLength*3 - ZSTD_highbit32((U32)offset+1) + 1); in ZSTD_compressBlock_lazy_generic()750 int const gain1 = (int)(matchLength*3 - ZSTD_highbit32((U32)offset+1) + 1); in ZSTD_compressBlock_lazy_generic()757 int const gain2 = (int)(ml2*4 - ZSTD_highbit32((U32)offset2+1)); /* raw approx */ in ZSTD_compressBlock_lazy_generic()758 int const gain1 = (int)(matchLength*4 - ZSTD_highbit32((U32)offset+1) + 4); in ZSTD_compressBlock_lazy_generic()771 int const gain1 = (int)(matchLength*4 - ZSTD_highbit32((U32)offset+1) + 1); in ZSTD_compressBlock_lazy_generic()785 int const gain1 = (int)(matchLength*4 - ZSTD_highbit32((U32)offset+1) + 1); in ZSTD_compressBlock_lazy_generic()792 … int const gain2 = (int)(ml2*4 - ZSTD_highbit32((U32)offset2+1)); /* raw approx */ in ZSTD_compressBlock_lazy_generic()793 int const gain1 = (int)(matchLength*4 - ZSTD_highbit32((U32)offset+1) + 7); in ZSTD_compressBlock_lazy_generic()[all …]
310 return (litLength > 63) ? ZSTD_highbit32(litLength) + LL_deltaCode : LL_Code[litLength]; in ZSTD_LLcode()327 return (mlBase > 127) ? ZSTD_highbit32(mlBase) + ML_deltaCode : ML_Code[mlBase]; in ZSTD_MLcode()1010 U32 const hb = ZSTD_highbit32(newStat); in ZSTD_fWeight()
44 return (ZSTD_highbit32(stat+1) * BITCOST_MULTIPLIER); in ZSTD_bitWeight()50 U32 const hb = ZSTD_highbit32(stat); in ZSTD_fracWeight()264 U32 const offCode = ZSTD_highbit32(offset+1); in ZSTD_getMatchPrice()308 { U32 const offCode = ZSTD_highbit32(offsetCode+1); in ZSTD_updateStats()
1050 ZSTD_highbit32(tSize-1) + 1; in ZSTD_adjustCParams_internal()1943 ofCodeTable[u] = (BYTE)ZSTD_highbit32(sequences[u].offset); in ZSTD_seqToCodes()3017 …offcodeMax = ZSTD_highbit32(maxOffset); /* Calculate minimum offset code required to represent max… in ZSTD_loadZstdDictionary()3561 … U32 const limitedSrcLog = limitedSrcSize > 1 ? ZSTD_highbit32(limitedSrcSize - 1) + 1 : 1; in ZSTD_compressBegin_usingCDict_advanced()
198 …if ( (4*(int)(matchLength-bestLength)) > (int)(ZSTD_highbit32(curr-matchIndex+1) - ZSTD_highbit32(… in ZSTD_DUBT_findBetterDictMatch()330 …if ( (4*(int)(matchLength-bestLength)) > (int)(ZSTD_highbit32(curr-matchIndex+1) - ZSTD_highbit32(… in ZSTD_DUBT_findBestMatch()1587 … int const gain1 = (int)(matchLength*3 - ZSTD_highbit32((U32)STORED_TO_OFFBASE(offcode)) + 1); in ZSTD_compressBlock_lazy_generic()1601 … int const gain1 = (int)(matchLength*3 - ZSTD_highbit32((U32)STORED_TO_OFFBASE(offcode)) + 1); in ZSTD_compressBlock_lazy_generic()1608 …int const gain2 = (int)(ml2*4 - ZSTD_highbit32((U32)STORED_TO_OFFBASE(offset2))); /* raw approx … in ZSTD_compressBlock_lazy_generic()1609 … int const gain1 = (int)(matchLength*4 - ZSTD_highbit32((U32)STORED_TO_OFFBASE(offcode)) + 4); in ZSTD_compressBlock_lazy_generic()1623 … int const gain1 = (int)(matchLength*4 - ZSTD_highbit32((U32)STORED_TO_OFFBASE(offcode)) + 1); in ZSTD_compressBlock_lazy_generic()1637 … int const gain1 = (int)(matchLength*4 - ZSTD_highbit32((U32)STORED_TO_OFFBASE(offcode)) + 1); in ZSTD_compressBlock_lazy_generic()1644 …int const gain2 = (int)(ml2*4 - ZSTD_highbit32((U32)STORED_TO_OFFBASE(offset2))); /* raw approx … in ZSTD_compressBlock_lazy_generic()1645 … int const gain1 = (int)(matchLength*4 - ZSTD_highbit32((U32)STORED_TO_OFFBASE(offcode)) + 7); in ZSTD_compressBlock_lazy_generic()[all …]
42 return (ZSTD_highbit32(stat+1) * BITCOST_MULTIPLIER); in ZSTD_bitWeight()48 U32 const hb = ZSTD_highbit32(stat); in ZSTD_fracWeight()113 return ZSTD_downscaleStats(table, lastEltIndex, ZSTD_highbit32(factor)); in ZSTD_scaleStats()304 U32 const offCode = ZSTD_highbit32(STORED_TO_OFFBASE(offcode)); in ZSTD_getMatchPrice()348 { U32 const offCode = ZSTD_highbit32(STORED_TO_OFFBASE(offsetCode)); in ZSTD_updateStats()
480 return (litLength > 63) ? ZSTD_highbit32(litLength) + LL_deltaCode : LL_Code[litLength]; in ZSTD_LLcode()497 return (mlBase > 127) ? ZSTD_highbit32(mlBase) + ML_deltaCode : ML_Code[mlBase]; in ZSTD_MLcode()1338 U32 const hb = ZSTD_highbit32(newStat); in ZSTD_fWeight()
878 U32 const nbJobsLog2 = ZSTD_highbit32(*nbJobsPtr) + 1; in ZSTDMT_createJobsTable()1271 U32 const rsyncBits = (assert(jobSizeKB >= 1), ZSTD_highbit32(jobSizeKB) + 10); in ZSTDMT_initCStream_internal()
1303 return ZSTD_highbit32((U32)dictAndWindowSize - 1) + 1; in ZSTD_dictAndWindowLog()1358 ZSTD_highbit32(tSize-1) + 1; in ZSTD_adjustCParams_internal()2401 ofCodeTable[u] = (BYTE)ZSTD_highbit32(sequences[u].offBase); in ZSTD_seqToCodes()4391 …offcodeMax = ZSTD_highbit32(maxOffset); /* Calculate minimum offset code required to represent max… in ZSTD_loadCEntropy()5084 U32 const limitedSrcLog = limitedSrcSize > 1 ? ZSTD_highbit32(limitedSrcSize - 1) + 1 : 1; in ZSTD_compressBegin_usingCDict_internal()
392 MEM_STATIC U32 ZSTD_highbit32(U32 val) /* compress, dictBuilder, decodeCorpus */ in ZSTD_highbit32() function
363 MEM_STATIC U32 ZSTD_highbit32(U32 val) /* compress, dictBuilder, decodeCorpus */ in ZSTD_highbit32() function
124 map->sizeLog = ZSTD_highbit32(size) + 2; in COVER_map_init()
742 U32 offcodeMax = ZSTD_highbit32((U32)(dictBufferSize + 128 KB)); in ZDICT_analyzeEntropy()
1749 *value = (int)ZSTD_highbit32((U32)dctx->maxWindowSize); in ZSTD_DCtx_getParameter()