Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
To: ffmpeg-devel@ffmpeg.org
Subject: Re: [FFmpeg-devel] [PATCH v2] libpostproc: deprecate the AMD 3DNow! define
Date: Mon, 14 Apr 2025 22:02:06 +0200
Message-ID: <GV1P250MB07372355826C0087EDBB80248FB32@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <CAPBf_OmuuvTztOSa00q3yM5CeSFh1G5jL+MYPAUsOHn_+QcfXQ@mail.gmail.com>

Sean McGovern:
> Hi,
> 
> 
> On Fri, Apr 11, 2025, 09:52 Sean McGovern <gseanmcg@gmail.com> wrote:
> 
>> 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)

defines like PP_AMD_3DNOW are not part of the public API and therefore
use an FF_ prefix (actually FF_API_ prefix).

>> +
>>  #endif /* POSTPROC_VERSION_H */
>> --
>> 2.39.5
>>
> 
> Did I do this correctly this time?

You forgot the APIchanges entry as well as the minor version bump.

> 
> Also it seems a bit much to wait a year or more for this to be actually
> removed. Can it instead be keyed to the next minor bump, or is this against
> some guarantee we give our downstreams?
> 
Actually, you should bump minor with the deprecation. And yes, this is
against the API guarantee for our downstreams. See lavu/avutil.h.

- Andreas

_______________________________________________
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".

  reply	other threads:[~2025-04-14 20:02 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 ` [FFmpeg-devel] [PATCH v2] libpostproc: deprecate the " Sean McGovern
2025-04-13 15:34   ` Sean McGovern
2025-04-14 20:02     ` Andreas Rheinhardt [this message]
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=GV1P250MB07372355826C0087EDBB80248FB32@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM \
    --to=andreas.rheinhardt@outlook.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