FFmpeg
Data Fields
ContainerFifo Struct Reference

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

Data Fields

AVFifofifo
 
FFRefStructPoolpool
 
void *(* container_alloc )(void)
 
void(* container_reset )(void *obj)
 
void(* container_free )(void *obj)
 
int(* fifo_write )(void *dst, void *src)
 
int(* fifo_read )(void *dst, void *src)
 

Detailed Description

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

AVFrame or AVPacket). ContainerFifo 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* ContainerFifo::fifo

◆ pool

FFRefStructPool* ContainerFifo::pool

◆ container_alloc

void*(* ContainerFifo::container_alloc) (void)

Definition at line 31 of file container_fifo.c.

Referenced by container_fifo_init_entry(), and ff_container_fifo_alloc().

◆ container_reset

void(* ContainerFifo::container_reset) (void *obj)

Definition at line 32 of file container_fifo.c.

Referenced by container_fifo_reset_entry(), and ff_container_fifo_alloc().

◆ container_free

void(* ContainerFifo::container_free) (void *obj)

Definition at line 33 of file container_fifo.c.

Referenced by container_fifo_free_entry(), and ff_container_fifo_alloc().

◆ fifo_write

int(* ContainerFifo::fifo_write) (void *dst, void *src)

Definition at line 34 of file container_fifo.c.

Referenced by ff_container_fifo_alloc(), and ff_container_fifo_write().

◆ fifo_read

int(* ContainerFifo::fifo_read) (void *dst, void *src)

Definition at line 35 of file container_fifo.c.

Referenced by ff_container_fifo_alloc(), and ff_container_fifo_read().


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