[FFmpeg-devel] [PATCH v3] libpostproc: deprecate the AMD 3DNow! define
Sean McGovern
gseanmcg at gmail.com
Mon Apr 14 21:54:57 EEST 2025
It was left unreferenced in 1f0948272a0fcd0e4947f629b600983f3338c02f.
---
libpostproc/postprocess.h | 2 ++
libpostproc/version_major.h | 2 ++
2 files changed, 4 insertions(+)
diff --git a/libpostproc/postprocess.h b/libpostproc/postprocess.h
index 5decb7e8a9..e210e93b11 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 FF_POSTPROC_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_major.h b/libpostproc/version_major.h
index b40b251a73..af1ccf8f4c 100644
--- a/libpostproc/version_major.h
+++ b/libpostproc/version_major.h
@@ -28,4 +28,6 @@
#define LIBPOSTPROC_VERSION_MAJOR 59
+#define FF_POSTPROC_AMD_3DNOW (LIBPOSTPROC_VERSION_MAJOR < 60)
+
#endif /* POSTPROC_VERSION_MAJOR_H */
--
2.39.5
More information about the ffmpeg-devel
mailing list