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

Function get_refcount

libavutil/refstruct.c:70–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68} RefCount;
69
70static RefCount *get_refcount(void *obj)
71{
72 RefCount *ref = (RefCount*)((char*)obj - REFCOUNT_OFFSET);
73 ff_assert(ref->cookie == REFSTRUCT_COOKIE);
74 return ref;
75}
76
77static const RefCount *cget_refcount(const void *obj)
78{

Callers 6

av_refstruct_unrefFunction · 0.85
av_refstruct_refFunction · 0.85
av_refstruct_ref_cFunction · 0.85
pool_freeFunction · 0.85
refstruct_pool_get_extFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected