FFmpeg
|
Go to the source code of this file.
Data Structures | |
struct | AVTask |
struct | AVTaskCallbacks |
Functions | |
AVExecutor * | av_executor_alloc (const AVTaskCallbacks *callbacks, int thread_count) |
Alloc executor. More... | |
void | av_executor_free (AVExecutor **e) |
Free executor. More... | |
void | av_executor_execute (AVExecutor *e, AVTask *t) |
Add task to executor. More... | |
AVExecutor* av_executor_alloc | ( | const AVTaskCallbacks * | callbacks, |
int | thread_count | ||
) |
Alloc executor.
callbacks | callback structure for executor |
thread_count | worker thread number, 0 for run on caller's thread directly |
Definition at line 142 of file executor.c.
Referenced by ff_vvc_executor_alloc().
void av_executor_free | ( | AVExecutor ** | e | ) |
Free executor.
e | pointer to executor |
Definition at line 184 of file executor.c.
Referenced by ff_vvc_executor_free().
void av_executor_execute | ( | AVExecutor * | e, |
AVTask * | t | ||
) |
Add task to executor.
e | pointer to executor |
t | pointer to task. If NULL, it will wakeup one work thread |
Definition at line 195 of file executor.c.
Referenced by add_task().