Home
last modified time | relevance | path

Searched refs:pkt_props (Results 1 – 4 of 4) sorted by relevance

/third_party/ffmpeg/libavcodec/
Davcodec.c195 avci->pkt_props = av_fifo_alloc(sizeof(*avci->last_pkt_props)); in avcodec_open2()
198 !avci->last_pkt_props || !avci->pkt_props) { in avcodec_open2()
478 av_fifo_freep(&avci->pkt_props); in avcodec_open2()
521 while (av_fifo_size(avci->pkt_props) >= sizeof(*avci->last_pkt_props)) { in avcodec_flush_buffers()
522 av_fifo_generic_read(avci->pkt_props, in avcodec_flush_buffers()
527 av_fifo_reset(avci->pkt_props); in avcodec_flush_buffers()
596 while (av_fifo_size(avctx->internal->pkt_props) >= in avcodec_close()
598 av_fifo_generic_read(avctx->internal->pkt_props, in avcodec_close()
605 av_fifo_freep(&avctx->internal->pkt_props); in avcodec_close()
Dinternal.h160 AVFifoBuffer *pkt_props; member
Ddecode.c166 if (av_fifo_size(avci->pkt_props) >= sizeof(*pkt)) { in extract_packet_props()
167 av_fifo_generic_read(avci->pkt_props, avci->last_pkt_props, in extract_packet_props()
173 if (av_fifo_space(avci->pkt_props) < sizeof(*pkt)) { in extract_packet_props()
174 ret = av_fifo_grow(avci->pkt_props, sizeof(*pkt)); in extract_packet_props()
183 av_fifo_generic_write(avci->pkt_props, &tmp, sizeof(tmp), NULL); in extract_packet_props()
556 … IS_EMPTY(avci->last_pkt_props) && av_fifo_size(avci->pkt_props) >= sizeof(*avci->last_pkt_props)) in decode_receive_frame_internal()
557 av_fifo_generic_read(avci->pkt_props, in decode_receive_frame_internal()
/third_party/ffmpeg/
DChangelog120 - avcodec/decode: fetch packets from the pkt_props FIFO on every frame returned