| 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 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.
Referenced by container_fifo_free_entry(), container_fifo_init_entry(), container_fifo_reset_entry(), mids_buf_free(), mpv_pic_init(), 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_ffv1_free_frame_priv(), vk_h264_free_frame_priv(), vk_hevc_free_frame_priv(), vk_prores_free_frame_priv(), vk_prores_raw_free_frame_priv(), and vk_vp9_free_frame_priv().
| const void* AVRefStructOpaque::c | 
Definition at line 60 of file refstruct.h.
Referenced by cbs_default_free_unit_content().
 1.8.17
 1.8.17