Searched refs:windowSize (Results 1 - 3 of 3) sorted by relevance

/u-boot/lib/zstd/decompress/
H A Dzstd_decompress.c460 U64 windowSize = 0; local
470 windowSize = (1ULL << windowLog);
471 windowSize += (windowSize >> 3) * (wlByte&7);
493 if (singleSegment) windowSize = frameContentSize;
497 zfhPtr->windowSize = windowSize;
498 zfhPtr->blockSizeMax = (unsigned) MIN(windowSize, ZSTD_BLOCKSIZE_MAX);
1611 * since this version sets windowSize, and the other sets windowLog */
1754 size_t ZSTD_decodingBufferSize_min(unsigned long long windowSize, unsigne argument
1766 ZSTD_estimateDStreamSize(size_t windowSize) argument
[all...]
H A Dzstd_decompress_block.c1274 size_t const windowSize = dctx->fParams.windowSize; local
1282 if ((size_t)(oLitEnd - prefixStart) >= windowSize) return 0;
1294 size_t const windowSize = dctx->fParams.windowSize; local
1306 assert(seq.offset <= windowSize + dictSize);
1309 assert(seq.offset <= windowSize);
1989 ZSTD_longOffset_e const isLongOffset = (ZSTD_longOffset_e)(MEM_32bits() && (!frame || (dctx->fParams.windowSize > (1ULL << STREAM_ACCUMULATOR_MIN))));
2023 && (!frame || (dctx->fParams.windowSize > (1<<24)))
/u-boot/include/linux/
H A Dzstd_lib.h1506 ZSTDLIB_STATIC_API size_t ZSTD_estimateDStreamSize(size_t windowSize);
1716 /* Force back-reference distances to remain < windowSize,
2414 such as the dictionary ID, content size, or maximum back-reference distance (`windowSize`).
2417 For example, do not allocate memory blindly, check that `windowSize` is within expectation.
2419 For extended interoperability, it is recommended to support `windowSize` of at least 8 MB.
2421 ZSTD_decompressContinue() needs previous data blocks during decompression, up to `windowSize` bytes.
2436 There are alternatives possible, for example using two or more buffers of size `windowSize` each, though they consume more memory.
2475 unsigned long long windowSize; /* can be very large, up to <= frameContentSize */ member in struct:__anon131
2493 ZSTDLIB_STATIC_API size_t ZSTD_decodingBufferSize_min(unsigned long long windowSize, unsigned long long frameContentSize); /*< when frame content size is not known, pass in frameContentSize == ZSTD_CONTENTSIZE_UNKNOWN */

Completed in 71 milliseconds