Lines Matching defs:frameInfo
132 LZ4F_frameInfo_t frameInfo;
230 while (prefs.frameInfo.blockSizeID > proposedBSID)
234 prefs.frameInfo.blockSizeID = proposedBSID;
277 while (prefs.frameInfo.blockSizeID > proposedBSID)
281 prefs.frameInfo.blockSizeID = proposedBSID;
289 if (srcSize <= LZ4F_getBlockSize(prefs.frameInfo.blockSizeID))
290 prefs.frameInfo.blockMode = blockIndependent; /* no need for linked blocks */
391 if (cctxPtr->prefs.frameInfo.blockSizeID == 0) cctxPtr->prefs.frameInfo.blockSizeID = LZ4F_BLOCKSIZEID_DEFAULT;
392 cctxPtr->maxBlockSize = LZ4F_getBlockSize(cctxPtr->prefs.frameInfo.blockSizeID);
394 requiredBuffSize = cctxPtr->maxBlockSize + ((cctxPtr->prefs.frameInfo.blockMode == blockLinked) * 128 KB);
396 requiredBuffSize = (cctxPtr->prefs.frameInfo.blockMode == blockLinked) * 64 KB; /* just needs dict */
420 + ((cctxPtr->prefs.frameInfo.blockMode & _1BIT ) << 5) /* Block mode */
421 + (char)((cctxPtr->prefs.frameInfo.contentChecksumFlag & _1BIT ) << 2); /* Stream checksum */
423 *dstPtr++ = (char)((cctxPtr->prefs.frameInfo.blockSizeID & _3BITS) << 4);
441 blockSizeID_t bid = prefsPtr->frameInfo.blockSizeID;
446 size_t frameEnd = 4 + (prefsPtr->frameInfo.contentChecksumFlag*4);
537 compress = LZ4F_selectCompression(cctxPtr->prefs.frameInfo.blockMode, cctxPtr->prefs.compressionLevel);
560 if (cctxPtr->prefs.frameInfo.blockMode==blockLinked) cctxPtr->tmpIn += blockSize;
582 if ((cctxPtr->prefs.frameInfo.blockMode==blockLinked) && (lastBlockCompressed==fromSrcBuffer))
613 if (cctxPtr->prefs.frameInfo.contentChecksumFlag == contentChecksumEnabled)
644 compress = LZ4F_selectCompression(cctxPtr->prefs.frameInfo.blockMode, cctxPtr->prefs.compressionLevel);
648 if (cctxPtr->prefs.frameInfo.blockMode==blockLinked) cctxPtr->tmpIn += cctxPtr->tmpInSize;
685 if (cctxPtr->prefs.frameInfo.contentChecksumFlag == contentChecksumEnabled)
741 /* need to decode header to get frameInfo */
774 dctxPtr->frameInfo.blockMode = blockMode;
775 dctxPtr->frameInfo.contentChecksumFlag = contentChecksumFlag;
776 dctxPtr->frameInfo.blockSizeID = blockSizeID;
783 bufferNeeded = dctxPtr->maxBlockSize + ((dctxPtr->frameInfo.blockMode==blockLinked) * 128 KB);
834 *frameInfoPtr = dctxPtr->frameInfo;
840 /* frameInfo already decoded */
842 *frameInfoPtr = dctxPtr->frameInfo;
1088 if (dctxPtr->frameInfo.contentChecksumFlag) XXH32_update(&(dctxPtr->xxh), srcPtr, (U32)sizeToCopy);
1091 if (dctxPtr->frameInfo.blockMode==blockLinked)
1153 if (dctxPtr->frameInfo.blockMode == blockLinked)
1160 if (dctxPtr->frameInfo.contentChecksumFlag) XXH32_update(&(dctxPtr->xxh), dstPtr, decodedSize);
1163 if (dctxPtr->frameInfo.blockMode==blockLinked)
1177 if (dctxPtr->frameInfo.blockMode == blockLinked)
1183 if (dctxPtr->frameInfo.blockMode == blockLinked)
1205 if (dctxPtr->frameInfo.contentChecksumFlag) XXH32_update(&(dctxPtr->xxh), dctxPtr->tmpOut, decodedSize);
1219 if (dctxPtr->frameInfo.blockMode==blockLinked)
1238 size_t suffixSize = dctxPtr->frameInfo.contentChecksumFlag * 4;
1290 if ( (dctxPtr->frameInfo.blockMode==blockLinked)