Home
last modified time | relevance | path

Searched refs:in_pkt (Results 1 – 5 of 5) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dpcm_rechunk_bsf.c33 AVPacket *in_pkt; member
59 s->in_pkt = av_packet_alloc(); in init()
61 if (!s->in_pkt || !s->out_pkt) in init()
70 av_packet_free(&s->in_pkt); in uninit()
77 av_packet_unref(s->in_pkt); in flush()
118 if (s->in_pkt->size) { in rechunk_filter()
119 if (s->out_pkt->size || s->in_pkt->size < data_size) { in rechunk_filter()
120 int drain = FFMIN(s->in_pkt->size, data_size - s->out_pkt->size); in rechunk_filter()
125 ret = av_packet_copy_props(s->out_pkt, s->in_pkt); in rechunk_filter()
132 memcpy(s->out_pkt->data + s->out_pkt->size, s->in_pkt->data, drain); in rechunk_filter()
[all …]
Daudiotoolboxdec.c44 AVPacket in_pkt; member
433 av_packet_unref(&at->in_pkt); in ffat_decode_callback()
434 av_packet_move_ref(&at->in_pkt, &at->new_in_pkt); in ffat_decode_callback()
436 if (!at->in_pkt.data) { in ffat_decode_callback()
443 data->mBuffers[0].mDataByteSize = at->in_pkt.size; in ffat_decode_callback()
444 data->mBuffers[0].mData = at->in_pkt.data; in ffat_decode_callback()
449 at->pkt_desc.mDataByteSize = at->in_pkt.size; in ffat_decode_callback()
564 av_packet_unref(&at->in_pkt); in ffat_decode_flush()
573 av_packet_unref(&at->in_pkt); in ffat_close_decoder()
Davcodec.c193 avci->ds.in_pkt = av_packet_alloc(); in avcodec_open2()
197 !avci->es.in_frame || !avci->ds.in_pkt || in avcodec_open2()
480 av_packet_free(&avci->ds.in_pkt); in avcodec_open2()
530 av_packet_unref(avci->ds.in_pkt); in avcodec_flush_buffers()
607 av_packet_free(&avctx->internal->ds.in_pkt); in avcodec_close()
Dinternal.h122 AVPacket *in_pkt; member
Ddecode.c303 AVPacket *pkt = ds->in_pkt; in decode_simple_internal()