Searched refs:blockSizeID (Results 1 – 6 of 6) sorted by relevance
224 static size_t LZ4F_getBlockSize(unsigned blockSizeID) in LZ4F_getBlockSize() argument228 if (blockSizeID == 0) blockSizeID = LZ4F_BLOCKSIZEID_DEFAULT; in LZ4F_getBlockSize()229 blockSizeID -= 4; in LZ4F_getBlockSize()230 if (blockSizeID > 3) return err0r(LZ4F_ERROR_maxBlockSize_invalid); in LZ4F_getBlockSize()231 return blockSizes[blockSizeID]; in LZ4F_getBlockSize()270 LZ4F_blockSizeID_t const bid = prefsPtr->frameInfo.blockSizeID; in LZ4F_compressBound_internal()337 prefs.frameInfo.blockSizeID = LZ4F_optimalBSID(prefs.frameInfo.blockSizeID, srcSize); in LZ4F_compressFrame()339 if (srcSize <= LZ4F_getBlockSize(prefs.frameInfo.blockSizeID)) in LZ4F_compressFrame()439 …if (cctxPtr->prefs.frameInfo.blockSizeID == 0) cctxPtr->prefs.frameInfo.blockSizeID = LZ4F_BLOCKSI… in LZ4F_compressBegin()440 cctxPtr->maxBlockSize = LZ4F_getBlockSize(cctxPtr->prefs.frameInfo.blockSizeID); in LZ4F_compressBegin()[all …]
138 …LZ4F_blockSizeID_t blockSizeID; /* max64KB, max256KB, max1MB, max4MB ; 0 == default … member
77 size_t LZ4IO_setBlockSizeID(unsigned blockSizeID);
463 prefs.frameInfo.blockSizeID = (LZ4F_blockSizeID_t)g_blockSizeId; in LZ4IO_compressFilename_extRess()
322 prefs.frameInfo.blockSizeID = LZ4F_max64KB; in basicTests()335 prefs.frameInfo.blockSizeID = LZ4F_max256KB; in basicTests()382 prefs.frameInfo.blockSizeID = LZ4F_max1MB; in basicTests()395 prefs.frameInfo.blockSizeID = LZ4F_max4MB; in basicTests()609 prefs.frameInfo.blockSizeID = (LZ4F_blockSizeID_t)(4 + (FUZ_rand(&randState) & 3)); in fuzzerTests()
118 switch (info->blockSizeID) { in get_block_size()