Searched refs:async_fifo (Results 1 – 3 of 3) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | qsvdec.c | 64 AVFifoBuffer *async_fifo; member 227 if (!q->async_fifo) { in qsv_decode_preinit() 228 q->async_fifo = av_fifo_alloc(q->async_depth * qsv_fifo_item_size()); in qsv_decode_preinit() 229 if (!q->async_fifo) in qsv_decode_preinit() 517 av_fifo_generic_write(q->async_fifo, &out_frame, sizeof(out_frame), NULL); in qsv_decode() 518 av_fifo_generic_write(q->async_fifo, &sync, sizeof(sync), NULL); in qsv_decode() 523 if ((qsv_fifo_size(q->async_fifo) >= q->async_depth) || in qsv_decode() 524 (!avpkt->size && av_fifo_size(q->async_fifo))) { in qsv_decode() 527 av_fifo_generic_read(q->async_fifo, &out_frame, sizeof(out_frame), NULL); in qsv_decode() 528 av_fifo_generic_read(q->async_fifo, &sync, sizeof(sync), NULL); in qsv_decode() [all …]
|
D | qsvenc.c | 1108 q->async_fifo = av_fifo_alloc(q->async_depth * qsv_fifo_item_size()); in ff_qsv_enc_init() 1109 if (!q->async_fifo) in ff_qsv_enc_init() 1503 av_fifo_generic_write(q->async_fifo, &new_pkt, sizeof(new_pkt), NULL); in encode_frame() 1504 av_fifo_generic_write(q->async_fifo, &sync, sizeof(sync), NULL); in encode_frame() 1505 av_fifo_generic_write(q->async_fifo, &bs, sizeof(bs), NULL); in encode_frame() 1530 if ((qsv_fifo_size(q->async_fifo) >= q->async_depth) || in ff_qsv_encode() 1531 (!frame && av_fifo_size(q->async_fifo))) { in ff_qsv_encode() 1541 av_fifo_generic_read(q->async_fifo, &new_pkt, sizeof(new_pkt), NULL); in ff_qsv_encode() 1542 av_fifo_generic_read(q->async_fifo, &sync, sizeof(sync), NULL); in ff_qsv_encode() 1543 av_fifo_generic_read(q->async_fifo, &bs, sizeof(bs), NULL); in ff_qsv_encode() [all …]
|
D | qsvenc.h | 147 AVFifoBuffer *async_fifo; member
|