summaryrefslogtreecommitdiff
path: root/libavutil/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/cpu.h')
-rw-r--r--libavutil/cpu.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavutil/cpu.h b/libavutil/cpu.h
index b555422dae..c069076439 100644
--- a/libavutil/cpu.h
+++ b/libavutil/cpu.h
@@ -99,6 +99,12 @@ int av_parse_cpu_caps(unsigned *flags, const char *s);
int av_cpu_count(void);
/**
+ * Overrides cpu count detection and forces the specified count.
+ * Count < 1 disables forcing of specific count.
+ */
+void av_force_cpu_count(int count);
+
+/**
* Get the maximum data alignment that may be required by FFmpeg.
*
* Note that this is affected by the build configuration and the CPU flags mask,