Lines Matching refs:blockMode
395 …prefs.frameInfo.blockMode = LZ4F_blockIndependent; /* only one block => no need for inter-block … in LZ4F_compressFrame_usingCDict()
575 LZ4F_blockMode_t blockMode) { in LZ4F_initStream() argument
577 if (cdict != NULL || blockMode == LZ4F_blockLinked) { in LZ4F_initStream()
647 …((cctxPtr->prefs.frameInfo.blockMode == LZ4F_blockLinked) ? 64 KB : 0) : /* only needs past data … in LZ4F_compressBegin_usingCDict()
648 … cctxPtr->maxBlockSize + ((cctxPtr->prefs.frameInfo.blockMode == LZ4F_blockLinked) ? 128 KB : 0); in LZ4F_compressBegin_usingCDict()
663 if (cctxPtr->prefs.frameInfo.blockMode == LZ4F_blockLinked) { in LZ4F_compressBegin_usingCDict()
678 + ((cctxPtr->prefs.frameInfo.blockMode & _1BIT ) << 5) in LZ4F_compressBegin_usingCDict()
797 static compressFunc_t LZ4F_selectCompression(LZ4F_blockMode_t blockMode, int level) in LZ4F_selectCompression() argument
800 if (blockMode == LZ4F_blockIndependent) return LZ4F_compressBlock; in LZ4F_selectCompression()
803 if (blockMode == LZ4F_blockIndependent) return LZ4F_compressBlockHC; in LZ4F_selectCompression()
835 …compressFunc_t const compress = LZ4F_selectCompression(cctxPtr->prefs.frameInfo.blockMode, cctxPtr… in LZ4F_compressUpdate()
866 if (cctxPtr->prefs.frameInfo.blockMode==LZ4F_blockLinked) cctxPtr->tmpIn += blockSize; in LZ4F_compressUpdate()
894 …if ((cctxPtr->prefs.frameInfo.blockMode==LZ4F_blockLinked) && (lastBlockCompressed==fromSrcBuffer)… in LZ4F_compressUpdate()
951 …compress = LZ4F_selectCompression(cctxPtr->prefs.frameInfo.blockMode, cctxPtr->prefs.compressionLe… in LZ4F_flush()
961 if (cctxPtr->prefs.frameInfo.blockMode == LZ4F_blockLinked) in LZ4F_flush()
1111 …unsigned blockMode, blockChecksumFlag, contentSizeFlag, contentChecksumFlag, dictIDFlag, blockSize… in LZ4F_decodeHeader() local
1144 blockMode = (FLG>>5) & _1BIT; in LZ4F_decodeHeader()
1184 dctx->frameInfo.blockMode = (LZ4F_blockMode_t)blockMode; in LZ4F_decodeHeader()
1433 + ((dctx->frameInfo.blockMode==LZ4F_blockLinked) ? 128 KB : 0); in LZ4F_decompress()
1523 if (dctx->frameInfo.blockMode == LZ4F_blockLinked) in LZ4F_decompress()
1639 if (dctx->frameInfo.blockMode==LZ4F_blockLinked) in LZ4F_decompress()
1649 if (dctx->frameInfo.blockMode == LZ4F_blockLinked) { in LZ4F_decompress()
1691 if (dctx->frameInfo.blockMode == LZ4F_blockLinked) in LZ4F_decompress()
1807 …if ( (dctx->frameInfo.blockMode==LZ4F_blockLinked) /* next block will use up to 64KB from previou… in LZ4F_decompress()