From patchwork Sun Jan 15 08:09:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Oliver X-Patchwork-Id: 40003 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:1d43:b0:b8:6755:f97e with SMTP id cs3csp215078pzb; Sun, 15 Jan 2023 00:10:08 -0800 (PST) X-Google-Smtp-Source: AMrXdXu5iEVuxo7iZ9kgKWqYE26C6ywA07jHcIVPZS8Z9D0uS33Zep8LZGa9CEp4oidqKdF+VL7p X-Received: by 2002:a05:6402:685:b0:46b:4011:9863 with SMTP id f5-20020a056402068500b0046b40119863mr75251007edy.39.1673770208017; Sun, 15 Jan 2023 00:10:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673770208; cv=none; d=google.com; s=arc-20160816; b=t7sMlNZK0mUiIIiVXWuQDzPaDsN9mf8qXQh2soOfQyrkfy05SUPxYFP7y1AWXPNRM+ n+GKsBhFXUlASaV4IdH1VgnDVbsh75GswxSJZfonglS8Pbh61E5ZTmky90cl54gtWT1C 7p5MHeXFUdA6G9g+elOpe3uljVz0z1DZLWKSJHnxjfefbL6ihGU/wVuvTlsO7YyWIxzy ojNRt1Ul0stZOlzvgMgbnULAEj42uFU0H7qS+6hbrI4QUmljwQUurnf5XEj3ULdk42Po qDTjtoXChbX4WTIZxRgIek7gBdJmgg+2xcpe5GTBu2gRJMM8zNTeS5YwiTcy6yf/ygQ+ e5Eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence:subject:to :message-id:date:from:mime-version:dkim-signature:delivered-to; bh=VzuZvVbFLeeZSMQUAGP0Y+cxMAu67BEzuw45TWQ//Sk=; b=lAkmr4mb0jCqhOfgsttoq99hDCBpbu3WKnUL9VwLZSVFBWfspUa9tLr13eyCWFink/ 2z8ATy5Y4TFjNsGGcV1Ksmz4rVfV/Ktq5cvpyBoiZr12Y8UXDxiEP8/wz4EF2AVIqVRc P7maKFVondeoeUxjL+QxlknGbct5jV454v5Qgdq6I1PbdximNWfuqm8r9fjmXpSK0zuY ItmMWsRrveT5beYbU1FJYN+eC/VptDY7HJCRnOOwp3Y4VRVb1P6GDeMw/pP7lMTN7OGy bWRKYaAP96E31TWT9zA1tRbiOQiYZ0kEfSNHl5sML6K0OxN3WupEcB1+0Sm+x4GTgOZL 0/JQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b=C7cNSVoh; 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=gmail.com Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id l13-20020a056402254d00b0048ee504d831si30017767edb.461.2023.01.15.00.10.07; Sun, 15 Jan 2023 00:10:07 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=C7cNSVoh; 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=gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 8D71B68B296; Sun, 15 Jan 2023 10:10:05 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com [209.85.208.46]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 2956668B296 for ; Sun, 15 Jan 2023 10:09:58 +0200 (EET) Received: by mail-ed1-f46.google.com with SMTP id w14so19512180edi.5 for ; Sun, 15 Jan 2023 00:09:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=GYh+WJNdYpSC6mXzNnSxgGY3Qka8hDyHUuVZZsD2gww=; b=C7cNSVohm2wNgc2NPfL9eJJNyo795iEkVbHQbaU6S4+BXvVai89BTBAOe7MYv/AvmW D+OHArw0FTQjz4XR/MRaWzGf2Qm9DGRB8NmPqAYaDdSL1E19rAg39uCVoFm4CaDwzmYG 4Z6J0UIaC6yeXll4XwXvptBg0rpz5SG6CrVgYpyyOVubVjgMgQK8lGbS83MNX2fepNpP /RUV0WHZCMFiRHA4kTr+9j/+yvRwOcHFGs+tWixn82w5cXaIPp51f3A+Spo62ce2duwN WvDX8DGv1x3Vq2jiLub3LAIEc+57NguH1GtxeW3W6CVWHNKA/Gp5BwT5yxCcWaFKMUYN J7ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=GYh+WJNdYpSC6mXzNnSxgGY3Qka8hDyHUuVZZsD2gww=; b=zVifV/60BqeDZoOdb58NJcVKCz3aTl40oNW0C085oHNm6ZwOzfjIdx3k0cS3cg31+O 9y0ZxPxRkcTlO7GdTxsoeaW/Yt0LuD8EuXWxq+0xBzO3pSuvOrVoQqDc+NTy5K+krPmP BxSgHwnrA7oQJh5BPbh7LAfTwIszZjOFrqoVh1eFNEdlp+Y9j0XTzg+mzKFShcHx3ALk n9tEaSBh4aWEUBk2LCQFdkHlHNyNSyrsMGjm5OIeDlZnaIEUyfg92wYiBif93627jlCo oo3rBvZuRnB3P4EzwI2PInba5htdC0N2KL9XjO7s3lC1c/376fWD8LaJqTG1woxQNNk9 CAwQ== X-Gm-Message-State: AFqh2kp610UIOlk1hWM7ImOsTXhX6lQ4f/nQRKYX6EtsHCFX2lYblHs2 +LjZo5VpaOUuPtPzRNE7A5rYcFl19EjxH9ae7xeO78aGuWg= X-Received: by 2002:aa7:c552:0:b0:49d:836e:21f9 with SMTP id s18-20020aa7c552000000b0049d836e21f9mr554909edr.36.1673770197442; Sun, 15 Jan 2023 00:09:57 -0800 (PST) MIME-Version: 1.0 From: Matt Oliver Date: Sun, 15 Jan 2023 19:09:52 +1100 Message-ID: To: FFmpeg development discussions and patches X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: [FFmpeg-devel] [PATCH 2/2] avcodec/Makefile: Dont compile unused files. 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 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: HqhyNjRoQfYs Multiple asm files dont contain any valid code when compiled under 32bit x86 so they should be skipped. --- libavcodec/x86/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) X86ASM-OBJS-$(CONFIG_DIRAC_DECODER) += x86/diracdsp.o \ @@ -176,16 +178,22 @@ X86ASM-OBJS-$(CONFIG_HEVC_DECODER) += x86/hevc_add_res.o \ x86/hevc_sao_10bit.o X86ASM-OBJS-$(CONFIG_JPEG2000_DECODER) += x86/jpeg2000dsp.o X86ASM-OBJS-$(CONFIG_LSCR_DECODER) += x86/pngdsp.o +ifdef ARCH_X86_64 X86ASM-OBJS-$(CONFIG_MLP_DECODER) += x86/mlpdsp.o +endif X86ASM-OBJS-$(CONFIG_MPEG4_DECODER) += x86/xvididct.o X86ASM-OBJS-$(CONFIG_PNG_DECODER) += x86/pngdsp.o +ifdef ARCH_X86_64 X86ASM-OBJS-$(CONFIG_PRORES_DECODER) += x86/proresdsp.o X86ASM-OBJS-$(CONFIG_PRORES_LGPL_DECODER) += x86/proresdsp.o +endif X86ASM-OBJS-$(CONFIG_RV40_DECODER) += x86/rv40dsp.o X86ASM-OBJS-$(CONFIG_SBC_ENCODER) += x86/sbcdsp.o X86ASM-OBJS-$(CONFIG_SVQ1_ENCODER) += x86/svq1enc.o X86ASM-OBJS-$(CONFIG_TAK_DECODER) += x86/takdsp.o +ifdef ARCH_X86_64 X86ASM-OBJS-$(CONFIG_TRUEHD_DECODER) += x86/mlpdsp.o +endif X86ASM-OBJS-$(CONFIG_TTA_DECODER) += x86/ttadsp.o X86ASM-OBJS-$(CONFIG_TTA_ENCODER) += x86/ttaencdsp.o X86ASM-OBJS-$(CONFIG_UTVIDEO_DECODER) += x86/utvideodsp.o diff --git a/libavcodec/x86/Makefile b/libavcodec/x86/Makefile index 118daca333..bafba207ca 100644 --- a/libavcodec/x86/Makefile +++ b/libavcodec/x86/Makefile @@ -157,7 +157,9 @@ X86ASM-OBJS-$(CONFIG_ADPCM_G722_ENCODER) += x86/g722dsp.o X86ASM-OBJS-$(CONFIG_ALAC_DECODER) += x86/alacdsp.o X86ASM-OBJS-$(CONFIG_APNG_DECODER) += x86/pngdsp.o X86ASM-OBJS-$(CONFIG_CAVS_DECODER) += x86/cavsidct.o +ifdef ARCH_X86_64 X86ASM-OBJS-$(CONFIG_CFHD_ENCODER) += x86/cfhdencdsp.o +endif X86ASM-OBJS-$(CONFIG_CFHD_DECODER) += x86/cfhddsp.o X86ASM-OBJS-$(CONFIG_DCA_DECODER) += x86/dcadsp.o x86/synth_filter.o