Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Sean McGovern <gseanmcg@gmail.com>
To: ffmpeg-devel@ffmpeg.org
Subject: [FFmpeg-devel] [PATCH v2] libpostproc: deprecate the AMD 3DNow! define
Date: Fri, 11 Apr 2025 09:52:22 -0400
Message-ID: <20250411135222.720908-1-gseanmcg@gmail.com> (raw)
In-Reply-To: <20250411131205.718305-1-gseanmcg@gmail.com>

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

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

  parent reply	other threads:[~2025-04-11 13:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-11 13:12 [FFmpeg-devel] [PATCH] libpostproc: remove " Sean McGovern
2025-04-11 13:17 ` Andreas Rheinhardt
2025-04-11 13:23   ` Sean McGovern
2025-04-11 13:32     ` Nicolas George
2025-04-11 13:33     ` Andreas Rheinhardt
2025-04-11 13:52 ` Sean McGovern [this message]
2025-04-13 15:34   ` [FFmpeg-devel] [PATCH v2] libpostproc: deprecate the " Sean McGovern
2025-04-14 20:02     ` Andreas Rheinhardt
2025-04-15 17:31       ` [FFmpeg-devel] [PATCH v4] " Sean McGovern
2025-04-16  8:04         ` Andreas Rheinhardt
2025-04-14 18:54   ` [FFmpeg-devel] [PATCH v3] " Sean McGovern

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250411135222.720908-1-gseanmcg@gmail.com \
    --to=gseanmcg@gmail.com \
    --cc=ffmpeg-devel@ffmpeg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git