From patchwork Thu Aug 31 22:22:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 43422 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:299e:b0:149:dfde:5c0a with SMTP id f30csp571680pzh; Thu, 31 Aug 2023 15:22:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFLgV8n9TY1OBI/Q9We/lpWG0f6TTVL877Wzdg5Wdhs7GylbCpFUITmtG3PmcgoWTkWqdje X-Received: by 2002:a17:907:7615:b0:9a1:abae:8d30 with SMTP id jx21-20020a170907761500b009a1abae8d30mr363899ejc.47.1693520542697; Thu, 31 Aug 2023 15:22:22 -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 f18-20020a170906825200b009a0d51ef902si1534878ejx.409.2023.08.31.15.22.22; Thu, 31 Aug 2023 15:22:22 -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=PzPjZBfK; 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 83FC068C81F; Fri, 1 Sep 2023 01:21:49 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01olkn2047.outbound.protection.outlook.com [40.92.65.47]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id A543368C806 for ; Fri, 1 Sep 2023 01:21:40 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AyYREE6ZRGLp+cRNNl/uThUDkP+alwyGucvH2R98i5VV+xrouqMA90zABWAXeK8GlqvCgUaXv0pHJdXtxsLIdvUWG6mPVEdyXHZWP5+utZmchgaFmIFuzV/ZiEqR0C10qmggjroB0BqohMntNvNYe3YGLQTascNEd7J2UUWGRoIfe+iF+f5jVy/bcduRnlo1vVOQhpP1RCqd40eYquHYaOxt/vTdYvFuK2alfA91+xeUH1foP4uOdD0BIvY0XCkq+QLBbj9l3qh4T3+0ws2xDXfonnK4FlRmFY/pQtAjcrLPimtH5CyF11L5fBQEJzn468YjpEcgRdvNlfJNvvPZOA== 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=0Zn+qQx+af4VXZveG2tZBcF2L3wB3ZnifiHNI6U2AUk=; b=c85XyKMILNtpri3w6nc+GIn1WC/EAP6TdlLOF37mnF7wf3x/oDudBujyB34A5eent+U5rg/4RxjYSunKbrqKhnr3pQmI84HsGNggPzAi0bweVMwtZh+HOX++G3B4xB1vMLvb05TqdFQjrwqLptIiCEp36vMM9HubKJ6bnYgAgCzmpp5qeRoiyzzTJXv6V/AbbZGJ+PoKy5MVrrby2sbg88nBEy+JWkt13IZgDm7PazGHmVugodpPBroVYBhVXdCo6bt1SFVoNLprFq6gK1PA25ZkNgmcChwjwFDIASDykkfdvM449wvVh0DMpApvokJOHltdePqkGhMplkk94cCiKw== 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=0Zn+qQx+af4VXZveG2tZBcF2L3wB3ZnifiHNI6U2AUk=; b=PzPjZBfKvdfTUFplf0GKxPBSHgBXaRR7GfE2hPGDFr9ydE3Sw5KV5Q2AroRGxtw89wDJ+55vKjKsoZuzIM9gtBvkuZAU40I+dmmCJQcSohHm6cUcu8czeC8/p40Zw8KeBRgrwTtW34IVhgmpiM2FzfmUtUxwTBC7oZNx6rl56/t97m1KenCB9tDSsXuSPSQRmQb8rUudwqNCJoV5jKiRYhBpFJ9uZajVT4HdF+U8k4bJo8SyuKHE+g0rHBehS/kVHq3zZSMGjSrvAHe07+rTDBu64GDJs9GiSbBM7qGXuZxKKj8UwaQ09PZJl0fLaQ3m6/aj5wIwXUndY9liPUoTpw== Received: from AS8P250MB0744.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:541::14) by DU2P250MB0254.EURP250.PROD.OUTLOOK.COM (2603:10a6:10:27a::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6745.21; Thu, 31 Aug 2023 22:21:31 +0000 Received: from AS8P250MB0744.EURP250.PROD.OUTLOOK.COM ([fe80::5e01:aea5:d3a8:cafa]) by AS8P250MB0744.EURP250.PROD.OUTLOOK.COM ([fe80::5e01:aea5:d3a8:cafa%3]) with mapi id 15.20.6699.034; Thu, 31 Aug 2023 22:21:31 +0000 From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Fri, 1 Sep 2023 00:22:27 +0200 Message-ID: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: X-TMN: [A8O7RKSZ20w005XPgzJK4TVrUtwEu1fiYdWv3cyiIHQ=] X-ClientProxiedBy: ZR2P278CA0085.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:65::7) To AS8P250MB0744.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:541::14) X-Microsoft-Original-Message-ID: <20230831222235.4160923-4-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8P250MB0744:EE_|DU2P250MB0254:EE_ X-MS-Office365-Filtering-Correlation-Id: c96e0789-dca5-4f57-18c2-08dbaa70a09c X-MS-Exchange-SLBlob-MailProps: mWtqiNqNgRsL0+9RtTrgguGTkNZds90/DOm4HaFLXeVgPJxMRcZYbLPgGPtNKOp8EmNfIxeHkHsIDFkkgORhXbgyJrm8hRrDj60ored99jTAOmNke1IAeGq3WUrkH+nRl31ULAWC/jNuKMZm097a3OrQakY1wSEEDvl+1qgkBL8pjkGb2Vn2x/N8ugTNoy9gDKXNcFcNL48ZF62zOUbMOWOq/xC+KYkSrW1TzIYVE4kT14t0zD81IV2JolMu7BQvCuOyDfEe7bXi2zDp/bkfSmGxVst9n/+4coNU8+tdDsz8KEw62lZVEH8rTQpez9lUtn522Bh+tcZKazMauf2kblOl2zY6VqDNqNrynH07GmLtBQOfczBp0F171FTDIZX/vItyPyUBq4l2OpB+8jm8gWArddzoKWPWjGDnhBzwn8VgjK2SrFDEfHUTE2k4HbkcxydFwafXPcFwpLDbyajtJ/Sh08m9SBWNrh02QwPuQtB4gBLaFTwsUeq2BL4/duK0iHsEu7CiTulgNZeQQNtCKCd3HwqUKxFnVjcFts/EYKeWXxE6s01v6Eap9ioJ2mcsmjh+VQYqomBrZm2a9RseD7TjxeS7zEWTLj5emUzk54hxnl50GSxiXQqPQdPYwv6D5hJkRHYbqGnjHuvzpx9TVcAtsPS8sxi7uvQ4Y1lyij7CqMf7ZeMVVgzS54bHkWvomZkejwL5tDsaHAtwHm/NGOs/dTZTB5Mn6/7h9CQxlr9e5VAxuHee3yxNMBOl5mRlexW37sq6TSbhprIcsq0KKqkRxTz3hJo2dnJlrKpg1qY= X-Microsoft-Antispam: BCL:0; X-Micros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SMJKoysLHnpIT6u12kXSp0QkeuoK2W9HZVCfY/6wzrGZH4qb75Hgd5q2eSbFe4BUv8CnW9cevasErZbu9YOa9cXMKG4eoiBRWG0X3oZ6kjv8GpoNyDRkQlgkHXybgh7Q4ZSX0ZF+gDmT5se3o651k+y0xfc4O0NLrDWjCXtT1UnNM/h6AsM9Z49v6FTkr8Df5D0i4yCzKZI56OVAPToO8SmpacyuUSEsDCCHCBDsYuNF6H9d0Fc+5XG5vMl4maHdgjL5eQmAnX2yLUKddli0UoXl+fprLeegGTzNtbf4gczHunOmRkiozyyJ1wsDY4t+fCafL/QJO2Erd71CzhAMR5QRqQNK/UUBpyCseBuIhDIFKyF1wvK0x4i7JxYjL9gWJsoPHOnjwwlaIQyflas3BLRbkFiy1H88NB7vfwmRXCv5jwSisnBjnMbEuRI33ftP6d/7OynOVBykXYPcphTwT3EKkKmi/xvV9mI50SWJtdu/VylXpGnsuWIbHGOPFOjkA7MyMX5cillulap/ZKdpO5ukYVBp4UHy05PLSCEG5f1yUcd9Ke+HAyjDp5qZBCHcS9gE2qKWuBIsOOMMYe4QrSXGbLTTqdzNijDtki8z2f2B5cVDLymySQFDgQZuTvXnC9UgwCoFKfDFv1LF+VOjrrvX4oRyD1JDHXNuTt+rvyAT+zeamAPhf54utuJjPJ0vNOqkDHhuy+HAQA8W+a03arKzYA1KPa8Zv8y5jY837yJ90pyfU7hwUm2FuN7Q1iVO8OMmOC8RNyD6jJM1ueCE4KJMlo4A9ma7dSDYz5jnjSjHgBchO1ItGGwRx74tHQeX/TiFL81PCTfyqD11xxT8J0SdwAxmFt5Lq2oBitXxequ/zSWSYp0Q+yDrzTtFB3sij9R68wf4PowSVHYLhx X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c96e0789-dca5-4f57-18c2-08dbaa70a09c X-MS-Exchange-CrossTenant-AuthSource: AS8P250MB0744.EURP250.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Aug 2023 22:21:31.3501 (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: DU2P250MB0254 Subject: [FFmpeg-devel] [PATCH 05/13] avfilter/afir_template: Remove unnecessary emms_c() 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: qxI6u5kDLSAf The floating point dsp code does not use MMX registers since 2718a3be1f8867fd4f6cb3f452d6917838b1ed88. Signed-off-by: Andreas Rheinhardt --- libavfilter/afir_template.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavfilter/afir_template.c b/libavfilter/afir_template.c index 099fda2520..9a11ec2fa6 100644 --- a/libavfilter/afir_template.c +++ b/libavfilter/afir_template.c @@ -318,7 +318,6 @@ static int fn(fir_quantum)(AVFilterContext *ctx, AVFrame *out, int ch, int ioffs #else s->fdsp->vector_dmul_scalar(src + input_offset, in, dry_gain, FFALIGN(nb_samples, 8)); #endif - emms_c(); } else { ftype *src2 = src + input_offset; for (int n = 0; n < nb_samples; n++) @@ -385,7 +384,6 @@ static int fn(fir_quantum)(AVFilterContext *ctx, AVFrame *out, int ch, int ioffs #else s->fdsp->vector_dmul_scalar(ptr, ptr, wet_gain, FFALIGN(nb_samples, 8)); #endif - emms_c(); } else { for (int n = 0; n < nb_samples; n++) ptr[n] *= wet_gain;