Lines Matching refs:async_fifo
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()
758 av_fifo_freep2(&q->async_fifo); in qsv_decode_close_qsvcontext()