Home
last modified time | relevance | path

Searched refs:requiredBuffSize (Results 1 – 1 of 1) sorted by relevance

/external/lz4/lib/
Dlz4frame.c418 size_t requiredBuffSize; in LZ4F_compressBegin() local
442requiredBuffSize = cctxPtr->maxBlockSize + ((cctxPtr->prefs.frameInfo.blockMode == LZ4F_blockLinke… in LZ4F_compressBegin()
444requiredBuffSize = (cctxPtr->prefs.frameInfo.blockMode == LZ4F_blockLinked) * 64 KB; /* just nee… in LZ4F_compressBegin()
446 if (cctxPtr->maxBufferSize < requiredBuffSize) { in LZ4F_compressBegin()
447 cctxPtr->maxBufferSize = requiredBuffSize; in LZ4F_compressBegin()
449 cctxPtr->tmpBuff = (BYTE*)ALLOCATOR(requiredBuffSize); in LZ4F_compressBegin()