FFmpeg
|
ContainerFifo is a FIFO for "containers" - dynamically allocated reusable structs (e.g. More...
Data Fields | |
AVFifo * | fifo |
FFRefStructPool * | pool |
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) |
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.
AVFifo* ContainerFifo::fifo |
Definition at line 28 of file container_fifo.c.
Referenced by ff_container_fifo_alloc(), ff_container_fifo_can_read(), ff_container_fifo_free(), ff_container_fifo_read(), and ff_container_fifo_write().
FFRefStructPool* ContainerFifo::pool |
Definition at line 29 of file container_fifo.c.
Referenced by ff_container_fifo_alloc(), ff_container_fifo_free(), and ff_container_fifo_write().
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().
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().
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().
Definition at line 34 of file container_fifo.c.
Referenced by ff_container_fifo_alloc(), and ff_container_fifo_write().
Definition at line 35 of file container_fifo.c.
Referenced by ff_container_fifo_alloc(), and ff_container_fifo_read().