[FFmpeg-cvslog] libpostproc: deprecate the AMD 3DNow! define
Sean McGovern
git at videolan.org
Wed Apr 16 14:10:29 EEST 2025
ffmpeg | branch: master | Sean McGovern <gseanmcg at gmail.com> | Fri Apr 11 09:52:22 2025 -0400| [c818c67991a619d206f109ad11328553edeb0d39] | committer: Michael Niedermayer
libpostproc: deprecate the AMD 3DNow! define
It was left unreferenced in 1f0948272a0fcd0e4947f629b600983f3338c02f.
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c818c67991a619d206f109ad11328553edeb0d39
---
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 */
More information about the ffmpeg-cvslog
mailing list