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 nvdec_decoder_frame_init(), nvdec_decoder_frame_pool_free(), pool_reset_entry(), vaapi_encode_alloc_output_buffer(), vaapi_encode_free_output_buffer(), 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().