summaryrefslogtreecommitdiff
path: root/libavutil/cpu.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-04-26 22:24:58 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-04-26 22:24:58 +0200
commite890b689628634d75e093b24ae257b008fc85443 (patch)
treeaf2189297e3da55438dc0e968633a8a2806fb5fd /libavutil/cpu.h
parentf1f5b39866c4deb7800aa9288010cdbd386da477 (diff)
parent0a07f2b346433a9a2677c69c6b29a1a827e39109 (diff)
Merge remote-tracking branch 'qatar/master'
* qatar/master: dsputil: fix invalid array indexing configure: add libavresample to rpath build: icc: silence some warnings fft-test: add option to set cpuflag mask cpu: recognise only cpu flag names pertinent to the architecture avutil: add av_parse_cpu_flags() function vp8: armv6: fix non-armv6t2 build vp8: armv6 optimisations vp8: arm: separate ARMv6 functions from NEON ARM: add some compatibility macros mov: support eac3 audio avf: fix faulty check in has_duration Conflicts: configure doc/APIchanges ffmpeg.c libavcodec/arm/Makefile libavcodec/arm/asm.S libavcodec/arm/vp8dsp_armv6.S libavcodec/arm/vp8dsp_init_arm.c libavutil/avutil.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/cpu.h')
-rw-r--r--libavutil/cpu.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavutil/cpu.h b/libavutil/cpu.h
index f1c9a96544..4a86e6e9b3 100644
--- a/libavutil/cpu.h
+++ b/libavutil/cpu.h
@@ -72,6 +72,13 @@ void av_force_cpu_flags(int flags);
*/
attribute_deprecated void av_set_cpu_flags_mask(int mask);
+/**
+ * Parse CPU flags from a string.
+ *
+ * @return a combination of AV_CPU_* flags, negative on error.
+ */
+int av_parse_cpu_flags(const char *s);
+
/* The following CPU-specific functions shall not be called directly. */
int ff_get_cpu_flags_arm(void);
int ff_get_cpu_flags_ppc(void);