diff options
author | Ilia Valiakhmetov <zakne0ne@gmail.com> | 2017-09-08 03:48:17 +0700 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2017-09-08 10:25:32 -0400 |
commit | 83c12fefd22fc2326a000019e5c1a33e90a874e8 (patch) | |
tree | ecb20136bf19e091a903dc955e3d2b0f9631b2eb /libavcodec/internal.h | |
parent | fde5c7dc79eb017790ba232442ad2a4eecea4bf1 (diff) | |
download | ffmpeg-83c12fefd22fc2326a000019e5c1a33e90a874e8.tar.gz |
avcodec/pthread_slice: add ff_slice_thread_execute_with_mainfunc()
Signed-off-by: Ilia Valiakhmetov <zakne0ne@gmail.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavcodec/internal.h')
-rw-r--r-- | libavcodec/internal.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/internal.h b/libavcodec/internal.h index e5824cc62d..faa923c11f 100644 --- a/libavcodec/internal.h +++ b/libavcodec/internal.h @@ -64,6 +64,10 @@ * dimensions to coded rather than display values. */ #define FF_CODEC_CAP_EXPORTS_CROPPING (1 << 4) +/** + * Codec initializes slice-based threading with a main function + */ +#define FF_CODEC_CAP_SLICE_THREAD_HAS_MF (1 << 5) #ifdef TRACE # define ff_tlog(ctx, ...) av_log(ctx, AV_LOG_TRACE, __VA_ARGS__) |