FFmpeg
|
AVContainerFifo is a FIFO for "containers" - dynamically allocated reusable structs (e.g. More...
Data Fields | |
AVFifo * | fifo |
AVRefStructPool * | pool |
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) |
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.
AVFifo* AVContainerFifo::fifo |
Definition at line 28 of file container_fifo.c.
Referenced by av_container_fifo_alloc(), av_container_fifo_can_read(), av_container_fifo_drain(), av_container_fifo_free(), av_container_fifo_peek(), av_container_fifo_read(), and av_container_fifo_write().
AVRefStructPool* AVContainerFifo::pool |
Definition at line 29 of file container_fifo.c.
Referenced by av_container_fifo_alloc(), av_container_fifo_free(), and av_container_fifo_write().
void* AVContainerFifo::opaque |
Definition at line 31 of file container_fifo.c.
Referenced by av_container_fifo_alloc(), av_container_fifo_read(), av_container_fifo_write(), container_fifo_free_entry(), container_fifo_init_entry(), and container_fifo_reset_entry().
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().
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().
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().
Definition at line 35 of file container_fifo.c.
Referenced by av_container_fifo_alloc(), av_container_fifo_read(), and av_container_fifo_write().