FFmpeg
Data Fields
ThreadContext Struct Reference

Data Fields

AVCodecContextparent_avctx
 
pthread_mutex_t task_fifo_mutex
 
pthread_cond_t task_fifo_cond
 
unsigned pthread_init_cnt
 
unsigned max_tasks
 
Task tasks [BUFFER_SIZE]
 
pthread_mutex_t finished_task_mutex
 
pthread_cond_t finished_task_cond
 
unsigned next_task_index
 
unsigned task_index
 
unsigned finished_task_index
 
pthread_t worker [MAX_THREADS]
 
atomic_int exit
 
int cu_split_pos
 
uint8_t cu_split [1+4+16+64]
 
uint8_t coded_blk [64]
 
uint8_t avg_buffer [64 *64+32 *32 *2]
 
uint8_t * avg_data [3]
 
int avg_linesize [3]
 
AVFilterGraphgraph
 
AVSliceThreadthread
 
avfilter_action_funcfunc
 
AVFilterContextctx
 
void * arg
 
int * rets
 

Detailed Description

Definition at line 52 of file frame_thread_encoder.c.

Field Documentation

◆ parent_avctx

AVCodecContext* ThreadContext::parent_avctx

Definition at line 53 of file frame_thread_encoder.c.

◆ task_fifo_mutex

pthread_mutex_t ThreadContext::task_fifo_mutex

Definition at line 55 of file frame_thread_encoder.c.

◆ task_fifo_cond

pthread_cond_t ThreadContext::task_fifo_cond

Definition at line 56 of file frame_thread_encoder.c.

◆ pthread_init_cnt

unsigned ThreadContext::pthread_init_cnt

Definition at line 58 of file frame_thread_encoder.c.

◆ max_tasks

unsigned ThreadContext::max_tasks

Definition at line 59 of file frame_thread_encoder.c.

◆ tasks

Task ThreadContext::tasks[BUFFER_SIZE]

Definition at line 60 of file frame_thread_encoder.c.

◆ finished_task_mutex

pthread_mutex_t ThreadContext::finished_task_mutex

Definition at line 61 of file frame_thread_encoder.c.

◆ finished_task_cond

pthread_cond_t ThreadContext::finished_task_cond

Definition at line 62 of file frame_thread_encoder.c.

◆ next_task_index

unsigned ThreadContext::next_task_index

Definition at line 64 of file frame_thread_encoder.c.

◆ task_index

unsigned ThreadContext::task_index

Definition at line 65 of file frame_thread_encoder.c.

◆ finished_task_index

unsigned ThreadContext::finished_task_index

Definition at line 66 of file frame_thread_encoder.c.

◆ worker

pthread_t ThreadContext::worker[MAX_THREADS]

Definition at line 68 of file frame_thread_encoder.c.

◆ exit

atomic_int ThreadContext::exit

Definition at line 69 of file frame_thread_encoder.c.

◆ cu_split_pos

int ThreadContext::cu_split_pos

Definition at line 159 of file rv60dec.c.

Referenced by deblock_cu_r(), decode_cu_r(), and decode_slice().

◆ cu_split

uint8_t ThreadContext::cu_split[1+4+16+64]

Definition at line 160 of file rv60dec.c.

Referenced by deblock_cu_r(), and decode_cu_r().

◆ coded_blk

uint8_t ThreadContext::coded_blk[64]

Definition at line 162 of file rv60dec.c.

Referenced by deblock_cu_r(), decode_cu_r(), and decode_slice().

◆ avg_buffer

uint8_t ThreadContext::avg_buffer[64 *64+32 *32 *2]

Definition at line 164 of file rv60dec.c.

Referenced by decode_slice().

◆ avg_data

uint8_t* ThreadContext::avg_data[3]

Definition at line 165 of file rv60dec.c.

Referenced by decode_cu_r(), and decode_slice().

◆ avg_linesize

int ThreadContext::avg_linesize[3]

Definition at line 166 of file rv60dec.c.

Referenced by decode_cu_r(), and decode_slice().

◆ graph

AVFilterGraph* ThreadContext::graph

Definition at line 35 of file pthread.c.

◆ thread

AVSliceThread* ThreadContext::thread

Definition at line 36 of file pthread.c.

◆ func

avfilter_action_func* ThreadContext::func

Definition at line 37 of file pthread.c.

◆ ctx

AVFilterContext* ThreadContext::ctx

Definition at line 40 of file pthread.c.

◆ arg

void* ThreadContext::arg

Definition at line 41 of file pthread.c.

◆ rets

int* ThreadContext::rets

Definition at line 42 of file pthread.c.


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