From patchwork Thu Mar 28 23:10:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 47619 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:9f96:b0:1a3:b6bb:3029 with SMTP id mm22csp1667580pzb; Thu, 28 Mar 2024 16:12:02 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWtv+B52+NmWMBgvOSSt2LVLozq00ZQUZRqVUt8x9fhBSDPnqw1keNua27LDLttRZV/V3T6Ilt8+6dx0wklhniIUbQjaQOIyAQYvg== X-Google-Smtp-Source: AGHT+IE4ic8QMW7YGWLtQRpLsaa9E6yfQHlMf4fwThAYTe9MeUtOCkNbp9yEKSn00ExJDMlObJOK X-Received: by 2002:a05:6402:268c:b0:56c:1f33:84d6 with SMTP id w12-20020a056402268c00b0056c1f3384d6mr497658edd.3.1711667522337; Thu, 28 Mar 2024 16:12:02 -0700 (PDT) Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id e19-20020a50a693000000b005666d5f394fsi1220290edc.231.2024.03.28.16.11.54; Thu, 28 Mar 2024 16:12:02 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@outlook.com header.s=selector1 header.b=Ce3CVzPx; arc=fail (body hash mismatch); spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id F183368D76D; Fri, 29 Mar 2024 01:11:24 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05olkn2063.outbound.protection.outlook.com [40.92.90.63]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 6856368D74F for ; Fri, 29 Mar 2024 01:11:20 +0200 (EET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dueooYtEvq0KUUaxKRMoilIRhPJgZT/2oAHmAmuyzN/W3/XShQLGOlQXWV2BhhcPJae1/9XYr8ztbv54j3/K8ighYi3wsWctIS9gve3mo0B1c8Vex/JZ0GV4VBmCDoOhM4TM9RPyMr4K1zipSCfXyXXT0ax0GGLHX3jv3jJg3d0bfVNWHXR9FYSK80ZGek54ZAIpUhIqVPzOHdfFNXR2B9HUPjnLyMoG8ktLHmx0kBa0bK66qylPEY5LQKwuOzNUAOHP/ELDS3tAC3m/1tmi25E7P2THuodY7qOBji6oyWcvE8LyEIzyxpKtH7BMNc9axYcuM7ey1crnn0lbgs/vpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=MSfcR9744Tpe5EJm1uZo1yGAElmhvDEo0FS3DxqMm+o=; b=RCZF+fWD8HOJgyrF9KOdrRXrXcygwT2Bqqr2167n+QU8+CmNUXC05Xi0GO9duy2TH2GLft5J4LfHm5Z5mqCbMK9e3wOttW1kpaWQndi4gjdArzSo8bkmHSoiWsgjJYIsGfASHaRNdZfxVHvOq+jC+Xk3e1htmNL4tOuANBs41mxyW7mVz9fNgrxCl6cntdpqzESzEfxa+MaMlmxHFqAzIRHPC60d5f/TaEnztemT65vcF7eBgTxMiObE59jWl6743KfZfTsMLPioM4I5UTXLH/N0dA418RRXplJHNggtJpxQjjFOvSoXIEXET3KcflBBYvJtElvg3KjNgOI0bfpMqQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MSfcR9744Tpe5EJm1uZo1yGAElmhvDEo0FS3DxqMm+o=; b=Ce3CVzPx7ok7KT4DCyA/QJkt7XkdaRFsPf7w4Djbrd211Ek7VBTrUnKLXTWzE05s2xwbNGcMXjXTVoPZZE+B9IAAdKMCwcnxgS8CAgfXKmz8SYXYiC0MZsQt54kuT+VIoHieaq19kqsb0dGH2hEFMWmh2k+7k9w6sIIGkmfT8b3bOYWlWRgtzE9IFKQevKVREzWpC2/6TYw3R77EgEwqZSTY26LyJy+G1xdwKAn1pipPdoxy6DIb8+H4FNNy3bQq8Hmg4HuAZ09osLi41Fok+2u8EkHK02A8BW0pMSDPnc4yuKz7c/jb26XxxgsB80C2wDvoc6TdGb4LDZEORBaptg== Received: from AS8P250MB0744.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:541::14) by AS1P250MB0553.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:4af::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.31; Thu, 28 Mar 2024 23:11:14 +0000 Received: from AS8P250MB0744.EURP250.PROD.OUTLOOK.COM ([fe80::1f29:8206:b8c3:45bb]) by AS8P250MB0744.EURP250.PROD.OUTLOOK.COM ([fe80::1f29:8206:b8c3:45bb%3]) with mapi id 15.20.7409.039; Thu, 28 Mar 2024 23:11:14 +0000 From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Fri, 29 Mar 2024 00:10:36 +0100 Message-ID: X-Mailer: git-send-email 2.40.1 In-Reply-To: References: X-TMN: [m1a+q6fbVA4Xbz3g1RAlpFdYl4ASbTbn+LMPfJnxHDA=] X-ClientProxiedBy: ZR0P278CA0093.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:23::8) To AS8P250MB0744.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:541::14) X-Microsoft-Original-Message-ID: <20240328231047.2202386-6-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8P250MB0744:EE_|AS1P250MB0553:EE_ X-MS-Office365-Filtering-Correlation-Id: fb25757a-1bd8-483a-c37a-08dc4f7c5d48 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HElnPzJuk1t0sq7rmcdOXLeltCyJm1UD1LLp/HzIiI6M5R401Z19+ZHshpbWyPpIlpA7lRvwEwRBfT5Pahgx37XEAQtscRyJUDxdyQc87D72+7PWgAwbJCiJ4t0+ylvzmIv18q9qpLeoSRCyXBGm9PgYbNHGw41FfeHZimxaxPzC+XlXeuJICr4Jp6u/S80ib+82fCSWDnssC/ItWmAnGBxMIuFxmii94l1LURJoAgyV1iDV1/pU6AKQ1rJ+HESuMXnmF4osvaIeOdyf2lpRHYE1SX1OmBCZAiRifkC/kUMVk1CWONYTafIVEfBb1PNQgchl84I1CVJZCDwxuLs2It4cw0/Kt5r/EJjqdgRSn6z+4Qc+RliCMqzVvvyDUBmn7WTHZ4AidXzxv55anr0+gYir0V2NtP02ACW5dNmlT1YNO2nqJVFCiuJ5KK1I64YHNClrw+zUhCjstceD7IzodSyumLmqizrTBdQmSNYfX+cAf8j40C5+WLkNwNPYU+a41PoiuIVaJSvuiVRvIf37Lqnt2q4EaO5IDuA8Ip9oc8q3n1tG226Z+GrdupzHfkCtVVCrR0xcfqJ6TxyH2Cle9iCsY5oepCJjCEs7MmXUCBwxav2rTVYgb0O1syJfJdlS X-MS-Exchange-AntiSpam-MessageData-ChunkCount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qlL4zwztUUef8Fjsw2+DWlVRvrZGsAk3oSio9buBz1wmRA0GKvuMhSBWrlMWKOJY6RxmCuMMdtGfeA5ekuDTmOtJXMc7up3smHnrSiomSpDxSCjI9WmEIEx44a88JaOm7CVDdJMxJOWrniob2jccvZk7MJolz/FKztacwDhpoOAJH44jec+w0GyLMbLN1yuowRECIEv49OCuqNI4j+Y4DUPyj0eelK7GE1ZkAbi98mDsx6v+dvQBOLEWQ== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: fb25757a-1bd8-483a-c37a-08dc4f7c5d48 X-MS-Exchange-CrossTenant-AuthSource: AS8P250MB0744.EURP250.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Mar 2024 23:11:14.1494 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS1P250MB0553 Subject: [FFmpeg-devel] [PATCH 07/18] swscale/swscale_internal: Only include altivec header iff HAVE_ALTIVEC X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Andreas Rheinhardt Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: IirUlRPC/W9/ Signed-off-by: Andreas Rheinhardt --- libswscale/swscale_internal.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h index abeebbb002..2f6cc70946 100644 --- a/libswscale/swscale_internal.h +++ b/libswscale/swscale_internal.h @@ -34,7 +34,9 @@ #include "libavutil/pixfmt.h" #include "libavutil/pixdesc.h" #include "libavutil/slicethread.h" +#if HAVE_ALTIVEC #include "libavutil/ppc/util_altivec.h" +#endif #include "libavutil/half2float.h" #define STR(s) AV_TOSTRING(s) // AV_STRINGIFY is too long