/third_party/ffmpeg/libavcodec/ |
H A D | cscd.c | 38 unsigned char* decomp_buf; member 91 if (av_lzo1x_decode(c->decomp_buf, &outlen, &buf[2], &inlen) || (outlen && outlen != bugdelta)) { in decode_frame() 100 if (uncompress(c->decomp_buf, &dlen, &buf[2], buf_size - 2) != Z_OK || (dlen != c->decomp_size && dlen != c->decomp_size - bugdelta)) { in decode_frame() 119 copy_frame_default(c->pic, c->decomp_buf, in decode_frame() 124 add_frame_default(c->pic, c->decomp_buf, in decode_frame() 154 c->decomp_buf = av_malloc(c->decomp_size + AV_LZO_OUTPUT_PADDING); in decode_init() 155 if (!c->decomp_buf) { in decode_init() 168 av_freep(&c->decomp_buf); in decode_end()
|
H A D | zmbv.c | 64 uint8_t* decomp_buf; member 85 uint8_t *src = c->decomp_buf; in zmbv_decode_xor_8() 152 if (src - c->decomp_buf != c->decomp_len) in zmbv_decode_xor_8() 154 src-c->decomp_buf, c->decomp_len); in zmbv_decode_xor_8() 164 uint8_t *src = c->decomp_buf; in zmbv_decode_xor_16() 228 if (src - c->decomp_buf != c->decomp_len) in zmbv_decode_xor_16() 230 src-c->decomp_buf, c->decomp_len); in zmbv_decode_xor_16() 241 uint8_t *src = c->decomp_buf; in zmbv_decode_xor_24() 313 if (src - c->decomp_buf != c->decomp_len) in zmbv_decode_xor_24() 315 src-c->decomp_buf, in zmbv_decode_xor_24() [all...] |
H A D | nuv.c | 43 unsigned char *decomp_buf; member 139 av_fast_malloc(&c->decomp_buf, &c->decomp_size, in codec_reinit() 141 if (!c->decomp_buf) { in codec_reinit() 240 if (av_lzo1x_decode(c->decomp_buf, &outlen, buf, &inlen)) { in decode_frame() 244 buf = c->decomp_buf; in decode_frame() 246 memset(c->decomp_buf + buf_size, 0, AV_INPUT_BUFFER_PADDING_SIZE); in decode_frame() 337 c->decomp_buf = NULL; in decode_init() 359 av_freep(&c->decomp_buf); in decode_end()
|
H A D | tscc.c | 59 unsigned char* decomp_buf; member 89 zstream->next_out = c->decomp_buf; in decode_frame() 106 bytestream2_init(&c->gb, c->decomp_buf, in decode_frame() 149 if (!(c->decomp_buf = av_malloc(c->decomp_size))) { in decode_init() 166 av_freep(&c->decomp_buf); in decode_end()
|
H A D | mwsc.c | 37 uint8_t *decomp_buf; member 109 zstream->next_out = s->decomp_buf; in decode_frame() 120 bytestream2_init(&gb, s->decomp_buf, zstream->total_out); in decode_frame() 149 if (!(s->decomp_buf = av_malloc(s->decomp_size))) in decode_init() 164 av_freep(&s->decomp_buf); in decode_close()
|
H A D | lcldec.c | 68 unsigned char* decomp_buf; member 128 * @brief decompress a zlib-compressed data block into decomp_buf 131 * @param offset offset in decomp_buf 145 zstream->next_out = c->decomp_buf + offset; in zlib_decomp() 204 mszh_dlen = mszh_decomp(buf + 8, mthread_inlen, c->decomp_buf, c->decomp_size); in decode_frame() 211 c->decomp_buf + mthread_outlen, c->decomp_size - mthread_outlen); in decode_frame() 217 encoded = c->decomp_buf; in decode_frame() 220 mszh_dlen = mszh_decomp(buf, len, c->decomp_buf, c->decomp_size); in decode_frame() 226 encoded = c->decomp_buf; in decode_frame() 269 memcpy(c->decomp_buf, bu in decode_frame() [all...] |
H A D | dxa.c | 47 uint8_t *decomp_buf; member 239 srcptr = c->decomp_buf; in decode_frame() 251 if (uncompress(c->decomp_buf, &dsize, avpkt->data + bytestream2_tell(&gb), in decode_frame() 256 memset(c->decomp_buf + dsize, 0, DECOMP_BUF_PADDING); in decode_frame() 345 c->decomp_buf = av_malloc(c->dsize + DECOMP_BUF_PADDING); in decode_init() 346 if (!c->decomp_buf) { in decode_init() 358 av_freep(&c->decomp_buf); in decode_end()
|
H A D | mscc.c | 38 uint8_t *decomp_buf; member 169 zstream->next_out = s->decomp_buf; in decode_frame() 192 bytestream2_init(&gb, s->decomp_buf, zstream->total_out); in decode_frame() 231 if (!(s->decomp_buf = av_malloc(s->decomp_size))) in decode_init() 245 av_freep(&s->decomp_buf); in decode_close()
|
/third_party/skia/third_party/externals/zlib/contrib/tests/fuzzers/ |
H A D | streaming_inflate_fuzzer.cc | 53 uint8_t decomp_buf[1024]; in LLVMFuzzerTestOneInput() local 54 decomp_strm.next_out = decomp_buf; in LLVMFuzzerTestOneInput() 55 decomp_strm.avail_out = sizeof(decomp_buf); in LLVMFuzzerTestOneInput() 60 size_t num_out = sizeof(decomp_buf) - decomp_strm.avail_out; in LLVMFuzzerTestOneInput() 62 ASSERT(decomp_buf[i] == data[decomp_strm.total_out - num_out + i]); in LLVMFuzzerTestOneInput()
|
/third_party/skia/third_party/externals/zlib/contrib/tests/ |
H A D | utils_unittest.cc | 94 uint8_t comp_buf[4096], decomp_buf[4096]; in TEST() local 129 decomp_strm.next_out = decomp_buf; in TEST() 130 decomp_strm.avail_out = sizeof(decomp_buf); in TEST() 135 size_t num_out = sizeof(decomp_buf) - decomp_strm.avail_out; in TEST() 137 EXPECT_EQ(decomp_buf[i], src[decomp_strm.total_out - num_out + i]); in TEST()
|