|
FFmpeg 8.1
|
RefStruct is an API for creating reference-counted objects with minimal overhead. More...
#include <libavutil/refstruct.h>
Data Fields | |
| void * | nc |
| const void * | c |
RefStruct is an API for creating reference-counted objects with minimal overhead.
The API is designed for objects, not buffers like the AVBuffer API. The main differences to the AVBuffer API are as follows:
The functions provided by this API with an AVRefStructOpaque come in pairs named foo_c and foo. The foo function accepts void* as opaque and is just a wrapper around the foo_c function; "_c" means "(potentially) const".
Definition at line 58 of file refstruct.h.
| void* AVRefStructOpaque::nc |
Definition at line 59 of file refstruct.h.
| const void* AVRefStructOpaque::c |
Definition at line 60 of file refstruct.h.