X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=ffmpeg%200.7%2Finclude%2Flibavutil%2Fcpu.h;h=da93fb5f69b9e2abed9135340533a189a88dca74;hb=f125bd720bf68257b9a0adbfc4ec1caef0596a2d;hp=ff0c2e64ac1e72f3573d9555125ee7b0e4e7d981;hpb=4f7058172b7b297e10aad63001a9f4521846b06e;p=casparcg diff --git a/ffmpeg 0.7/include/libavutil/cpu.h b/ffmpeg 0.7/include/libavutil/cpu.h index ff0c2e64a..da93fb5f6 100644 --- a/ffmpeg 0.7/include/libavutil/cpu.h +++ b/ffmpeg 0.7/include/libavutil/cpu.h @@ -46,9 +46,16 @@ */ 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); int ff_get_cpu_flags_x86(void); -#endif /* AVUTIL_CPU_H */ +#endif /* AVUTIL_CPU_H */