Searched refs:windowBits (Results 1 - 4 of 4) sorted by relevance

/linux-master/include/linux/
H A Dzlib.h182 extern int zlib_deflate_workspacesize (int windowBits, int memLevel);
188 zlib_deflateInit(), specify windowBits = MAX_WBITS and memLevel =
189 MAX_MEM_LEVEL here. If you call zlib_deflateInit2(), the windowBits
463 int windowBits,
474 The windowBits parameter is the base two logarithm of the window size
484 usage as a function of windowBits and memLevel.
520 extern int inflateInit2 (z_streamp strm, int windowBits);
526 The windowBits parameter is the base two logarithm of the maximum window
529 instead. windowBits must be greater than or equal to the windowBits valu
[all...]
/linux-master/lib/zlib_deflate/
H A Ddefutil.h244 #define zlib_deflate_window_memsize(windowBits) \
245 (2 * (1 << (windowBits)) * sizeof(Byte) + PAGE_SIZE)
247 #define zlib_deflate_window_memsize(windowBits) \
248 (2 * (1 << (windowBits)) * sizeof(Byte))
250 #define zlib_deflate_prev_memsize(windowBits) \
251 ((1 << (windowBits)) * sizeof(Pos))
H A Ddeflate.c192 int windowBits,
215 if (windowBits < 0) { /* undocumented feature: suppress zlib header */
217 windowBits = -windowBits;
220 windowBits < 9 || windowBits > 15 || level < 0 || level > 9 ||
240 next += zlib_deflate_window_memsize(windowBits);
242 next += zlib_deflate_prev_memsize(windowBits);
252 s->w_bits = windowBits;
1134 int zlib_deflate_workspacesize(int windowBits, in argument
188 zlib_deflateInit2( z_streamp strm, int level, int method, int windowBits, int memLevel, int strategy ) argument
[all...]
/linux-master/lib/zlib_inflate/
H A Dinflate.c59 int zlib_inflateInit2(z_streamp strm, int windowBits) argument
69 if (windowBits < 0) {
71 windowBits = -windowBits;
74 state->wrap = (windowBits >> 4) + 1;
76 if (windowBits < 8 || windowBits > 15) {
79 state->wbits = (unsigned)windowBits;

Completed in 115 milliseconds