FFmpeg
|
Data Fields | |
AVCodecContext * | parent_avctx |
pthread_mutex_t | buffer_mutex |
AVFifoBuffer * | task_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] |
int | exit |
pthread_t * | workers |
action_func * | func |
action_func2 * | func2 |
void * | args |
int * | rets |
int | rets_count |
int | job_count |
int | job_size |
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 |
AVFilterGraph * | graph |
int | nb_threads |
AVFilterContext * | ctx |
void * | arg |
int | nb_rets |
int | nb_jobs |
Definition at line 48 of file frame_thread_encoder.c.
AVCodecContext* ThreadContext::parent_avctx |
Definition at line 49 of file frame_thread_encoder.c.
Referenced by ff_frame_thread_encoder_init(), and ff_thread_video_encode_frame().
pthread_mutex_t ThreadContext::buffer_mutex |
Definition at line 50 of file frame_thread_encoder.c.
Referenced by ff_frame_thread_encoder_free(), ff_frame_thread_encoder_init(), ff_thread_video_encode_frame(), and worker().
AVFifoBuffer* ThreadContext::task_fifo |
Definition at line 52 of file frame_thread_encoder.c.
Referenced by ff_frame_thread_encoder_free(), ff_frame_thread_encoder_init(), ff_thread_video_encode_frame(), and worker().
pthread_mutex_t ThreadContext::task_fifo_mutex |
Definition at line 53 of file frame_thread_encoder.c.
Referenced by ff_frame_thread_encoder_free(), ff_frame_thread_encoder_init(), ff_thread_video_encode_frame(), and worker().
pthread_cond_t ThreadContext::task_fifo_cond |
Definition at line 54 of file frame_thread_encoder.c.
Referenced by ff_frame_thread_encoder_free(), ff_frame_thread_encoder_init(), ff_thread_video_encode_frame(), and worker().
Task ThreadContext::finished_tasks[BUFFER_SIZE] |
Definition at line 56 of file frame_thread_encoder.c.
Referenced by ff_thread_video_encode_frame(), and worker().
pthread_mutex_t ThreadContext::finished_task_mutex |
Definition at line 57 of file frame_thread_encoder.c.
Referenced by ff_frame_thread_encoder_free(), ff_frame_thread_encoder_init(), ff_thread_video_encode_frame(), and worker().
pthread_cond_t ThreadContext::finished_task_cond |
Definition at line 58 of file frame_thread_encoder.c.
Referenced by ff_frame_thread_encoder_free(), ff_frame_thread_encoder_init(), ff_thread_video_encode_frame(), and worker().
unsigned ThreadContext::task_index |
Definition at line 60 of file frame_thread_encoder.c.
Referenced by ff_thread_video_encode_frame().
unsigned ThreadContext::finished_task_index |
Definition at line 61 of file frame_thread_encoder.c.
Referenced by ff_thread_video_encode_frame().
pthread_t ThreadContext::worker[MAX_THREADS] |
Definition at line 63 of file frame_thread_encoder.c.
Referenced by ff_frame_thread_encoder_free(), and ff_frame_thread_encoder_init().
int ThreadContext::exit |
Definition at line 64 of file frame_thread_encoder.c.
Referenced by ff_frame_thread_encoder_free(), and worker().
pthread_t * ThreadContext::workers |
Definition at line 53 of file pthread.c.
Referenced by avcodec_thread_init(), avfilter_thread_init(), slice_thread_uninit(), and thread_free().
action_func * ThreadContext::func |
Definition at line 54 of file pthread.c.
Referenced by avcodec_thread_execute(), thread_execute(), and worker().
action_func2* ThreadContext::func2 |
Definition at line 55 of file pthread.c.
Referenced by avcodec_thread_execute2(), and worker().
void* ThreadContext::args |
Definition at line 56 of file pthread.c.
Referenced by avcodec_thread_execute(), and worker().
int * ThreadContext::rets |
Definition at line 57 of file pthread.c.
Referenced by avcodec_thread_execute(), thread_execute(), and worker().
int ThreadContext::rets_count |
Definition at line 58 of file pthread.c.
Referenced by avcodec_thread_execute(), and worker().
int ThreadContext::job_count |
Definition at line 59 of file pthread.c.
Referenced by avcodec_thread_execute(), avcodec_thread_init(), avcodec_thread_park_workers(), and worker().
int ThreadContext::job_size |
Definition at line 60 of file pthread.c.
Referenced by avcodec_thread_execute(), avcodec_thread_init(), and worker().
pthread_cond_t ThreadContext::last_job_cond |
Definition at line 62 of file pthread.c.
Referenced by avcodec_thread_init(), avcodec_thread_park_workers(), avfilter_thread_init(), slice_thread_park_workers(), slice_thread_uninit(), thread_free(), and worker().
pthread_cond_t ThreadContext::current_job_cond |
Definition at line 63 of file pthread.c.
Referenced by avcodec_thread_execute(), avcodec_thread_init(), avfilter_thread_init(), slice_thread_uninit(), thread_execute(), thread_free(), and worker().
pthread_mutex_t ThreadContext::current_job_lock |
Definition at line 64 of file pthread.c.
Referenced by avcodec_thread_execute(), avcodec_thread_init(), avcodec_thread_park_workers(), avfilter_thread_init(), slice_thread_park_workers(), slice_thread_uninit(), thread_execute(), thread_free(), and worker().
int ThreadContext::current_job |
Definition at line 65 of file pthread.c.
Referenced by avcodec_thread_execute(), avcodec_thread_init(), avcodec_thread_park_workers(), avfilter_thread_init(), thread_execute(), and worker().
unsigned int ThreadContext::current_execute |
Definition at line 66 of file pthread.c.
Referenced by avcodec_thread_execute(), and worker().
int ThreadContext::done |
Definition at line 67 of file pthread.c.
Referenced by avcodec_thread_init(), avfilter_thread_init(), slice_thread_uninit(), thread_free(), and worker().
AVFilterGraph* ThreadContext::graph |
int ThreadContext::nb_threads |
Definition at line 46 of file pthread.c.
Referenced by avfilter_thread_init(), slice_thread_uninit(), thread_execute(), and worker().
AVFilterContext* ThreadContext::ctx |
Definition at line 51 of file pthread.c.
Referenced by thread_execute(), and worker().
void* ThreadContext::arg |
Definition at line 52 of file pthread.c.
Referenced by thread_execute(), and worker().
int ThreadContext::nb_rets |
Definition at line 54 of file pthread.c.
Referenced by thread_execute(), and worker().
int ThreadContext::nb_jobs |
Definition at line 55 of file pthread.c.
Referenced by avfilter_thread_init(), thread_execute(), and worker().