#include <stddef.h>Go to the source code of this file.
| Enumerator | |
|---|---|
| AV_CONTAINER_FIFO_FLAG_REF | Signal to av_container_fifo_write() that it should make a new reference to data in src rather than consume its contents.
|
| AV_CONTAINER_FIFO_FLAG_USER | This and all higher bits in flags may be set to any value by the caller and are guaranteed to be passed through to the fifo_transfer() callback and not be interpreted by AVContainerFifo code. |
Definition at line 31 of file container_fifo.h.
Allocate a new AVContainerFifo for the container type defined by provided callbacks.
Definition at line 64 of file container_fifo.c.
Referenced by av_container_fifo_alloc_avframe(), and av_container_fifo_alloc_avpacket().
Allocate an AVContainerFifo instance for AVFrames.
Definition at line 215 of file container_fifo.c.
Referenced by hevc_init_context(), sq_add_stream(), and tq_alloc().
Free a AVContainerFifo and everything in it.
Definition at line 101 of file container_fifo.c.
Referenced by av_container_fifo_alloc(), hevc_decode_free(), sq_free(), and tq_free().
Write the contents of obj to the FIFO.
The fifo_transfer() callback previously provided to av_container_fifo_alloc() will be called with obj as src in order to perform the actual transfer.
Definition at line 162 of file container_fifo.c.
Referenced by ff_hevc_output_frames(), sq_send(), and tq_send().
Read the next available object from the FIFO into obj.
The fifo_read() callback previously provided to av_container_fifo_alloc() will be called with obj as dst in order to perform the actual transfer.
Definition at line 122 of file container_fifo.c.
Referenced by hevc_receive_frame(), receive_for_stream(), and receive_locked().
Access objects stored in the FIFO without retrieving them.
The fifo_transfer() callback will NOT be invoked and the FIFO state will not be modified.
Definition at line 137 of file container_fifo.c.
Referenced by overflow_heartbeat(), receive_for_stream(), and receive_samples().
Discard the specified number of elements from the FIFO.
Definition at line 151 of file container_fifo.c.
Referenced by receive_samples().
Definition at line 185 of file container_fifo.c.
Referenced by hevc_receive_frame(), receive_for_stream(), tb_update(), and tq_receive().