Searched refs:maxBlockSize (Results 1 – 2 of 2) sorted by relevance
456 LZ4LIB_API int LZ4_decoderRingBufferSize(int maxBlockSize);457 #define LZ4_DECODER_RING_BUFFER_SIZE(maxBlockSize) (65536 + 14 + (maxBlockSize)) /* for static all… argument
2544 int LZ4_decoderRingBufferSize(int maxBlockSize) in LZ4_decoderRingBufferSize() argument2546 if (maxBlockSize < 0) return 0; in LZ4_decoderRingBufferSize()2547 if (maxBlockSize > LZ4_MAX_INPUT_SIZE) return 0; in LZ4_decoderRingBufferSize()2548 if (maxBlockSize < 16) maxBlockSize = 16; in LZ4_decoderRingBufferSize()2549 return LZ4_DECODER_RING_BUFFER_SIZE(maxBlockSize); in LZ4_decoderRingBufferSize()