X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavutil%2Fcpu.h;h=b555422daeb2fe70b43b0aab427cb89843316a15;hb=8b3e6ce5f4ab1ebf3a54ff7e0ff440a1a5f842f7;hp=83099dd9697308671ee318cc955a1558d889c7e2;hpb=e387fcd01cb84d9493f3b96158addd2a85f086c6;p=ffmpeg diff --git a/libavutil/cpu.h b/libavutil/cpu.h index 83099dd9697..b555422daeb 100644 --- a/libavutil/cpu.h +++ b/libavutil/cpu.h @@ -23,8 +23,6 @@ #include -#include "attributes.h" - #define AV_CPU_FLAG_FORCE 0x80000000 /* force usage of selected flags (OR) */ /* lower 16 bits - CPU features */ @@ -88,25 +86,6 @@ int av_get_cpu_flags(void); */ void av_force_cpu_flags(int flags); -/** - * Set a mask on flags returned by av_get_cpu_flags(). - * This function is mainly useful for testing. - * Please use av_force_cpu_flags() and av_get_cpu_flags() instead which are more flexible - */ -attribute_deprecated void av_set_cpu_flags_mask(int mask); - -/** - * Parse CPU flags from a string. - * - * The returned flags contain the specified flags as well as related unspecified flags. - * - * This function exists only for compatibility with libav. - * Please use av_parse_cpu_caps() when possible. - * @return a combination of AV_CPU_* flags, negative on error. - */ -attribute_deprecated -int av_parse_cpu_flags(const char *s); - /** * Parse CPU caps from a string and update the given AV_CPU_* flags based on that. *