Searched refs:async_fifo (Results 1 – 5 of 5) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | qsvdec.c | 84 AVFifo *async_fifo; member 255 if (!q->async_fifo) { in qsv_decode_preinit() 256 q->async_fifo = av_fifo_alloc2(q->async_depth, sizeof(QSVAsyncFrame), 0); in qsv_decode_preinit() 257 if (!q->async_fifo) in qsv_decode_preinit() 683 av_fifo_write(q->async_fifo, &aframe, 1); in qsv_decode() 688 if ((av_fifo_can_read(q->async_fifo) >= q->async_depth) || in qsv_decode() 689 (!avpkt->size && av_fifo_can_read(q->async_fifo))) { in qsv_decode() 693 av_fifo_read(q->async_fifo, &aframe, 1); in qsv_decode() 754 if (q->async_fifo) { in qsv_decode_close_qsvcontext() 756 while (av_fifo_read(q->async_fifo, &aframe, 1) >= 0) in qsv_decode_close_qsvcontext() [all …]
|
D | qsvenc.c | 1262 q->async_fifo = av_fifo_alloc2(q->async_depth, sizeof(QSVPacket), 0); in ff_qsv_enc_init() 1263 if (!q->async_fifo) in ff_qsv_enc_init() 1796 av_fifo_write(q->async_fifo, &pkt, 1); in encode_frame() 1827 if ((av_fifo_can_read(q->async_fifo) >= q->async_depth) || in ff_qsv_encode() 1828 (!frame && av_fifo_can_read(q->async_fifo))) { in ff_qsv_encode() 1834 av_fifo_read(q->async_fifo, &qpkt, 1); in ff_qsv_encode() 1903 if (q->async_fifo) { in ff_qsv_enc_close() 1905 while (av_fifo_read(q->async_fifo, &pkt, 1) >= 0) { in ff_qsv_enc_close() 1916 av_fifo_freep2(&q->async_fifo); in ff_qsv_enc_close()
|
D | qsvenc.h | 151 AVFifo *async_fifo; member
|
/third_party/ffmpeg/libavfilter/ |
D | qsvvpp.c | 725 s->async_fifo = av_fifo_alloc2(param->async_depth + 1, sizeof(QSVAsyncFrame), 0); in ff_qsvvpp_create() 727 if (!s->async_fifo) { in ff_qsvvpp_create() 787 av_fifo_freep2(&s->async_fifo); in ff_qsvvpp_free() 802 while (s->eof && av_fifo_read(s->async_fifo, &aframe, 1) >= 0) { in ff_qsvvpp_filter_frame() 851 av_fifo_write(s->async_fifo, &aframe, 1); in ff_qsvvpp_filter_frame() 853 if (av_fifo_can_read(s->async_fifo) > s->async_depth) { in ff_qsvvpp_filter_frame() 854 av_fifo_read(s->async_fifo, &aframe, 1); in ff_qsvvpp_filter_frame()
|
D | qsvvpp.h | 76 AVFifo *async_fifo; member
|