MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / av_refstruct_ref

Function av_refstruct_ref

libavutil/refstruct.c:140–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140void *av_refstruct_ref(void *obj)
141{
142 RefCount *ref = get_refcount(obj);
143
144 atomic_fetch_add_explicit(&ref->refcount, 1, memory_order_relaxed);
145
146 return obj;
147}
148
149const void *av_refstruct_ref_c(const void *obj)
150{

Callers 15

cbs_h266_read_nal_unitFunction · 0.85
ff_cbs_sei_add_messageFunction · 0.85
ff_thread_ref_frameFunction · 0.85
vaapi_encode_outputFunction · 0.85
v4l2_buf_increase_refFunction · 0.85
cbs_av1_write_obuFunction · 0.85
rkmpp_retrieve_frameFunction · 0.85
nvdec_retrieve_dataFunction · 0.85
ff_nvdec_start_frameFunction · 0.85
get_current_frameFunction · 0.85
qsv_setup_midsFunction · 0.85

Calls 1

get_refcountFunction · 0.85

Tested by

no test coverage detected