Lines Matching refs:blockMode
317 prefs.frameInfo.blockMode = LZ4F_blockIndependent; /* no need for linked blocks */
425 requiredBuffSize = cctxPtr->maxBlockSize + ((cctxPtr->prefs.frameInfo.blockMode == LZ4F_blockLinked) * 128 KB);
427 requiredBuffSize = (cctxPtr->prefs.frameInfo.blockMode == LZ4F_blockLinked) * 64 KB; /* just needs dict */
451 + ((cctxPtr->prefs.frameInfo.blockMode & _1BIT ) << 5) /* Block mode */
533 static compressFunc_t LZ4F_selectCompression(LZ4F_blockMode_t blockMode, int level)
537 if (blockMode == LZ4F_blockIndependent) return LZ4F_localLZ4_compress_limitedOutput_withState;
540 if (blockMode == LZ4F_blockIndependent) return LZ4_compress_HC_extStateHC;
581 compress = LZ4F_selectCompression(cctxPtr->prefs.frameInfo.blockMode, cctxPtr->prefs.compressionLevel);
604 if (cctxPtr->prefs.frameInfo.blockMode==LZ4F_blockLinked) cctxPtr->tmpIn += blockSize;
626 if ((cctxPtr->prefs.frameInfo.blockMode==LZ4F_blockLinked) && (lastBlockCompressed==fromSrcBuffer))
687 compress = LZ4F_selectCompression(cctxPtr->prefs.frameInfo.blockMode, cctxPtr->prefs.compressionLevel);
691 if (cctxPtr->prefs.frameInfo.blockMode==LZ4F_blockLinked) cctxPtr->tmpIn += cctxPtr->tmpInSize;
813 unsigned version, blockMode, blockChecksumFlag, contentSizeFlag, contentChecksumFlag, blockSizeID;
847 blockMode = (FLG>>5) & _1BIT;
882 dctxPtr->frameInfo.blockMode = (LZ4F_blockMode_t)blockMode;
893 bufferNeeded = dctxPtr->maxBlockSize + ((dctxPtr->frameInfo.blockMode==LZ4F_blockLinked) * 128 KB);
1181 if (dctxPtr->frameInfo.blockMode==LZ4F_blockLinked)
1243 if (dctxPtr->frameInfo.blockMode == LZ4F_blockLinked)
1254 if (dctxPtr->frameInfo.blockMode==LZ4F_blockLinked)
1268 if (dctxPtr->frameInfo.blockMode == LZ4F_blockLinked)
1274 if (dctxPtr->frameInfo.blockMode == LZ4F_blockLinked)
1311 if (dctxPtr->frameInfo.blockMode==LZ4F_blockLinked)
1437 if ( (dctxPtr->frameInfo.blockMode==LZ4F_blockLinked)