[FFmpeg-cvslog] avutil/cpu: add aarch64 entries to 2nd table
Michael Niedermayer
git at videolan.org
Mon Aug 11 19:12:39 CEST 2014
ffmpeg | branch: release/2.2 | Michael Niedermayer <michaelni at gmx.at> | Wed Aug 6 13:59:18 2014 +0200| [ffc66ac0d641f3527d2f910dc3d37ea558513407] | committer: Michael Niedermayer
avutil/cpu: add aarch64 entries to 2nd table
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit efc4fe9d74a5040e465dbff80b29468dbc227c19)
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ffc66ac0d641f3527d2f910dc3d37ea558513407
---
libavutil/cpu.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavutil/cpu.c b/libavutil/cpu.c
index d6d93a3..f4d3d14 100644
--- a/libavutil/cpu.c
+++ b/libavutil/cpu.c
@@ -224,6 +224,9 @@ int av_parse_cpu_caps(unsigned *flags, const char *s)
{ "vfp", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = AV_CPU_FLAG_VFP }, .unit = "flags" },
{ "vfpv3", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = AV_CPU_FLAG_VFPV3 }, .unit = "flags" },
{ "neon", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = AV_CPU_FLAG_NEON }, .unit = "flags" },
+#elif ARCH_AARCH64
+ { "neon", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = AV_CPU_FLAG_NEON }, .unit = "flags" },
+ { "vfp", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = AV_CPU_FLAG_VFP }, .unit = "flags" },
#endif
{ NULL },
};
More information about the ffmpeg-cvslog
mailing list