Lines Matching refs:zstream
107 FFZStream zstream;
429 z_stream *const zstream = &s->zstream.zstream;
431 zstream->avail_in = bytestream2_get_bytes_left(gb);
432 zstream->next_in = gb->buffer;
435 while (zstream->avail_in > 0) {
436 ret = inflate(zstream, Z_PARTIAL_FLUSH);
441 if (zstream->avail_out == 0) {
445 zstream->avail_out = s->crow_size;
446 zstream->next_out = s->crow_buf;
448 if (ret == Z_STREAM_END && zstream->avail_in > 0) {
450 "%d undecompressed bytes left in buffer\n", zstream->avail_in);
461 z_stream *const zstream = &z.zstream;
468 zstream->next_in = data;
469 zstream->avail_in = data_end - data;
472 while (zstream->avail_in > 0) {
478 zstream->next_out = buf;
479 zstream->avail_out = buf_size - 1;
480 ret = inflate(zstream, Z_PARTIAL_FLUSH);
485 bp->len += zstream->next_out - buf;
789 s->zstream.zstream.avail_out = s->crow_size;
790 s->zstream.zstream.next_out = s->crow_buf;
1557 ret = inflateReset(&s->zstream.zstream);
1601 if ((ret = inflateReset(&s->zstream.zstream)) != Z_OK)
1609 if ((ret = inflateReset(&s->zstream.zstream)) != Z_OK)
1696 return ff_inflate_init(&s->zstream, avctx);
1716 ff_inflate_end(&s->zstream);