FFmpeg
Data Fields
AVContainerFifo Struct Reference

AVContainerFifo is a FIFO for "containers" - dynamically allocated reusable structs (e.g. More...

Data Fields

AVFifofifo
 
AVRefStructPoolpool
 
void * opaque
 
void *(* container_alloc )(void *opaque)
 
void(* container_reset )(void *opaque, void *obj)
 
void(* container_free )(void *opaque, void *obj)
 
int(* fifo_transfer )(void *opaque, void *dst, void *src, unsigned flags)
 

Detailed Description

AVContainerFifo is a FIFO for "containers" - dynamically allocated reusable structs (e.g.

AVFrame or AVPacket). AVContainerFifo uses an internal pool of such containers to avoid allocating and freeing them repeatedly.

Definition at line 27 of file container_fifo.c.

Field Documentation

◆ fifo

AVFifo* AVContainerFifo::fifo

◆ pool

AVRefStructPool* AVContainerFifo::pool

◆ opaque

void* AVContainerFifo::opaque

◆ container_alloc

void*(* AVContainerFifo::container_alloc) (void *opaque)

Definition at line 32 of file container_fifo.c.

Referenced by av_container_fifo_alloc(), and container_fifo_init_entry().

◆ container_reset

void(* AVContainerFifo::container_reset) (void *opaque, void *obj)

Definition at line 33 of file container_fifo.c.

Referenced by av_container_fifo_alloc(), and container_fifo_reset_entry().

◆ container_free

void(* AVContainerFifo::container_free) (void *opaque, void *obj)

Definition at line 34 of file container_fifo.c.

Referenced by av_container_fifo_alloc(), and container_fifo_free_entry().

◆ fifo_transfer

int(* AVContainerFifo::fifo_transfer) (void *opaque, void *dst, void *src, unsigned flags)

The documentation for this struct was generated from the following file: