Home
last modified time | relevance | path

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

/external/opencv3/3rdparty/libpng/
Dpngwrite.c1435 png_set_compression_window_bits(png_structp png_ptr, int window_bits) in png_set_compression_window_bits() argument
1440 if (window_bits > 15) in png_set_compression_window_bits()
1443 else if (window_bits < 8) in png_set_compression_window_bits()
1448 if (window_bits == 8) in png_set_compression_window_bits()
1451 window_bits = 9; in png_set_compression_window_bits()
1456 png_ptr->zlib_window_bits = window_bits; in png_set_compression_window_bits()
1516 png_set_text_compression_window_bits(png_structp png_ptr, int window_bits) in png_set_text_compression_window_bits() argument
1521 if (window_bits > 15) in png_set_text_compression_window_bits()
1524 else if (window_bits < 8) in png_set_text_compression_window_bits()
1529 if (window_bits == 8) in png_set_text_compression_window_bits()
[all …]
Dpngmem.c190 int i, mem_level, window_bits; variable
192 int window_bits
200 window_bits =
204 if (window_bits > 14)
205 num_blocks = (int)(1 << (window_bits - 14));
Dpng.h1706 int window_bits));
1727 png_ptr, int window_bits));
DCHANGES487 Added a check in pngwrite.c to detect invalid small window_bits sizes.
/external/pdfium/third_party/lpng_v163/
Dpngwrite.c1332 png_set_compression_window_bits(png_structrp png_ptr, int window_bits) in png_set_compression_window_bits() argument
1343 if (window_bits > 15) in png_set_compression_window_bits()
1346 window_bits = 15; in png_set_compression_window_bits()
1349 else if (window_bits < 8) in png_set_compression_window_bits()
1352 window_bits = 8; in png_set_compression_window_bits()
1355 png_ptr->zlib_window_bits = window_bits; in png_set_compression_window_bits()
1414 png_set_text_compression_window_bits(png_structrp png_ptr, int window_bits) in png_set_text_compression_window_bits() argument
1419 if (window_bits > 15) in png_set_text_compression_window_bits()
1422 window_bits = 15; in png_set_text_compression_window_bits()
1425 else if (window_bits < 8) in png_set_text_compression_window_bits()
[all …]
Dpngrutil.c373 int window_bits; in png_inflate_claim() local
377 window_bits = 15; in png_inflate_claim()
380 window_bits = 0; in png_inflate_claim()
382 # define window_bits 0 in png_inflate_claim() macro
399 ret = inflateReset2(&png_ptr->zstream, window_bits); in png_inflate_claim()
408 ret = inflateInit2(&png_ptr->zstream, window_bits); in png_inflate_claim()
424 # ifdef window_bits in png_inflate_claim()
425 # undef window_bits in png_inflate_claim()
Dpng.h1980 int window_bits));
2001 (png_structrp png_ptr, int window_bits));
/external/libpng/
Dpngwrite.c1186 png_set_compression_window_bits(png_structrp png_ptr, int window_bits) in png_set_compression_window_bits() argument
1197 if (window_bits > 15) in png_set_compression_window_bits()
1200 window_bits = 15; in png_set_compression_window_bits()
1203 else if (window_bits < 8) in png_set_compression_window_bits()
1206 window_bits = 8; in png_set_compression_window_bits()
1209 png_ptr->zlib_window_bits = window_bits; in png_set_compression_window_bits()
1269 png_set_text_compression_window_bits(png_structrp png_ptr, int window_bits) in png_set_text_compression_window_bits() argument
1274 if (window_bits > 15) in png_set_text_compression_window_bits()
1277 window_bits = 15; in png_set_text_compression_window_bits()
1280 else if (window_bits < 8) in png_set_text_compression_window_bits()
[all …]
Dpngrutil.c376 int window_bits; in png_inflate_claim() local
381 window_bits = 15; in png_inflate_claim()
387 window_bits = 0; in png_inflate_claim()
391 # define window_bits 0 in png_inflate_claim() macro
408 ret = inflateReset2(&png_ptr->zstream, window_bits); in png_inflate_claim()
417 ret = inflateInit2(&png_ptr->zstream, window_bits); in png_inflate_claim()
433 #ifdef window_bits in png_inflate_claim()
434 # undef window_bits in png_inflate_claim()
Dpng.h1556 int window_bits));
1577 (png_structrp png_ptr, int window_bits));
Dlibpng-manual.txt4349 window_bits);
4371 window_bits);
DCHANGES494 Added a check in pngwrite.c to detect invalid small window_bits sizes.
5434 the allowed values but then assumed that window_bits was in range,
/external/libpng/contrib/tools/
Dpngfix.c2036 int window_bits; /* 0 if no change */ member
2170 zlib_reset(struct zlib *zlib, int window_bits) in zlib_reset() argument
2180 zlib->window_bits = window_bits; in zlib_reset()
2197 int window_bits, png_uint_32 offset) in zlib_init() argument
2216 zlib->window_bits = window_bits; in zlib_init()
2302 int new_bits = zlib->window_bits; in zlib_advance()
2312 zlib->window_bits = ((file_bits > 15) ? 15 : file_bits); in zlib_advance()
2335 if (zlib->file_bits == zlib->window_bits) in zlib_advance()
2455 if (endrc == ZLIB_STREAM_END && zlib->window_bits < zlib->ok_bits) in zlib_advance()
2466 if (zlib->window_bits != zlib->file_bits || zlib->cksum) in zlib_advance()
[all …]