/third_party/ffmpeg/tools/ |
H A D | cws2fws.c | 32 z_stream zstream; in main() local 81 zstream.zalloc = NULL; in main() 82 zstream.zfree = NULL; in main() 83 zstream.opaque = NULL; in main() 84 if (inflateInit(&zstream) != Z_OK) { in main() 94 inflateEnd(&zstream); in main() 100 last_out = zstream.total_out; in main() 102 zstream.next_in = &buf_in[0]; in main() 103 zstream.avail_in = len; in main() 104 zstream in main() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | zlib_wrapper.c | 43 z_stream *const zstream = &z->zstream; in ff_inflate_init() local 47 zstream->next_in = Z_NULL; in ff_inflate_init() 48 zstream->avail_in = 0; in ff_inflate_init() 49 zstream->zalloc = alloc_wrapper; in ff_inflate_init() 50 zstream->zfree = free_wrapper; in ff_inflate_init() 51 zstream->opaque = Z_NULL; in ff_inflate_init() 53 zret = inflateInit(zstream); in ff_inflate_init() 58 zret, zstream->msg ? zstream in ff_inflate_init() 76 z_stream *const zstream = &z->zstream; ff_deflate_init() local [all...] |
H A D | lclenc.c | 64 FFZStream zstream; member 71 z_stream *const zstream = &c->zstream.zstream; in encode_frame() local 74 int max_size = deflateBound(zstream, avctx->width * avctx->height * 3); in encode_frame() 84 zret = deflateReset(zstream); in encode_frame() 89 zstream->next_out = pkt->data; in encode_frame() 90 zstream->avail_out = pkt->size; in encode_frame() 93 zstream->next_in = p->data[0] + p->linesize[0] * i; in encode_frame() 94 zstream in encode_frame() [all...] |
H A D | flashsv.c | 72 FFZStream zstream; member 112 ff_inflate_end(&s->zstream); in flashsv_decode_end() 134 return ff_inflate_init(&s->zstream, avctx); in flashsv_decode_init() 141 z_stream *const zstream = &s->zstream.zstream; in flashsv2_prime() local 148 zstream->next_in = src; in flashsv2_prime() 149 zstream->avail_in = size; in flashsv2_prime() 150 zstream->next_out = data; in flashsv2_prime() 151 zstream in flashsv2_prime() 207 z_stream *const zstream = &s->zstream.zstream; flashsv_decode_block() local [all...] |
H A D | zerocodec.c | 29 FFZStream zstream; member 37 z_stream *const zstream = &zc->zstream.zstream; in zerocodec_decode_frame() local 57 zret = inflateReset(zstream); in zerocodec_decode_frame() 66 zstream->next_in = avpkt->data; in zerocodec_decode_frame() 67 zstream->avail_in = avpkt->size; in zerocodec_decode_frame() 77 zstream->next_out = dst; in zerocodec_decode_frame() 78 zstream->avail_out = avctx->width << 1; in zerocodec_decode_frame() 80 zret = inflate(zstream, Z_SYNC_FLUS in zerocodec_decode_frame() [all...] |
H A D | lscrdec.c | 57 FFZStream zstream; member 76 static int decode_idat(LSCRContext *s, z_stream *zstream, int length) in decode_idat() argument 79 zstream->avail_in = FFMIN(length, bytestream2_get_bytes_left(&s->gb)); in decode_idat() 80 zstream->next_in = s->gb.buffer; in decode_idat() 88 while (zstream->avail_in > 0) { in decode_idat() 89 ret = inflate(zstream, Z_PARTIAL_FLUSH); in decode_idat() 94 if (zstream->avail_out == 0) { in decode_idat() 98 zstream->avail_out = s->crow_size; in decode_idat() 99 zstream->next_out = s->crow_buf; in decode_idat() 101 if (ret == Z_STREAM_END && zstream in decode_idat() 135 z_stream *const zstream = &s->zstream.zstream; decode_frame_lscr() local [all...] |
H A D | wcmv.c | 39 FFZStream zstream; member 48 z_stream *const zstream = &s->zstream.zstream; in decode_frame() local 53 ret = inflateReset(zstream); in decode_frame() 82 zstream->next_in = avpkt->data + skip; in decode_frame() 83 zstream->avail_in = size; in decode_frame() 84 zstream->next_out = s->block_data; in decode_frame() 85 zstream->avail_out = sizeof(s->block_data); in decode_frame() 87 zret = inflate(zstream, Z_FINIS in decode_frame() [all...] |
H A D | tscc.c | 62 FFZStream zstream; member 73 z_stream *const zstream = &c->zstream.zstream; in decode_frame() local 82 ret = inflateReset(zstream); in decode_frame() 87 zstream->next_in = buf; in decode_frame() 88 zstream->avail_in = buf_size; in decode_frame() 89 zstream->next_out = c->decomp_buf; in decode_frame() 90 zstream->avail_out = c->decomp_size; in decode_frame() 91 ret = inflate(zstream, Z_FINIS in decode_frame() [all...] |
H A D | mwsc.c | 39 FFZStream zstream; member 94 z_stream *const zstream = &s->zstream.zstream; in decode_frame() local 102 ret = inflateReset(zstream); in decode_frame() 107 zstream->next_in = buf; in decode_frame() 108 zstream->avail_in = buf_size; in decode_frame() 109 zstream->next_out = s->decomp_buf; in decode_frame() 110 zstream->avail_out = s->decomp_size; in decode_frame() 111 ret = inflate(zstream, Z_FINIS in decode_frame() [all...] |
H A D | mscc.c | 41 FFZStream zstream; member 136 z_stream *const zstream = &s->zstream.zstream; in decode_frame() local 164 ret = inflateReset(zstream); in decode_frame() 169 zstream->next_out = s->decomp_buf; in decode_frame() 170 zstream->avail_out = s->decomp_size; in decode_frame() 174 zstream->next_in = &start; in decode_frame() 175 zstream->avail_in = 1; in decode_frame() 176 ret = inflate(zstream, Z_NO_FLUS in decode_frame() [all...] |
H A D | zlib_wrapper.h | 28 z_stream zstream; member 36 * in any case, it sets zstream->inited to indicate whether inflateInit() 40 int ff_inflate_init(FFZStream *zstream, void *logctx); 44 * zstream->inited is set and resets zstream->inited. 49 void ff_inflate_end(FFZStream *zstream); 54 int ff_deflate_init(FFZStream *zstream, int level, void *logctx); 59 void ff_deflate_end(FFZStream *zstream);
|
H A D | mvha.c | 48 FFZStream zstream; member 171 z_stream *const zstream = &s->zstream.zstream; in decode_frame() local 172 ret = inflateReset(zstream); in decode_frame() 178 zstream->next_in = avpkt->data + 8; in decode_frame() 179 zstream->avail_in = avpkt->size - 8; in decode_frame() 183 zstream->next_out = frame->data[p] + (avctx->height - y - 1) * frame->linesize[p]; in decode_frame() 184 zstream->avail_out = avctx->width >> (p > 0); in decode_frame() 186 ret = inflate(zstream, Z_SYNC_FLUS in decode_frame() [all...] |
H A D | pngenc.c | 60 FFZStream zstream; member 277 z_stream *const zstream = &s->zstream.zstream; in png_write_row() local 280 zstream->avail_in = size; in png_write_row() 281 zstream->next_in = data; in png_write_row() 282 while (zstream->avail_in > 0) { in png_write_row() 283 ret = deflate(zstream, Z_NO_FLUSH); in png_write_row() 286 if (zstream->avail_out == 0) { in png_write_row() 289 zstream in png_write_row() 351 z_stream *const zstream = &s->zstream.zstream; png_write_iccp() local 485 z_stream *const zstream = &s->zstream.zstream; encode_frame() local [all...] |
H A D | zmbvenc.c | 78 FFZStream zstream; member 172 z_stream *const zstream = &c->zstream.zstream; in encode_frame() local 266 deflateReset(zstream); in encode_frame() 268 zstream->next_in = c->work_buf; in encode_frame() 269 zstream->avail_in = work_size; in encode_frame() 270 zstream->total_in = 0; in encode_frame() 272 zstream->next_out = c->comp_buf; in encode_frame() 273 zstream in encode_frame() [all...] |
H A D | rasc.c | 66 FFZStream zstream; member 179 z_stream *const zstream = &s->zstream.zstream; in decode_zlib() local 183 zret = inflateReset(zstream); in decode_zlib() 193 zstream->next_in = avpkt->data + bytestream2_tell(gb); in decode_zlib() 194 zstream->avail_in = FFMIN(size, bytestream2_get_bytes_left(gb)); in decode_zlib() 196 zstream->next_out = s->delta; in decode_zlib() 197 zstream->avail_out = s->delta_size; in decode_zlib() 199 zret = inflate(zstream, Z_FINIS in decode_zlib() 479 z_stream *const zstream = &s->zstream.zstream; decode_kfrm() local [all...] |
H A D | lcldec.c | 70 FFZStream zstream; member 137 z_stream *const zstream = &c->zstream.zstream; in zlib_decomp() local 138 int zret = inflateReset(zstream); in zlib_decomp() 143 zstream->next_in = src; in zlib_decomp() 144 zstream->avail_in = src_len; in zlib_decomp() 145 zstream->next_out = c->decomp_buf + offset; in zlib_decomp() 146 zstream->avail_out = c->decomp_size - offset; in zlib_decomp() 147 zret = inflate(zstream, Z_FINIS in zlib_decomp() [all...] |
H A D | flashsv2enc.c | 116 FFZStream zstream; member 141 ff_deflate_end(&s->zstream); in cleanup() 240 ret = ff_deflate_init(&s->zstream, s->comp, avctx); in flashsv2_encode_init() 366 z_stream *zstream) in encode_zlib() 370 if (deflateReset(zstream) != Z_OK) in encode_zlib() 372 zstream->next_out = buf; in encode_zlib() 373 zstream->avail_out = *buf_size; in encode_zlib() 374 zstream->next_in = b->sl_begin; in encode_zlib() 375 zstream->avail_in = b->sl_end - b->sl_begin; in encode_zlib() 376 res = deflate(zstream, Z_FINIS in encode_zlib() 365 encode_zlib(Block *b, uint8_t *buf, unsigned long *buf_size, z_stream *zstream) encode_zlib() argument 383 encode_zlibprime(Block * b, Block * prime, uint8_t * buf, int *buf_size, z_stream *zstream) encode_zlibprime() argument [all...] |
H A D | pngdec.c | 107 FFZStream zstream; member 429 z_stream *const zstream = &s->zstream.zstream; in png_decode_idat() local 431 zstream->avail_in = bytestream2_get_bytes_left(gb); in png_decode_idat() 432 zstream->next_in = gb->buffer; in png_decode_idat() 435 while (zstream->avail_in > 0) { in png_decode_idat() 436 ret = inflate(zstream, Z_PARTIAL_FLUSH); in png_decode_idat() 441 if (zstream->avail_out == 0) { in png_decode_idat() 445 zstream in png_decode_idat() 461 z_stream *const zstream = &z.zstream; decode_zbuf() local [all...] |
H A D | zmbv.c | 75 FFZStream zstream; member 497 zret = inflateReset(&c->zstream.zstream); in decode_frame() 540 z_stream *const zstream = &c->zstream.zstream; in decode_frame() local 542 zstream->total_in = zstream->total_out = 0; in decode_frame() 543 zstream->next_in = buf; in decode_frame() 544 zstream in decode_frame() [all...] |
/third_party/skia/third_party/externals/freetype/src/gzip/ |
H A D | ftgzip.c | 186 z_stream zstream; /* zlib input stream */ member 288 z_stream* zstream = &zip->zstream; in ft_gzip_file_init() local 312 zstream->zalloc = ft_gzip_alloc; in ft_gzip_file_init() 313 zstream->zfree = ft_gzip_free; in ft_gzip_file_init() 314 zstream->opaque = stream->memory; in ft_gzip_file_init() 316 zstream->avail_in = 0; in ft_gzip_file_init() 317 zstream->next_in = zip->buffer; in ft_gzip_file_init() 319 if ( inflateInit2( zstream, -MAX_WBITS ) != Z_OK || in ft_gzip_file_init() 320 !zstream in ft_gzip_file_init() 331 z_stream* zstream = &zip->zstream; ft_gzip_file_done() local 360 z_stream* zstream = &zip->zstream; ft_gzip_file_reset() local 382 z_stream* zstream = &zip->zstream; ft_gzip_file_fill_input() local 423 z_stream* zstream = &zip->zstream; ft_gzip_file_fill_output() local [all...] |
/third_party/mesa3d/src/intel/tools/ |
H A D | error2aub.c | 47 struct z_stream_s zstream; in zlib_inflate() local 51 memset(&zstream, 0, sizeof(zstream)); in zlib_inflate() 53 zstream.next_in = (unsigned char *)*ptr; in zlib_inflate() 54 zstream.avail_in = 4*len; in zlib_inflate() 56 if (inflateInit(&zstream) != Z_OK) in zlib_inflate() 60 zstream.next_out = out; in zlib_inflate() 61 zstream.avail_out = out_size; in zlib_inflate() 64 switch (inflate(&zstream, Z_SYNC_FLUSH)) { in zlib_inflate() 70 inflateEnd(&zstream); in zlib_inflate() [all...] |
H A D | aubinator_error_decode.c | 298 struct z_stream_s zstream; in zlib_inflate() local 302 memset(&zstream, 0, sizeof(zstream)); in zlib_inflate() 304 zstream.next_in = (unsigned char *)*ptr; in zlib_inflate() 305 zstream.avail_in = 4*len; in zlib_inflate() 307 if (inflateInit(&zstream) != Z_OK) in zlib_inflate() 311 zstream.next_out = out; in zlib_inflate() 312 zstream.avail_out = out_size; in zlib_inflate() 315 switch (inflate(&zstream, Z_SYNC_FLUSH)) { in zlib_inflate() 321 inflateEnd(&zstream); in zlib_inflate() [all...] |
/third_party/skia/third_party/externals/libpng/ |
H A D | pngwutil.c | 304 /* So the message that results is "<chunk> using zstream"; this is an in png_deflate_claim() 308 (void)png_safecat(msg, (sizeof msg), 10, " using zstream"); in png_deflate_claim() 316 png_ptr->zstream.msg = PNGZ_MSG_CAST("in use by IDAT"); in png_deflate_claim() 395 if (deflateEnd(&png_ptr->zstream) != Z_OK) in png_deflate_claim() 404 png_ptr->zstream.next_in = NULL; in png_deflate_claim() 405 png_ptr->zstream.avail_in = 0; in png_deflate_claim() 406 png_ptr->zstream.next_out = NULL; in png_deflate_claim() 407 png_ptr->zstream.avail_out = 0; in png_deflate_claim() 413 ret = deflateReset(&png_ptr->zstream); in png_deflate_claim() 417 ret = deflateInit2(&png_ptr->zstream, leve in png_deflate_claim() [all...] |
H A D | pngrutil.c | 335 /* png_inflate_claim: claim the zstream for some nefarious purpose that involves 348 /* So the message that results is "<chunk> using zstream"; this is an in png_inflate_claim() 352 (void)png_safecat(msg, (sizeof msg), 4, " using zstream"); in png_inflate_claim() 398 png_ptr->zstream.next_in = NULL; in png_inflate_claim() 399 png_ptr->zstream.avail_in = 0; in png_inflate_claim() 400 png_ptr->zstream.next_out = NULL; in png_inflate_claim() 401 png_ptr->zstream.avail_out = 0; in png_inflate_claim() 406 ret = inflateReset2(&png_ptr->zstream, window_bits); in png_inflate_claim() 408 ret = inflateReset(&png_ptr->zstream); in png_inflate_claim() 415 ret = inflateInit2(&png_ptr->zstream, window_bit in png_inflate_claim() [all...] |
/third_party/protobuf/src/google/protobuf/util/ |
H A D | delimited_message_util_test.cc | 62 io::IstreamInputStream zstream(&stream); in TEST() 67 &zstream, &clean_eof)); in TEST() 74 &zstream, &clean_eof)); in TEST() 80 &zstream, &clean_eof)); in TEST()
|