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

Function av_refstruct_alloc_ext

libavutil/refstruct.h:93–99  ·  view source on GitHub ↗

* A wrapper around av_refstruct_alloc_ext_c() for the common case * of a non-const qualified opaque. * * @see av_refstruct_alloc_ext_c() */

Source from the content-addressed store, hash-verified

91 * @see av_refstruct_alloc_ext_c()
92 */
93static inline
94void *av_refstruct_alloc_ext(size_t size, unsigned flags, void *opaque,
95 void (*free_cb)(AVRefStructOpaque opaque, void *obj))
96{
97 return av_refstruct_alloc_ext_c(size, flags, (AVRefStructOpaque){.nc = opaque},
98 free_cb);
99}
100
101/**
102 * Equivalent to av_refstruct_alloc_ext(size, 0, NULL, NULL)

Callers 15

av_refstruct_alloczFunction · 0.85
refstruct_pool_get_extFunction · 0.85
ff_ffv1_planes_allocFunction · 0.85
rkmpp_init_decoderFunction · 0.85
ff_lcevc_allocFunction · 0.85
nvdec_decoder_createFunction · 0.85
qsv_create_midsFunction · 0.85
vp3_decode_initFunction · 0.85

Calls 1

av_refstruct_alloc_ext_cFunction · 0.85

Tested by

no test coverage detected