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 |
Definition at line 135 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 174 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 182 of file executor.c.
Referenced by add_task().