40 pro->
init = init_mode;
int(* init)(AVBSFContext *ctx)
#define atomic_load_explicit(object, order)
#define atomic_store_explicit(object, desired, order)
#define atomic_init(obj, value)
av_cold void ff_pthread_free(void *obj, const unsigned offsets[])
av_cold int ff_pthread_init(void *obj, const unsigned offsets[])
Initialize/destroy a list of mutexes/conditions contained in a structure.
Macro definitions for various function/variable attributes.
static int ff_cond_wait(AVCond *cond, AVMutex *mutex)
static int ff_mutex_unlock(AVMutex *mutex)
static int ff_mutex_lock(AVMutex *mutex)
static int ff_cond_broadcast(AVCond *cond)
#define DEFINE_OFFSET_ARRAY(type, name, cnt_variable, mutexes, conds)
ThreadProgress is an API to easily notify other threads about progress of any kind as long as it can ...
av_cold void ff_thread_progress_destroy(ThreadProgress *pro)
Destroy a ThreadProgress.
av_cold int ff_thread_progress_init(ThreadProgress *pro, int init_mode)
Initialize a ThreadProgress.
void ff_thread_progress_report(ThreadProgress *pro, int n)
This function is a no-op in no-op mode; otherwise it notifies other threads that a certain level of p...
void ff_thread_progress_await(const ThreadProgress *pro_c, int n)
This function is a no-op in no-op mode; otherwise it waits until other threads have reached a certain...