Home
last modified time | relevance | path

Searched refs:decomp_buf (Results 1 - 10 of 10) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dcscd.c38 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 Dzmbv.c64 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 Dnuv.c43 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 Dtscc.c59 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 Dmwsc.c37 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 Dlcldec.c68 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 Ddxa.c47 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 Dmscc.c38 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 Dstreaming_inflate_fuzzer.cc53 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 Dutils_unittest.cc94 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()

Completed in 6 milliseconds