FFmpeg
4.0
|
Multithreading support functions. More...
Go to the source code of this file.
Functions | |
static void | validate_thread_parameters (AVCodecContext *avctx) |
Set the threading algorithms used. More... | |
int | ff_thread_init (AVCodecContext *avctx) |
void | ff_thread_free (AVCodecContext *avctx) |
|
static |
Set the threading algorithms used.
Threading requires more than one thread. Frame threading requires entire frames to be passed to the codec, and introduces extra decoding delay, so is incompatible with low_delay.
avctx | The context. |
Definition at line 46 of file pthread.c.
Referenced by ff_thread_init().
int ff_thread_init | ( | AVCodecContext * | avctx | ) |
void ff_thread_free | ( | AVCodecContext * | avctx | ) |
Definition at line 82 of file pthread.c.
Referenced by avcodec_close().