Searched refs:window_bits (Results 1 – 9 of 9) sorted by relevance
/external/pdfium/samples/fx_lpng/lpng_v163/ |
D | fx_pngwrite.c | 1332 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 …]
|
D | fx_pngrutil.c | 373 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()
|
D | png.h | 1980 int window_bits)); 2001 (png_structrp png_ptr, int window_bits));
|
/external/libpng/ |
D | pngwrite.c | 1398 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 …]
|
D | pngrutil.c | 405 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()
|
D | png.h | 1671 int window_bits)); 1692 (png_structrp png_ptr, int window_bits));
|
D | libpng-manual.txt | 4320 window_bits); 4340 window_bits);
|
D | CHANGES | 487 Added a check in pngwrite.c to detect invalid small window_bits sizes.
|
/external/libpng/contrib/tools/ |
D | pngfix.c | 2030 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 …]
|