FFmpeg
|
RefStruct is an API for creating reference-counted objects with minimal overhead. More...
#include <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 FFRefStructOpaque 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* FFRefStructOpaque::nc |
Definition at line 59 of file refstruct.h.
Referenced by vk_av1_free_frame_priv(), vk_h264_free_frame_priv(), and vk_hevc_free_frame_priv().
const void* FFRefStructOpaque::c |
Definition at line 60 of file refstruct.h.
Referenced by cbs_default_free_unit_content().