Home | History | Annotate | Download | only in libpng

Lines Matching refs:zstream

160    png_ptr->zstream.zalloc = png_zalloc;
161 png_ptr->zstream.zfree = png_zfree;
162 png_ptr->zstream.opaque = (voidpf)png_ptr;
164 switch (inflateInit(&png_ptr->zstream))
176 png_ptr->zstream.next_out = png_ptr->zbuf;
177 png_ptr->zstream.avail_out = (uInt)png_ptr->zbuf_size;
326 png_ptr->zstream.zalloc = png_zalloc;
329 png_ptr->zstream.zalloc = png_zalloc;
330 png_ptr->zstream.zfree = png_zfree;
331 png_ptr->zstream.opaque = (voidpf)png_ptr;
333 switch (inflateInit(&png_ptr->zstream))
342 png_ptr->zstream.next_out = png_ptr->zbuf;
343 png_ptr->zstream.avail_out = (uInt)png_ptr->zbuf_size;
738 png_ptr->zstream.next_out = png_ptr->row_buf;
739 png_ptr->zstream.avail_out =
744 if (!(png_ptr->zstream.avail_in))
761 png_ptr->zstream.avail_in = (uInt)png_ptr->zbuf_size;
762 png_ptr->zstream.next_in = png_ptr->zbuf;
764 png_ptr->zstream.avail_in = (uInt)png_ptr->idat_size;
766 (png_size_t)png_ptr->zstream.avail_in);
767 png_ptr->idat_size -= png_ptr->zstream.avail_in;
769 ret = inflate(&png_ptr->zstream, Z_PARTIAL_FLUSH);
772 if (png_ptr->zstream.avail_out || png_ptr->zstream.avail_in ||
783 png_error(png_ptr, png_ptr->zstream.msg ? png_ptr->zstream.msg :
788 png_error(png_ptr, png_ptr->zstream.msg ? png_ptr->zstream.msg :
791 } while (png_ptr->zstream.avail_out);
963 inflateEnd(&png_ptr->zstream);
964 inflateCopy(&png_ptr->zstream, line_index->z_state);
971 png_ptr->zstream.avail_in = 0;
1039 inflateCopy(line_index->z_state, &png_ptr->zstream);
1044 line_index->bytes_left_in_idat = png_ptr->idat_size + png_ptr->zstream.avail_in;
1485 inflateEnd(&png_ptr->zstream);