FFmpeg
|
Data Fields | |
atomic_uintptr_t | refcount |
An uintptr_t is big enough to hold the address of every reference, so no overflow can happen when incrementing the refcount as long as the user does not throw away references. More... | |
FFRefStructOpaque | opaque |
void(* | free_cb )(FFRefStructOpaque opaque, void *obj) |
void(* | free )(void *ref) |
Definition at line 54 of file refstruct.c.
atomic_uintptr_t RefCount::refcount |
An uintptr_t is big enough to hold the address of every reference, so no overflow can happen when incrementing the refcount as long as the user does not throw away references.
Definition at line 60 of file refstruct.c.
FFRefStructOpaque RefCount::opaque |
Definition at line 61 of file refstruct.c.
void(* RefCount::free_cb) (FFRefStructOpaque opaque, void *obj) |
Definition at line 62 of file refstruct.c.
void(* RefCount::free) (void *ref) |
Definition at line 63 of file refstruct.c.
Referenced by ff_refstruct_pool_alloc_ext_c().