diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-06-02 16:09:22 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-06-02 21:03:54 +0200 |
commit | 5ad38d93e86e66b29b329c04cdc86f22a96b7db3 (patch) | |
tree | e9deb7e483d84722702ce3099a0d769bf3655682 /libavutil/cpu.h | |
parent | 9e66b64c360568a91faa84d0cda96ab93c467502 (diff) | |
download | ffmpeg-5ad38d93e86e66b29b329c04cdc86f22a96b7db3.tar.gz |
cpudetect: add av_force_cpu_flags()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/cpu.h')
-rw-r--r-- | libavutil/cpu.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavutil/cpu.h b/libavutil/cpu.h index 4ec3a27d7c..da93fb5f69 100644 --- a/libavutil/cpu.h +++ b/libavutil/cpu.h @@ -46,6 +46,13 @@ */ int av_get_cpu_flags(void); + +/** + * Disables cpu detection and forces the specified flags. + */ +void av_force_cpu_flags(int flags); + + /* The following CPU-specific functions shall not be called directly. */ int ff_get_cpu_flags_arm(void); int ff_get_cpu_flags_ppc(void); |