From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 81E684C4D0 for ; Thu, 13 Nov 2025 13:39:54 +0000 (UTC) Authentication-Results: ffbox; dkim=fail (body hash mismatch (got b'T7qFr4lJG63cWKqHYm4A1cxw5c/8WCfog5nSi7De1RQ=', expected b'W5JWS9420iFYC2A7LoClv33oSSU5OrnXJTElgzVu3Ak=')) header.d=ffmpeg.org header.i=@ffmpeg.org header.a=rsa-sha256 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ffmpeg.org; i=@ffmpeg.org; q=dns/txt; s=mail; t=1763041183; h=mime-version : to : date : message-id : reply-to : subject : list-id : list-archive : list-archive : list-help : list-owner : list-post : list-subscribe : list-unsubscribe : from : cc : content-type : content-transfer-encoding : from; bh=T7qFr4lJG63cWKqHYm4A1cxw5c/8WCfog5nSi7De1RQ=; b=c09qGA4Dw/IkbQr1Oi83tZFP5VHkDoa7Wet9Qqf2YX/Jr180kzXf+VNGez0e6R22SOV+R w6eXpERjqNZ4637DbbnQSi05fczgNQBoQhRWRW2nXsdFNZGHlWuDsxnE911g77vwiv3Z8t4 htDwFeU0uqdgIDdSdimerArD743glqcfIXu3Y7X15Gikt73OjztKtYO8f5aw9gWHXAAALo+ q1ebVvZ2ncbDGfx4zU4OD7bEetYxpR7CTBzsCyYeo/sITLWUxWmr9iXSGdg9xomwEjEVCe3 9heYkr1uzcWtdbZJbfq9bIgKdpTBGSt1ycggOkVcqQohhDDnMeGFy6pOypFA== Received: from [172.19.0.2] (unknown [172.19.0.2]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 6791368FDAD; Thu, 13 Nov 2025 15:39:43 +0200 (EET) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=ffmpeg.org; s=arc; t=1763041163; b=U+lxmQhS+gg08gsVhu8y++KpreAK6z5az56VRrMmGumJRJvW5OShd2BE0y+YbV2yHYmC5 uCQh+Q2lbBfz1kNR1CKL28hPpCLQRFYXNME6hnmAffKCpU3whwmblyWTnqpsPxeYdG4jt0j hm+M8BNKd7SHMHBsh58PZ9X2K3bxu+HMghDKue0/4a/0fncFDRqk/xu9n6v/nEzmrPpKvwp UCDyi+h22GIH9BbNI7gv/DecSptbROgsD2Jdvm72FTjIGnxiqpohfJr11RVAHs1ssmd5y7k 3YGQ14rjAVekfRMuu5jp5nxxTto3f3A8ZzRvdIlEGdE1Pj5OyeSNakPoUH6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=ffmpeg.org; s=arc; t=1763041163; h=from : sender : reply-to : subject : date : message-id : to : cc : mime-version : content-type : content-transfer-encoding : content-id : content-description : resent-date : resent-from : resent-sender : resent-to : resent-cc : resent-message-id : in-reply-to : references : list-id : list-help : list-unsubscribe : list-subscribe : list-post : list-owner : list-archive; bh=7rztPokP3+YWjT409zTHbMjllWXc9P9UDm2zG0RX7YM=; b=sKfQ+8j3lyzYSVFySZnZXCb/B/VI7+SrA0Ke91hVMCFKpfPt6cEnIEhyPO2LE2qkikzbx M9vy2i4L5ewy2+dPqz/FjvIrw1u/KAXGJRjT9sgIl8EzhfiXWKGAKWhqTLyA7iEYqwWMiGK D1cYhYh/mPiDBJR/d8vcbZsCbjWFejZU98svzX90E5dJ5XO0BZEHGunHNft5QeYy/jHBdPB vZez2JcevfbU5NsZ5jg8wmzuQe/kP1oguo51osBxU+zHsh9eMuwvABVovM98TxK9TzVz+e0 sOqaHfm265jSISDHLgAK7BW/t+AiEzAHY//wSTfhxdwbfKvTGLAOCLWJW1FQ== ARC-Authentication-Results: i=1; ffmpeg.org; dkim=pass header.d=ffmpeg.org header.i=@ffmpeg.org; arc=none; dmarc=pass header.from=ffmpeg.org policy.dmarc=quarantine Authentication-Results: ffmpeg.org; dkim=pass header.d=ffmpeg.org header.i=@ffmpeg.org; arc=none (Message is not ARC signed); dmarc=pass (Used From Domain Record) header.from=ffmpeg.org policy.dmarc=quarantine DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ffmpeg.org; i=@ffmpeg.org; q=dns/txt; s=mail; t=1763041154; h=content-type : mime-version : content-transfer-encoding : from : to : reply-to : subject : date : from; bh=W5JWS9420iFYC2A7LoClv33oSSU5OrnXJTElgzVu3Ak=; b=HNBUETV/5/Ki3BsThQJj3QdylLOaUjCKA1/IjFokh2icmiFxxjrKDiyg/fOVG4scw3i9M /vCULxOr1bgbfmDfTBtm7bVtG5qhQZt47t6Hmj52X0TGC2nQfnV7d6x0K5YWl66iSNIr7W1 DBE+vRDflRBYxii/QdUX3205V/DNODc+R79kER2FXj/UuXdspLqsfYhjvRDJbxhc+PfvhPL Q6UpU9T6/tf1ajUFQH2WjfNmzy29FuBI6SQ2PS07owfPNB9dED76tlqkT3YwIJRm6GqCNL4 +aFWp/PMO9yMTC7gatBr7mCHFXEQA8Kwdx79s0hptRddNO2nxNdHrhxWXnkg== Received: from 188d6d40ca7a (code.ffmpeg.org [188.245.149.3]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 89CF068FCC8 for ; Thu, 13 Nov 2025 15:39:14 +0200 (EET) MIME-Version: 1.0 To: ffmpeg-devel@ffmpeg.org Date: Thu, 13 Nov 2025 13:39:14 -0000 Message-ID: <176304115466.25.17127915265634992016@2cb04c0e5124> Message-ID-Hash: 4U5GDKTFWTSYF6UTMBUARG7VTRPTW3MY X-Message-ID-Hash: 4U5GDKTFWTSYF6UTMBUARG7VTRPTW3MY X-MailFrom: code@ffmpeg.org X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-ffmpeg-devel.ffmpeg.org-0; header-match-ffmpeg-devel.ffmpeg.org-1; header-match-ffmpeg-devel.ffmpeg.org-2; header-match-ffmpeg-devel.ffmpeg.org-3; emergency; member-moderation X-Mailman-Version: 3.3.10 Precedence: list Reply-To: FFmpeg development discussions and patches Subject: [FFmpeg-devel] [PATCH] avutil/cpu: Deprecate AV_CPU_FLAG_FORCE (PR #20911) List-Id: FFmpeg development discussions and patches Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: mkver via ffmpeg-devel Cc: mkver Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Archived-At: List-Archive: List-Post: PR #20911 opened by mkver URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20911 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20911.patch This flag does nothing since the deactivation of the dsp_mask field of AVCodecContext in commits 9ae6ba288368be42dbd77613e07255d38bbba40e and 9ae6ba288368be42dbd77613e07255d38bbba40e (it has been superseded with better ways to override the CPU flags). So deprecate it. (Missing version bump in this patch.) >>From 7b3aab3ba620eb7a470509b3dc7ccf61c813cd79 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Thu, 13 Nov 2025 14:16:30 +0100 Subject: [PATCH] avutil/cpu: Deprecate AV_CPU_FLAG_FORCE This flag does nothing since the deactivation of the dsp_mask field of AVCodecContext in commits 9ae6ba288368be42dbd77613e07255d38bbba40e and 9ae6ba288368be42dbd77613e07255d38bbba40e (it has been superseded with better ways to override the CPU flags). So deprecate it. Signed-off-by: Andreas Rheinhardt --- doc/APIchanges | 3 +++ libavutil/cpu.h | 4 +++- libavutil/version.h | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/APIchanges b/doc/APIchanges index 9d128ae77b..fafda4d063 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -2,6 +2,9 @@ The last version increases of all libraries were on 2025-03-28 API changes, most recent first: +2025-11-13 - xxxxxxxxxx - lavu 60.yy.100 - cpu.h + Deprecate AV_CPU_FLAG_FORCE without replacement. + 2025-11-01 - xxxxxxxxxx - lavc 62.19.100 - avcodec.h Schedule AVCodecParser and av_parser_init() to use enum AVCodecID for codec ids on the next major version bump. diff --git a/libavutil/cpu.h b/libavutil/cpu.h index 5ef5da58eb..a06fc08e56 100644 --- a/libavutil/cpu.h +++ b/libavutil/cpu.h @@ -24,7 +24,9 @@ #include #include "version.h" -#define AV_CPU_FLAG_FORCE 0x80000000 /* force usage of selected flags (OR) */ +#if FF_API_CPU_FLAG_FORCE +#define AV_CPU_FLAG_FORCE 0x80000000 /* @deprecated, should not be used */ +#endif /* lower 16 bits - CPU features */ #define AV_CPU_FLAG_MMX 0x0001 ///< standard MMX diff --git a/libavutil/version.h b/libavutil/version.h index b16b88bfca..4879f1e0c4 100644 --- a/libavutil/version.h +++ b/libavutil/version.h @@ -110,6 +110,7 @@ #define FF_API_VULKAN_FIXED_QUEUES (LIBAVUTIL_VERSION_MAJOR < 61) #define FF_API_OPT_INT_LIST (LIBAVUTIL_VERSION_MAJOR < 61) #define FF_API_OPT_PTR (LIBAVUTIL_VERSION_MAJOR < 61) +#define FF_API_CPU_FLAG_FORCE (LIBAVUTIL_VERSION_MAJOR < 61) /** * @} -- 2.49.1 _______________________________________________ ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org