VLC  4.0.0-dev
Data Structures | Functions
fifo.c File Reference
Include dependency graph for fifo.c:

Data Structures

struct  block_fifo_t
 Internal state for block queues. More...
 

Functions

size_t vlc_fifo_GetCount (const vlc_fifo_t *fifo)
 Counts blocks in a FIFO. More...
 
size_t vlc_fifo_GetBytes (const vlc_fifo_t *fifo)
 Counts bytes in a FIFO. More...
 
void vlc_fifo_QueueUnlocked (block_fifo_t *fifo, block_t *block)
 Queues a linked-list of blocks into a locked FIFO. More...
 
block_tvlc_fifo_DequeueUnlocked (block_fifo_t *fifo)
 Dequeues the first block from a locked FIFO, if any. More...
 
block_tvlc_fifo_DequeueAllUnlocked (block_fifo_t *fifo)
 Dequeues the all blocks from a locked FIFO. More...
 
block_fifo_tblock_FifoNew (void)
 Creates a thread-safe FIFO queue of blocks. More...
 
void block_FifoRelease (block_fifo_t *p_fifo)
 Destroys a FIFO created by block_FifoNew(). More...
 
block_tblock_FifoGet (block_fifo_t *fifo)
 Dequeue the first block from the FIFO. More...
 
block_tblock_FifoShow (block_fifo_t *p_fifo)
 Peeks the first block in the FIFO. More...