From patchwork Fri Feb 19 07:50:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 25794 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id EB331447D4B for ; Fri, 19 Feb 2021 09:51:03 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id D4F9F68A403; Fri, 19 Feb 2021 09:51:03 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 7B61D68A28B for ; Fri, 19 Feb 2021 09:50:58 +0200 (EET) Received: by mail-wr1-f51.google.com with SMTP id v14so6603267wro.7 for ; Thu, 18 Feb 2021 23:50:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references:reply-to :mime-version:content-transfer-encoding; bh=Ls4hJFR+sGqyzj0Eww5QEaj2N62H0m6tkyw0TMyM4z4=; b=JzoVM05cKMEn1NI0lEfMNHtv+j0n0Ok+iGa/8ttvSlDL7tB2zLVJTT0sucZEXzfD9i LEuiu83U2/NYYRb5Y3a7zBw3rz5t5bpyjW4pGC8M1lDUXxgsyBD6ZnztfjmXn6E1MQ+J vrOsy8xBg7LohhLRy8IGB1PGckWKwzL7oRmxnkbKcB1wcwOptNt7hq88Bkh9LVPgmwu1 ExK6Vc1/DHjFXXmL4bhP/ae76yvufhQcua0UcYWl6BGStTrtSq4Taz9Com3d42TIO/xa KVDJDQhrL7xisycXV/hLWcHzfT/hDefGJuKY6JC+yDoLHDcAGNCVoFI4bFbx2g9WOhGl 5hWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:reply-to:mime-version:content-transfer-encoding; bh=Ls4hJFR+sGqyzj0Eww5QEaj2N62H0m6tkyw0TMyM4z4=; b=PcmMPKFzKEvmag8SKZrcDSvB3pNmZ3/Hlt/86cvT5/e+o1kjskiYus9Mctg0t/XKM6 AX9GXaFJBIfMou07cUOVUpsABo8PHEO1JwoCaxVs6LlZHmgd8eum6CDoxq3h/LiqeVp/ io9pUFCxwatLr6fjgD901uU9nRREDFpdfwjIuJAT2nYw1oKoQf6xwX3A5GCOouom1TkR Tz7SlA/G6PvQMe5YKf8CP8JDoxfXEbfxCNgIVXReQDboK6LLam9HMjiX5775GE25GPnJ jxZhz304yxRraQjzZWOzUGXJsCdoBzL1vwPrO7AkfO2a7Dkbpm8CTCNpYg3Rf0Kt5x7p vlWg== X-Gm-Message-State: AOAM532XtUKpbUZepdsycjWZ+lhnkGJQnzloamZfG2bZpSL5WXEE7Ns/ aNROKoLZjKH8QFO83Ep4HxaSCQE7teM= X-Google-Smtp-Source: ABdhPJwKPmK9ssIWkIv0n46AeLDMHnYff6k5YIpIudWlc1UJi7RM7zSzJhgaxPvs4orllSGE4M5+FQ== X-Received: by 2002:adf:b60f:: with SMTP id f15mr7975219wre.83.1613721058052; Thu, 18 Feb 2021 23:50:58 -0800 (PST) Received: from sblaptop.fritz.box (ipbcc1aa4b.dynamic.kabel-deutschland.de. [188.193.170.75]) by smtp.gmail.com with ESMTPSA id z190sm6130795wme.15.2021.02.18.23.50.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Feb 2021 23:50:57 -0800 (PST) From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Fri, 19 Feb 2021 08:50:19 +0100 Message-Id: <20210219075022.2445161-12-andreas.rheinhardt@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210219075022.2445161-1-andreas.rheinhardt@gmail.com> References: <20210219075022.2445161-1-andreas.rheinhardt@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 12/15] swscale/x86/yuv2rgb: Remove unused ASM constants X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 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" mmx_grnmask is unused since 531f97b0c32d1d421f3ac614e002c53951658115, the other constants since e934194b6a4159b7960cabefb0dd8b998c1961e8. Signed-off-by: Andreas Rheinhardt --- libswscale/x86/yuv2rgb.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/libswscale/x86/yuv2rgb.c b/libswscale/x86/yuv2rgb.c index 2143026a0d..47f45bd7c2 100644 --- a/libswscale/x86/yuv2rgb.c +++ b/libswscale/x86/yuv2rgb.c @@ -41,14 +41,6 @@ #define DITHER1XBPP // only for MMX -/* hope these constant values are cache line aligned */ -DECLARE_ASM_CONST(8, uint64_t, mmx_00ffw) = 0x00ff00ff00ff00ffULL; -DECLARE_ASM_CONST(8, uint64_t, mmx_redmask) = 0xf8f8f8f8f8f8f8f8ULL; -DECLARE_ASM_CONST(8, uint64_t, mmx_grnmask) = 0xfcfcfcfcfcfcfcfcULL; -DECLARE_ASM_CONST(8, uint64_t, pb_e0) = 0xe0e0e0e0e0e0e0e0ULL; -DECLARE_ASM_CONST(8, uint64_t, pb_03) = 0x0303030303030303ULL; -DECLARE_ASM_CONST(8, uint64_t, pb_07) = 0x0707070707070707ULL; - //MMX versions #if HAVE_MMX #undef RENAME