Lines Matching refs:blockMode
395 …prefs.frameInfo.blockMode = LZ4F_blockIndependent; /* only one block => no need for inter-block … in LZ4F_compressFrame_usingCDict()
573 LZ4F_blockMode_t blockMode) { in LZ4F_initStream() argument
575 if (cdict != NULL || blockMode == LZ4F_blockLinked) { in LZ4F_initStream()
645 …((cctxPtr->prefs.frameInfo.blockMode == LZ4F_blockLinked) ? 64 KB : 0) : /* only needs past data … in LZ4F_compressBegin_usingCDict()
646 … cctxPtr->maxBlockSize + ((cctxPtr->prefs.frameInfo.blockMode == LZ4F_blockLinked) ? 128 KB : 0); in LZ4F_compressBegin_usingCDict()
661 if (cctxPtr->prefs.frameInfo.blockMode == LZ4F_blockLinked) { in LZ4F_compressBegin_usingCDict()
676 + ((cctxPtr->prefs.frameInfo.blockMode & _1BIT ) << 5) in LZ4F_compressBegin_usingCDict()
799 static compressFunc_t LZ4F_selectCompression(LZ4F_blockMode_t blockMode, int level) in LZ4F_selectCompression() argument
802 if (blockMode == LZ4F_blockIndependent) return LZ4F_compressBlock; in LZ4F_selectCompression()
805 if (blockMode == LZ4F_blockIndependent) return LZ4F_compressBlockHC; in LZ4F_selectCompression()
837 …compressFunc_t const compress = LZ4F_selectCompression(cctxPtr->prefs.frameInfo.blockMode, cctxPtr… in LZ4F_compressUpdate()
868 if (cctxPtr->prefs.frameInfo.blockMode==LZ4F_blockLinked) cctxPtr->tmpIn += blockSize; in LZ4F_compressUpdate()
896 …if ((cctxPtr->prefs.frameInfo.blockMode==LZ4F_blockLinked) && (lastBlockCompressed==fromSrcBuffer)… in LZ4F_compressUpdate()
953 …compress = LZ4F_selectCompression(cctxPtr->prefs.frameInfo.blockMode, cctxPtr->prefs.compressionLe… in LZ4F_flush()
963 if (cctxPtr->prefs.frameInfo.blockMode == LZ4F_blockLinked) in LZ4F_flush()
1115 …unsigned blockMode, blockChecksumFlag, contentSizeFlag, contentChecksumFlag, dictIDFlag, blockSize… in LZ4F_decodeHeader() local
1151 blockMode = (FLG>>5) & _1BIT; in LZ4F_decodeHeader()
1191 dctx->frameInfo.blockMode = (LZ4F_blockMode_t)blockMode; in LZ4F_decodeHeader()
1453 + ((dctx->frameInfo.blockMode==LZ4F_blockLinked) ? 128 KB : 0); in LZ4F_decompress()
1552 if (dctx->frameInfo.blockMode == LZ4F_blockLinked) { in LZ4F_decompress()
1676 if (dctx->frameInfo.blockMode==LZ4F_blockLinked) { in LZ4F_decompress()
1687 if (dctx->frameInfo.blockMode == LZ4F_blockLinked) { in LZ4F_decompress()
1731 if (dctx->frameInfo.blockMode == LZ4F_blockLinked) in LZ4F_decompress()
1846 …if ( (dctx->frameInfo.blockMode==LZ4F_blockLinked) /* next block will use up to 64KB from previou… in LZ4F_decompress()