FFmpeg
Data Fields
RefCount Struct Reference

Data Fields

atomic_uintptr_t refcount
 An uintptr_t is big enough to hold the address of every reference, so no overflow can happen when incrementing the refcount as long as the user does not throw away references. More...
 
FFRefStructOpaque opaque
 
void(* free_cb )(FFRefStructOpaque opaque, void *obj)
 

Detailed Description

Definition at line 52 of file refstruct.c.

Field Documentation

◆ refcount

atomic_uintptr_t RefCount::refcount

An uintptr_t is big enough to hold the address of every reference, so no overflow can happen when incrementing the refcount as long as the user does not throw away references.

Definition at line 58 of file refstruct.c.

◆ opaque

FFRefStructOpaque RefCount::opaque

Definition at line 59 of file refstruct.c.

◆ free_cb

void(* RefCount::free_cb) (FFRefStructOpaque opaque, void *obj)

Definition at line 60 of file refstruct.c.


The documentation for this struct was generated from the following file: