Home
last modified time | relevance | path

Searched refs:zret (Results 1 – 14 of 14) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dlclenc.c70 int zret; // Zlib return code in encode_frame() local
81 zret = deflateReset(&c->zstream); in encode_frame()
82 if (zret != Z_OK) { in encode_frame()
83 av_log(avctx, AV_LOG_ERROR, "Deflate reset error: %d\n", zret); in encode_frame()
92 zret = deflate(&c->zstream, Z_NO_FLUSH); in encode_frame()
93 if (zret != Z_OK) { in encode_frame()
94 av_log(avctx, AV_LOG_ERROR, "Deflate error: %d\n", zret); in encode_frame()
98 zret = deflate(&c->zstream, Z_FINISH); in encode_frame()
99 if (zret != Z_STREAM_END) { in encode_frame()
100 av_log(avctx, AV_LOG_ERROR, "Deflate error: %d\n", zret); in encode_frame()
[all …]
Dzerocodec.c39 int i, j, zret, ret; in zerocodec_decode_frame() local
56 zret = inflateReset(zstream); in zerocodec_decode_frame()
57 if (zret != Z_OK) { in zerocodec_decode_frame()
58 av_log(avctx, AV_LOG_ERROR, "Could not reset inflate: %d.\n", zret); in zerocodec_decode_frame()
79 zret = inflate(zstream, Z_SYNC_FLUSH); in zerocodec_decode_frame()
80 if (zret != Z_OK && zret != Z_STREAM_END) { in zerocodec_decode_frame()
82 "Inflate failed with return code: %d.\n", zret); in zerocodec_decode_frame()
118 int zret; in zerocodec_decode_init() local
127 zret = inflateInit(zstream); in zerocodec_decode_init()
128 if (zret != Z_OK) { in zerocodec_decode_init()
[all …]
Dwcmv.c48 int skip, blocks, zret, ret, intra = 0, flags = 0, bpp = s->bpp; in decode_frame() local
86 zret = inflate(&s->zstream, Z_FINISH); in decode_frame()
87 if (zret != Z_STREAM_END) { in decode_frame()
89 "Inflate failed with return code: %d.\n", zret); in decode_frame()
188 zret = inflate(&s->zstream, Z_SYNC_FLUSH); in decode_frame()
189 if (zret != Z_OK && zret != Z_STREAM_END) { in decode_frame()
191 "Inflate failed with return code: %d.\n", zret); in decode_frame()
213 int zret; in decode_init() local
229 zret = inflateInit(&s->zstream); in decode_init()
230 if (zret != Z_OK) { in decode_init()
[all …]
Drasc.c179 int zret; in decode_zlib() local
181 zret = inflateReset(&s->zstream); in decode_zlib()
182 if (zret != Z_OK) { in decode_zlib()
183 av_log(avctx, AV_LOG_ERROR, "Inflate reset error: %d\n", zret); in decode_zlib()
197 zret = inflate(&s->zstream, Z_FINISH); in decode_zlib()
198 if (zret != Z_STREAM_END) { in decode_zlib()
200 "Inflate failed with return code: %d.\n", zret); in decode_zlib()
480 int zret, ret; in decode_kfrm() local
492 zret = inflateReset(&s->zstream); in decode_kfrm()
493 if (zret != Z_OK) { in decode_kfrm()
[all …]
Dlcldec.c134 int zret = inflateReset(&c->zstream); in zlib_decomp() local
135 if (zret != Z_OK) { in zlib_decomp()
136 av_log(avctx, AV_LOG_ERROR, "Inflate reset error: %d\n", zret); in zlib_decomp()
143 zret = inflate(&c->zstream, Z_FINISH); in zlib_decomp()
144 if (zret != Z_OK && zret != Z_STREAM_END) { in zlib_decomp()
145 av_log(avctx, AV_LOG_ERROR, "Inflate error: %d\n", zret); in zlib_decomp()
611 int zret; in decode_init() local
615 zret = inflateInit(&c->zstream); in decode_init()
616 if (zret != Z_OK) { in decode_init()
617 av_log(avctx, AV_LOG_ERROR, "Inflate init error: %d\n", zret); in decode_init()
Dtscc.c132 int zret; // Zlib return code in decode_init() local
165 zret = inflateInit(&c->zstream); in decode_init()
166 if (zret != Z_OK) { in decode_init()
167 av_log(avctx, AV_LOG_ERROR, "Inflate init error: %d\n", zret); in decode_init()
Dzmbv.c417 int zret = Z_OK; // Zlib return code in decode_frame() local
495 zret = inflateReset(&c->zstream); in decode_frame()
496 if (zret != Z_OK) { in decode_frame()
497 av_log(avctx, AV_LOG_ERROR, "Inflate reset error: %d\n", zret); in decode_frame()
543 zret = inflate(&c->zstream, Z_SYNC_FLUSH); in decode_frame()
544 if (zret != Z_OK && zret != Z_STREAM_END) { in decode_frame()
545 av_log(avctx, AV_LOG_ERROR, "inflate error %d\n", zret); in decode_frame()
605 int zret; // Zlib return code in decode_init() local
635 zret = inflateInit(&c->zstream); in decode_init()
636 if (zret != Z_OK) { in decode_init()
[all …]
Dmwsc.c141 int zret; in decode_init() local
155 zret = inflateInit(&s->zstream); in decode_init()
156 if (zret != Z_OK) { in decode_init()
157 av_log(avctx, AV_LOG_ERROR, "Inflate init error: %d\n", zret); in decode_init()
Dmscc.c206 int stride, zret; in decode_init() local
232 zret = inflateInit(&s->zstream); in decode_init()
233 if (zret != Z_OK) { in decode_init()
234 av_log(avctx, AV_LOG_ERROR, "Inflate init error: %d\n", zret); in decode_init()
Dflashsv.c120 int zret; // Zlib return code in flashsv_decode_init() local
126 zret = inflateInit(&s->zstream); in flashsv_decode_init()
127 if (zret != Z_OK) { in flashsv_decode_init()
128 av_log(avctx, AV_LOG_ERROR, "Inflate init error: %d\n", zret); in flashsv_decode_init()
144 int zret; // Zlib return code in flashsv2_prime() local
168 if ((zret = inflateReset(&s->zstream)) != Z_OK) { in flashsv2_prime()
169 av_log(s->avctx, AV_LOG_ERROR, "Inflate reset error: %d\n", zret); in flashsv2_prime()
Dmvha.c282 int zret; in decode_init() local
289 zret = inflateInit(&s->zstream); in decode_init()
290 if (zret != Z_OK) { in decode_init()
291 av_log(avctx, AV_LOG_ERROR, "Inflate init error: %d\n", zret); in decode_init()
Dzmbvenc.c325 int zret; // Zlib return code in encode_init() local
422 zret = deflateInit(&c->zstream, lvl); in encode_init()
423 if (zret != Z_OK) { in encode_init()
424 av_log(avctx, AV_LOG_ERROR, "Inflate init error: %d\n", zret); in encode_init()
Dtiff.c488 int zret; in tiff_uncompress() local
494 zret = inflateInit(&zstream); in tiff_uncompress()
495 if (zret != Z_OK) { in tiff_uncompress()
496 av_log(NULL, AV_LOG_ERROR, "Inflate init error: %d\n", zret); in tiff_uncompress()
497 return zret; in tiff_uncompress()
499 zret = inflate(&zstream, Z_SYNC_FLUSH); in tiff_uncompress()
502 return zret == Z_STREAM_END ? Z_OK : zret; in tiff_uncompress()
/third_party/FreeBSD/contrib/gdtoa/
Dgethex.c48 int big, esign, havedig, irv, j, k, n, n0, nbits, up, zret; local
79 zret = 0;
84 zret = 1;
101 zret = 0;
153 if (zret)