19#ifndef AVUTIL_SLICETHREAD_H
20#define AVUTIL_SLICETHREAD_H
37 int (*
worker_func)(
void *priv,
int jobnr,
int threadnr,
int nb_jobs,
int nb_threads),
61#if LIBAVUTIL_VERSION_MAJOR < 62
68 void (*
worker_func)(
void *priv,
int jobnr,
int threadnr,
int nb_jobs,
int nb_threads),
static AVFormatContext * ctx
Macro definitions for various function/variable attributes.
#define attribute_deprecated
Libavutil version macros.
static int worker_func(void *priv, int jobnr, int threadnr, int nb_jobs, int nb_threads)
int main_func(AVCodecContext *c)
attribute_deprecated void avpriv_slicethread_execute(AVSliceThread *ctx, int nb_jobs, int execute_main)
attribute_deprecated int avpriv_slicethread_create(AVSliceThread **pctx, void *priv, void(*worker_func)(void *priv, int jobnr, int threadnr, int nb_jobs, int nb_threads), void(*main_func)(void *priv), int nb_threads)
void avpriv_slicethread_free(AVSliceThread **pctx)
Destroy slice threading context.
struct AVSliceThread AVSliceThread
int avpriv_slicethread_execute2(AVSliceThread *ctx, int nb_jobs, int execute_main)
Execute slice threading.
int avpriv_slicethread_create2(AVSliceThread **pctx, void *priv, int(*worker_func)(void *priv, int jobnr, int threadnr, int nb_jobs, int nb_threads), int(*main_func)(void *priv), int nb_threads)
Create slice threading context.