Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Valiakhmetov <zakne0ne@gmail.com>2017-09-07 23:48:17 +0300
committerRonald S. Bultje <rsbultje@gmail.com>2017-09-08 17:25:32 +0300
commit83c12fefd22fc2326a000019e5c1a33e90a874e8 (patch)
treeecb20136bf19e091a903dc955e3d2b0f9631b2eb /libavcodec/internal.h
parentfde5c7dc79eb017790ba232442ad2a4eecea4bf1 (diff)
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.h4
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__)