[FFmpeg-devel] [PATCH v2] libpostproc: deprecate the AMD 3DNow! define
Sean McGovern
gseanmcg at gmail.com
Fri Apr 11 16:52:22 EEST 2025
It was left unreferenced in 1f0948272a0fcd0e4947f629b600983f3338c02f.
---
libpostproc/postprocess.h | 2 ++
libpostproc/version.h | 2 ++
2 files changed, 4 insertions(+)
diff --git a/libpostproc/postprocess.h b/libpostproc/postprocess.h
index 5decb7e8a9..7010c2b51b 100644
--- a/libpostproc/postprocess.h
+++ b/libpostproc/postprocess.h
@@ -87,7 +87,9 @@ void pp_free_context(pp_context *ppContext);
#define PP_CPU_CAPS_MMX 0x80000000
#define PP_CPU_CAPS_MMX2 0x20000000
+#if PP_AMD_3DNOW
#define PP_CPU_CAPS_3DNOW 0x40000000
+#endif
#define PP_CPU_CAPS_ALTIVEC 0x10000000
#define PP_CPU_CAPS_AUTO 0x00080000
diff --git a/libpostproc/version.h b/libpostproc/version.h
index bcbdd210c4..5a272630bf 100644
--- a/libpostproc/version.h
+++ b/libpostproc/version.h
@@ -43,4 +43,6 @@
#define LIBPOSTPROC_IDENT "postproc" AV_STRINGIFY(LIBPOSTPROC_VERSION)
+#define PP_AMD_3DNOW (LIBPOSTPROC_VERSION_MAJOR < 60)
+
#endif /* POSTPROC_VERSION_H */
--
2.39.5
More information about the ffmpeg-devel
mailing list