FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
ThreadContext Struct Reference

Data Fields

AVCodecContextparent_avctx
 
pthread_mutex_t buffer_mutex
 
AVFifoBuffertask_fifo
 
pthread_mutex_t task_fifo_mutex
 
pthread_cond_t task_fifo_cond
 
Task finished_tasks [BUFFER_SIZE]
 
pthread_mutex_t finished_task_mutex
 
pthread_cond_t finished_task_cond
 
unsigned task_index
 
unsigned finished_task_index
 
pthread_t worker [MAX_THREADS]
 
atomic_int exit
 
AVFilterGraphgraph
 
AVSliceThreadthread
 
avfilter_action_funcfunc
 
AVFilterContextctx
 
voidarg
 
intrets
 

Detailed Description

Definition at line 44 of file frame_thread_encoder.c.

Field Documentation

AVCodecContext* ThreadContext::parent_avctx

Definition at line 45 of file frame_thread_encoder.c.

Referenced by ff_frame_thread_encoder_init().

pthread_mutex_t ThreadContext::buffer_mutex
AVFifoBuffer* ThreadContext::task_fifo
pthread_mutex_t ThreadContext::task_fifo_mutex
pthread_cond_t ThreadContext::task_fifo_cond
Task ThreadContext::finished_tasks[BUFFER_SIZE]

Definition at line 52 of file frame_thread_encoder.c.

Referenced by ff_thread_video_encode_frame(), and worker().

pthread_mutex_t ThreadContext::finished_task_mutex
pthread_cond_t ThreadContext::finished_task_cond
unsigned ThreadContext::task_index

Definition at line 56 of file frame_thread_encoder.c.

Referenced by ff_thread_video_encode_frame().

unsigned ThreadContext::finished_task_index

Definition at line 57 of file frame_thread_encoder.c.

Referenced by ff_thread_video_encode_frame().

pthread_t ThreadContext::worker[MAX_THREADS]
atomic_int ThreadContext::exit
AVFilterGraph* ThreadContext::graph

Definition at line 37 of file pthread.c.

AVSliceThread* ThreadContext::thread

Definition at line 38 of file pthread.c.

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

avfilter_action_func* ThreadContext::func

Definition at line 39 of file pthread.c.

Referenced by thread_execute(), and worker_func().

AVFilterContext* ThreadContext::ctx

Definition at line 42 of file pthread.c.

Referenced by thread_execute(), and worker_func().

void* ThreadContext::arg

Definition at line 43 of file pthread.c.

Referenced by thread_execute(), and worker_func().

int* ThreadContext::rets

Definition at line 44 of file pthread.c.

Referenced by thread_execute(), and worker_func().


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