Home
last modified time | relevance | path

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

/external/pdfium/samples/fx_lpng/lpng_v163/
Dfx_pngwrite.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 …]
Dfx_pngrutil.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.c1398 png_set_compression_window_bits(png_structrp png_ptr, int window_bits) in png_set_compression_window_bits() argument
1409 if (window_bits > 15) in png_set_compression_window_bits()
1412 window_bits = 15; in png_set_compression_window_bits()
1415 else if (window_bits < 8) in png_set_compression_window_bits()
1418 window_bits = 8; in png_set_compression_window_bits()
1421 png_ptr->zlib_window_bits = window_bits; in png_set_compression_window_bits()
1480 png_set_text_compression_window_bits(png_structrp png_ptr, int window_bits) in png_set_text_compression_window_bits() argument
1485 if (window_bits > 15) in png_set_text_compression_window_bits()
1488 window_bits = 15; in png_set_text_compression_window_bits()
1491 else if (window_bits < 8) in png_set_text_compression_window_bits()
[all …]
Dpngrutil.c405 int window_bits; in png_inflate_claim() local
409 window_bits = 15; in png_inflate_claim()
412 window_bits = 0; in png_inflate_claim()
414 # define window_bits 0 in png_inflate_claim() macro
431 ret = inflateReset2(&png_ptr->zstream, window_bits); in png_inflate_claim()
440 ret = inflateInit2(&png_ptr->zstream, window_bits); in png_inflate_claim()
456 # ifdef window_bits in png_inflate_claim()
457 # undef window_bits in png_inflate_claim()
Dpng.h1671 int window_bits));
1692 (png_structrp png_ptr, int window_bits));
Dlibpng-manual.txt4320 window_bits);
4340 window_bits);
DCHANGES487 Added a check in pngwrite.c to detect invalid small window_bits sizes.
/external/libpng/contrib/tools/
Dpngfix.c2030 int window_bits; /* 0 if no change */ member
2164 zlib_reset(struct zlib *zlib, int window_bits) in zlib_reset() argument
2174 zlib->window_bits = window_bits; in zlib_reset()
2191 int window_bits, png_uint_32 offset) in zlib_init() argument
2210 zlib->window_bits = window_bits; in zlib_init()
2296 int new_bits = zlib->window_bits; in zlib_advance()
2304 zlib->window_bits = file_bits; in zlib_advance()
2328 if (zlib->file_bits == zlib->window_bits) in zlib_advance()
2448 if (endrc == ZLIB_STREAM_END && zlib->window_bits < zlib->ok_bits) in zlib_advance()
2459 if (zlib->window_bits != zlib->file_bits || zlib->cksum) in zlib_advance()
[all …]