FFmpeg
|
Go to the source code of this file.
Data Structures | |
struct | FFTask |
struct | FFTaskCallbacks |
Functions | |
FFExecutor * | ff_executor_alloc (const FFTaskCallbacks *callbacks, int thread_count) |
Alloc executor. More... | |
void | ff_executor_free (FFExecutor **e) |
Free executor. More... | |
void | ff_executor_execute (FFExecutor *e, FFTask *t) |
Add task to executor. More... | |
FFExecutor* ff_executor_alloc | ( | const FFTaskCallbacks * | 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 156 of file executor.c.
Referenced by ff_vvc_executor_alloc().
void ff_executor_free | ( | FFExecutor ** | e | ) |
Free executor.
e | pointer to executor |
Definition at line 202 of file executor.c.
Referenced by ff_vvc_executor_free().
void ff_executor_execute | ( | FFExecutor * | e, |
FFTask * | t | ||
) |
Add task to executor.
e | pointer to executor |
t | pointer to task. If NULL, it will wakeup one work thread |
Definition at line 213 of file executor.c.
Referenced by add_task().