From patchwork Wed Oct 5 01:37:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 38560 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:4d9:b0:9c:f4b:4e41 with SMTP id 25csp404483pzd; Tue, 4 Oct 2022 18:37:56 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5KV0DSdHRX+vX/Wag5tC269//7zXKB5gZLVXO4nDednNLxK6wp+7KoEM1hW0m6E7swlN3I X-Received: by 2002:a05:6402:270f:b0:451:b5bd:95dd with SMTP id y15-20020a056402270f00b00451b5bd95ddmr26174733edd.215.1664933876281; Tue, 04 Oct 2022 18:37:56 -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 lg9-20020a170906f88900b0078d231cedb0si1621770ejb.194.2022.10.04.18.37.55; Tue, 04 Oct 2022 18:37:56 -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=Cd1RXmay; 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 024D468B28D; Wed, 5 Oct 2022 04:37:52 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-oln040092075070.outbound.protection.outlook.com [40.92.75.70]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 7E68968B28D for ; Wed, 5 Oct 2022 04:37:45 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ow9Ii1blECA9H1FLNx9jBv20zTrTnTFk5y4tiWZcvjIasP2Cnd/+33NE96/TfWShHiqq/kC0aiSc6wY5BjTIIyO46TvbG8Hdi16CTkymNCMQRheSOmIURVFSrTy0W/SgCWilRkMwxDQTvVFSs7V7RD3Fjp6ZmVjvQh6iLBX5bkUyfdrNcfL6F7wh3ALt4BVOUzWsODQi3gYHU4okasQtZwN5L79o9apOAsGjgZcJdmyb3WDe6DsK373etTGPPn+YkGtLgGTl2pbdLxD46f3bDswbv9Wmq2b47Iwcxz1UTB30xa1If4qqFQfNTqBGDFDaEgRpyWwkFXn9fX5a+hKm4g== 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=R1hMOyRevt5VQBWOihcCt/hq4y+K3x5wQNCck39PTzM=; b=fLhplLGM693O0TJkZP2qmmTQsvzGuOTeFx1DPvmoC004jTR+IbiEzYXjAVXOgZ0rhbGb7uwETOd8n+4LLlQinxjvRDxXGMxt431CoEqRqhYNBWzyr/UZSAdON6RV+K+awnTjGftuXzyIh0bgNvkzOC15v3LDpf1C1SOGGj65jJZ2RCc+Bx3uCwSpuZd1+e9de7n071Fr2I9XJY+qOmB8iSn12IzHzAnSyYI8bjzhgP0E0DHiyMI3bEcA+RaxM7K9TupsLxtSTLT7v8WjzYtYUcijjGNh3CnUBsdX9xN0E4gzPvx04OyVF17iRbKf0O9UGUtiuWXLTl/CtK9iMFcUkA== 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=R1hMOyRevt5VQBWOihcCt/hq4y+K3x5wQNCck39PTzM=; b=Cd1RXmayUHAZHeVRbgifrpa7NnP43uGMZFHwet5ys0B9tWcBtNG4hcnWyXW96FwS1Xdp8s0MWsJb0PcpRO7IwnnQEI7d+Hyr7d6kbexgR8kkPFgbvqoNgyjADbYqa7qQIZed0dVF8VfLuEERefMC5lvARVEVJj5YTOqjGqDTaRLEaB7e7NCgONprYQgrp47g5IqAoia2pBB5HRh84aQxPuORi7NB4DaiO7aF5yI6X08SqXR17HvdSRU/HoDpd6uEtvconBURrCEdRX6/Th82u5wv9u0i13tVTbObE/UxqT1Nn103adfvx5cL8X3FY41JrjNDY9jt2W2XRkxG8YjuJw== Received: from GV1P250MB0737.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:8e::17) by DU2P250MB0095.EURP250.PROD.OUTLOOK.COM (2603:10a6:10:270::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.32; Wed, 5 Oct 2022 01:37:42 +0000 Received: from GV1P250MB0737.EURP250.PROD.OUTLOOK.COM ([fe80::68bd:2fc7:ac52:38f8]) by GV1P250MB0737.EURP250.PROD.OUTLOOK.COM ([fe80::68bd:2fc7:ac52:38f8%9]) with mapi id 15.20.5676.028; Wed, 5 Oct 2022 01:37:42 +0000 From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Wed, 5 Oct 2022 03:37:41 +0200 Message-ID: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: X-TMN: [d8E2yzycY/XPAAlX/8Ba/duZQe4aMh0J9eD+eFBtvug=] X-ClientProxiedBy: ZR0P278CA0027.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:1c::14) To GV1P250MB0737.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:8e::17) X-Microsoft-Original-Message-ID: <20221005013741.2522917-1-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: GV1P250MB0737:EE_|DU2P250MB0095:EE_ X-MS-Office365-Filtering-Correlation-Id: 3513130e-3a64-486d-d57e-08daa6723206 X-MS-Exchange-SLBlob-MailProps: AZnQBsB9XmqVT5WuMVYob3VZq/ES5LHiuNQFfEYBXswizfhVHF/SF3+DEmBhg7wWClkfletjZaqtoAV0ftUoXyUSB7lnFdjI/+Hqp6aFThY8WwbuZe2oNeQxQ+O+aKrU4lp0irL39eipZsI24EdZV9g8cG74nuGbuM3m86kgmYUgr32AHLyipcxy0ma03HxcOdfs3AGggc2Wc4KVzSEsDHuG3hBIfm6E1ozT0tLsExPa1hgUtgewOn7sDF0fj+nm59JBSIxkL+mEuCZn3iHKTD0F9cfnuanmTGF97viZ5ZuN6tN7mZ3m1F4o56kmu9QKd/aRpKOr6bQxgyq5EAoRoexZRg6Z77U+WopwrmW67tbBSYRdBw4qRpW4STMeTtXDSgb9J7Y7uznbx3cXWWWDDuxWzSyuubZ2SWXmF2+nJfXleL4WJ65UTr31ukZ7mAUuuTgeR1muhkZNTq+27HAUSScZ5oCETsAdAP5DBRN5KdsLHvZ6vlpVHDWsWNH3bLVnUOeAUunpUpssowaQHw9DG9a8Cb7oLParwoh/ASaKis9oab0iyZXvJhSAjbaXS3M5t5EHJbJ1DArJaVImZc1cb+DuxPp9fLFzm7cy9iGGDyit34eMF0SFHt4FXBNiYXNGJEuyDgm3Fdci7G0fsIX6hsBmgB9Pblf79p34VYsXxKqgEfeAf7nR7BPESEjcdyFdsB3L1x6eGeu9zT58USBbNcM4iPBBrmtpsRIUYFcgwkEGHfAbfBhWw6ReuCof9wDiyFIN3somUus= X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Ost9C9Xd/EG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-d57e-08daa6723206 X-MS-Exchange-CrossTenant-AuthSource: GV1P250MB0737.EURP250.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Oct 2022 01:37:42.5275 (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: DU2P250MB0095 Subject: [FFmpeg-devel] [PATCH 2/2] avcodec/asvenc: 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: 1pXJqTR3ffuf PixblockDSP does not use MMX functions any more since 92b58002776edd3a3df03c90e8a3ab24b8f987de and FDCTDSP since d402ec6be99dc82e263bad883e7c1c3d957343db. BswapDSP never used MMX, so that the emms_c() here is unnecessary. Signed-off-by: Andreas Rheinhardt --- libavcodec/asvenc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/asvenc.c b/libavcodec/asvenc.c index e185d501b3..9da7cbb986 100644 --- a/libavcodec/asvenc.c +++ b/libavcodec/asvenc.c @@ -300,7 +300,6 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt, encode_mb(a, a->block); } } - emms_c(); if (avctx->codec_id == AV_CODEC_ID_ASV1) flush_put_bits(&a->pb);