Libav
Data Fields
ThreadContext Struct Reference

Data Fields

AVFilterGraphgraph
 
int nb_threads
 
pthread_tworkers
 
avfilter_action_funcfunc
 
AVFilterContextctx
 
voidarg
 
int * rets
 
int nb_rets
 
int nb_jobs
 
pthread_cond_t last_job_cond
 
pthread_cond_t current_job_cond
 
pthread_mutex_t current_job_lock
 
int current_job
 
unsigned int current_execute
 
int done
 

Detailed Description

Definition at line 41 of file pthread.c.

Field Documentation

§ graph

AVFilterGraph* ThreadContext::graph

Definition at line 42 of file pthread.c.

Referenced by thread_init_internal().

§ nb_threads

int ThreadContext::nb_threads

§ workers

pthread_t* ThreadContext::workers

Definition at line 45 of file pthread.c.

Referenced by slice_thread_uninit(), and thread_init_internal().

§ func

avfilter_action_func* ThreadContext::func

Definition at line 46 of file pthread.c.

Referenced by thread_execute(), and worker().

§ ctx

AVFilterContext* ThreadContext::ctx

Definition at line 49 of file pthread.c.

Referenced by thread_execute(), and worker().

§ arg

void* ThreadContext::arg

Definition at line 50 of file pthread.c.

Referenced by thread_execute(), and worker().

§ rets

int* ThreadContext::rets

Definition at line 51 of file pthread.c.

Referenced by thread_execute(), and worker().

§ nb_rets

int ThreadContext::nb_rets

Definition at line 52 of file pthread.c.

Referenced by thread_execute(), and worker().

§ nb_jobs

int ThreadContext::nb_jobs

Definition at line 53 of file pthread.c.

Referenced by slice_thread_park_workers(), thread_execute(), thread_init_internal(), and worker().

§ last_job_cond

pthread_cond_t ThreadContext::last_job_cond

§ current_job_cond

pthread_cond_t ThreadContext::current_job_cond

Definition at line 56 of file pthread.c.

Referenced by slice_thread_uninit(), thread_execute(), thread_init_internal(), and worker().

§ current_job_lock

pthread_mutex_t ThreadContext::current_job_lock

§ current_job

int ThreadContext::current_job

Definition at line 58 of file pthread.c.

Referenced by slice_thread_park_workers(), thread_execute(), thread_init_internal(), and worker().

§ current_execute

unsigned int ThreadContext::current_execute

Definition at line 59 of file pthread.c.

Referenced by thread_execute(), and worker().

§ done

int ThreadContext::done

Definition at line 60 of file pthread.c.

Referenced by slice_thread_uninit(), thread_init_internal(), and worker().


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