Lines Matching refs:srcSize

313 static unsigned FSE_minTableLog(size_t srcSize, unsigned maxSymbolValue)  in FSE_minTableLog()  argument
315 U32 minBitsSrc = BIT_highbit32((U32)(srcSize)) + 1; in FSE_minTableLog()
318 assert(srcSize > 1); /* Not supported, RLE should be used instead */ in FSE_minTableLog()
322 unsigned FSE_optimalTableLog_internal(unsigned maxTableLog, size_t srcSize, unsigned maxSymbolValue… in FSE_optimalTableLog_internal() argument
324 U32 maxBitsSrc = BIT_highbit32((U32)(srcSize - 1)) - minus; in FSE_optimalTableLog_internal()
326 U32 minBits = FSE_minTableLog(srcSize, maxSymbolValue); in FSE_optimalTableLog_internal()
327 assert(srcSize > 1); /* Not supported, RLE should be used instead */ in FSE_optimalTableLog_internal()
336 unsigned FSE_optimalTableLog(unsigned maxTableLog, size_t srcSize, unsigned maxSymbolValue) in FSE_optimalTableLog() argument
338 return FSE_optimalTableLog_internal(maxTableLog, srcSize, maxSymbolValue, 2); in FSE_optimalTableLog()
551 const void* src, size_t srcSize, in FSE_compress_usingCTable_generic() argument
555 const BYTE* const iend = istart + srcSize; in FSE_compress_usingCTable_generic()
562 if (srcSize <= 2) return 0; in FSE_compress_usingCTable_generic()
568 if (srcSize & 1) { in FSE_compress_usingCTable_generic()
579 srcSize -= 2; in FSE_compress_usingCTable_generic()
580 if ((sizeof(bitC.bitContainer)*8 > FSE_MAX_TABLELOG*4+7 ) && (srcSize & 2)) { /* test bit 2 */ in FSE_compress_usingCTable_generic()
610 const void* src, size_t srcSize, in FSE_compress_usingCTable() argument
613 unsigned const fast = (dstSize >= FSE_BLOCKBOUND(srcSize)); in FSE_compress_usingCTable()
616 return FSE_compress_usingCTable_generic(dst, dstSize, src, srcSize, ct, 1); in FSE_compress_usingCTable()
618 return FSE_compress_usingCTable_generic(dst, dstSize, src, srcSize, ct, 0); in FSE_compress_usingCTable()