Searched refs:cSymbolTypeSizeEstimateInBits (Results 1 – 2 of 2) sorted by relevance
336 size_t cSymbolTypeSizeEstimateInBits = 0; in ZSTD_estimateSubBlockSize_symbolType() local343 cSymbolTypeSizeEstimateInBits = max <= defaultMax in ZSTD_estimateSubBlockSize_symbolType()347 cSymbolTypeSizeEstimateInBits = 0; in ZSTD_estimateSubBlockSize_symbolType()349 cSymbolTypeSizeEstimateInBits = ZSTD_fseBitCost(fseCTable, countWksp, max); in ZSTD_estimateSubBlockSize_symbolType()351 if (ZSTD_isError(cSymbolTypeSizeEstimateInBits)) return nbSeq * 10; in ZSTD_estimateSubBlockSize_symbolType()353 if (additionalBits) cSymbolTypeSizeEstimateInBits += additionalBits[*ctp]; in ZSTD_estimateSubBlockSize_symbolType()354 …else cSymbolTypeSizeEstimateInBits += *ctp; /* for offset, offset code is also the number of addit… in ZSTD_estimateSubBlockSize_symbolType()357 return cSymbolTypeSizeEstimateInBits / 8; in ZSTD_estimateSubBlockSize_symbolType()
3183 size_t cSymbolTypeSizeEstimateInBits = 0; in ZSTD_estimateBlockSize_symbolType() local3191 …cSymbolTypeSizeEstimateInBits = ZSTD_crossEntropyCost(defaultNorm, defaultNormLog, countWksp, max); in ZSTD_estimateBlockSize_symbolType()3193 cSymbolTypeSizeEstimateInBits = 0; in ZSTD_estimateBlockSize_symbolType()3195 cSymbolTypeSizeEstimateInBits = ZSTD_fseBitCost(fseCTable, countWksp, max); in ZSTD_estimateBlockSize_symbolType()3197 if (ZSTD_isError(cSymbolTypeSizeEstimateInBits)) { in ZSTD_estimateBlockSize_symbolType()3201 if (additionalBits) cSymbolTypeSizeEstimateInBits += additionalBits[*ctp]; in ZSTD_estimateBlockSize_symbolType()3202 …else cSymbolTypeSizeEstimateInBits += *ctp; /* for offset, offset code is also the number of addit… in ZSTD_estimateBlockSize_symbolType()3205 return cSymbolTypeSizeEstimateInBits >> 3; in ZSTD_estimateBlockSize_symbolType()