FFmpeg
|
Go to the source code of this file.
Typedefs | |
typedef void *(* | ObjPoolCBAlloc) (void) |
typedef void(* | ObjPoolCBReset) (void *) |
typedef void(* | ObjPoolCBFree) (void **) |
Functions | |
void | objpool_free (ObjPool **op) |
ObjPool * | objpool_alloc (ObjPoolCBAlloc cb_alloc, ObjPoolCBReset cb_reset, ObjPoolCBFree cb_free) |
ObjPool * | objpool_alloc_packets (void) |
ObjPool * | objpool_alloc_frames (void) |
int | objpool_get (ObjPool *op, void **obj) |
void | objpool_release (ObjPool *op, void **obj) |
void objpool_free | ( | ObjPool ** | op | ) |
Definition at line 54 of file objpool.c.
Referenced by sq_free(), thread_start(), and tq_free().
ObjPool* objpool_alloc | ( | ObjPoolCBAlloc | cb_alloc, |
ObjPoolCBReset | cb_reset, | ||
ObjPoolCBFree | cb_free | ||
) |
Definition at line 39 of file objpool.c.
Referenced by objpool_alloc_frames(), and objpool_alloc_packets().
ObjPool* objpool_alloc_packets | ( | void | ) |
Definition at line 124 of file objpool.c.
Referenced by sq_alloc(), and thread_start().
ObjPool* objpool_alloc_frames | ( | void | ) |
Definition at line 128 of file objpool.c.
Referenced by sq_alloc().
void objpool_release | ( | ObjPool * | op, |
void ** | obj | ||
) |
Definition at line 78 of file objpool.c.
Referenced by receive_for_stream(), receive_locked(), sq_free(), sq_send(), and tq_free().