diff options
author | Brad Smith <brad@comstyle.com> | 2024-09-21 05:00:41 -0400 |
---|---|---|
committer | Brad Smith <brad@comstyle.com> | 2024-09-28 18:50:08 -0400 |
commit | 6ec6b0790021c5871016f57ac33d54bb6cab7a7d (patch) | |
tree | 9124f2c15def9da0d41c7c720d9f67c26a14bbfd /libavutil/cpu.c | |
parent | 2f77ecc6bc7dbc832cee4f0fe4d219fb172f775f (diff) | |
download | ffmpeg-6ec6b0790021c5871016f57ac33d54bb6cab7a7d.tar.gz |
ppc: Recognize the PPC VSX and Power8 CPU flags
Signed-off-by: Brad Smith <brad@comstyle.com>
Diffstat (limited to 'libavutil/cpu.c')
-rw-r--r-- | libavutil/cpu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/cpu.c b/libavutil/cpu.c index e16ebc0d38..f1184192be 100644 --- a/libavutil/cpu.c +++ b/libavutil/cpu.c @@ -120,6 +120,8 @@ int av_parse_cpu_caps(unsigned *flags, const char *s) { "flags" , NULL, 0, AV_OPT_TYPE_FLAGS, { .i64 = 0 }, INT64_MIN, INT64_MAX, .unit = "flags" }, #if ARCH_PPC { "altivec" , NULL, 0, AV_OPT_TYPE_CONST, { .i64 = AV_CPU_FLAG_ALTIVEC }, .unit = "flags" }, + { "vsx" , NULL, 0, AV_OPT_TYPE_CONST, { .i64 = AV_CPU_FLAG_VSX }, .unit = "flags" }, + { "power8" , NULL, 0, AV_OPT_TYPE_CONST, { .i64 = AV_CPU_FLAG_POWER8 }, .unit = "flags" }, #elif ARCH_X86 { "mmx" , NULL, 0, AV_OPT_TYPE_CONST, { .i64 = AV_CPU_FLAG_MMX }, .unit = "flags" }, { "mmx2" , NULL, 0, AV_OPT_TYPE_CONST, { .i64 = AV_CPU_FLAG_MMX2 }, .unit = "flags" }, |