From patchwork Thu Nov 3 16:36:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "L. E. Segovia" X-Patchwork-Id: 34855 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a21:999a:b0:a4:2148:650a with SMTP id ve26csp652881pzb; Thu, 3 Nov 2022 09:36:58 -0700 (PDT) X-Google-Smtp-Source: AMsMyM56JYbeQNu812D60qlR2yz4GF3bOtyNvfhpa74TAmvJy6kzza6znZAQKLEKYKDatJucF3tW X-Received: by 2002:a17:906:f149:b0:7ad:e210:690e with SMTP id gw9-20020a170906f14900b007ade210690emr19005342ejb.427.1667493418245; Thu, 03 Nov 2022 09:36:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667493418; cv=none; d=google.com; s=arc-20160816; b=cwNTLjIJZiWNWl9WcuYdeu0hApQiKl9h+mU32NjtZh4UeaPYlaJstW9R8q89im84aF FAYUZMxpKwREPLeMEgnDaVd11pzJBgOdgrzIbPgvW/2bVFCv9/NsCnCEGOlcyKaDusr2 gfrH18TiMyZfVuJPbji/eyepPqYGSixg12xaodk0Gz0iXeIfeATy8TnHDwnXt9iZegFL SvFakURhF039pL/Ed/Q0ldUgyqB2kmZ7eGBN0/7vl7Jk8T77JN6wOMx8iwN1bI7ZhaMP dXPp8/xZEsRrNqItlLLMOWntM4vTEDY7qcGM6t9Br0vo3ZLbiuHSEgATBMLfz6bzFKSf BujQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:delivered-to; bh=VjzJ/h3GHSl9HCND6d47+aJF8273kHSI1597l/ltgOU=; b=hUKW8cV5ld5raZMK/DPlUP92NKi6UNmG7Tf07N+OMPi5W1FYfZH545WFGE3ficrdWT ipM2y3rO3jSJXy800Ywthi0Lb8acRjZ8dk4Kd/0uK054iiYFEshvq9rz72zM5xYepEYH TEmVZ+X997eXA4vr4iG9HCyoIsSqQM2SbY8D8VDaqRDq49thxqoIEKDGAwAbeUNWM4QR Rqfz0nFFy+BF42IP9EpHw6Nts0yb6C+D/nYAU9zdVq/O33zJZ8hofSzZqOHlEcsp5Bbg 0MZvgP5WpZvNqAs7dj0RbcNNkxt90EN8FIQalpQyjmL8paH8YZntSmbiRd8dq/eJTbSJ raRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@amyspark.me header.s=gm1 header.b=d3Jk5mpP; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amyspark.me Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id u2-20020a509502000000b00461727807a4si1224057eda.534.2022.11.03.09.36.56; Thu, 03 Nov 2022 09:36:58 -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=@amyspark.me header.s=gm1 header.b=d3Jk5mpP; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amyspark.me Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 76BD768BF3F; Thu, 3 Nov 2022 18:36:52 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 340D068BF75 for ; Thu, 3 Nov 2022 18:36:46 +0200 (EET) Received: (Authenticated sender: amy@amyspark.me) by mail.gandi.net (Postfix) with ESMTPSA id B63CB240014; Thu, 3 Nov 2022 16:36:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amyspark.me; s=gm1; t=1667493405; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Wnco51uSlg9rb04S+dK4WIxiGmebUIqd5XE8iZm1+8k=; b=d3Jk5mpPv6vEAiO+d/umLHEn6ANoaXLhJyKtR9xrxkmDtXG3ZnbBqFZlkdACK/SqttV6Jt wjYR83rIkcTbORWzxmdeeAoz2nzVx5KwIeu2agExrcNa95pNFsaveiM+8X7QmcTaz5RGW8 TwYnU58kAoPuiZzq5P4Ekj+6hZVbK0Vd/iWWhns554DEzJeM3vmSbdMYvSWrHJd3rzVDzU x9NZQzN3Z4t+4tF/M/ZZo9H9wmXyPsTGs/YbDWpm7clFkTp5apNYAT88VS9WakjKVmnCXN mRef8+HdAV87j2b3TLSU6onFwLiX+5ZzdZIvEgMQmvg8Id1/2kD+sJKJWUS/hA== From: "L. E. Segovia" To: ffmpeg-devel@ffmpeg.org Date: Thu, 3 Nov 2022 16:36:32 +0000 Message-Id: X-Mailer: git-send-email 2.38.1 In-Reply-To: References: MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v3 0/5] Fix FFmpeg compilation without DCE 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: Nirbheek Chauhan , Halla Rempt , =?utf-8?q?Tim-Philipp_M=C3=BCller?= Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: usn88SH7nZ8s Hi all, This new version is intended to make Patchwork log the set correctly. (My apologies there, I'm not used to send patches through the command line.) v3 changes (same as v2): - Split indentation fixes for hevcdsp_init into its own commit - Fixed spurious indentation in vf_ssim_init - Implemented the macro approach for expanding the CONFIG_FOO checks in fftools - Added the missing HAVE_X86ASM check in vc1dsp_init - Added a missing HAVE_INLINE_ASM check in hpeldsp_init (see below) - Fixed the HAVE_X86ASM check wrongly covering the INLINE_FOO clause in hpeldsp_init - Removed the duplicate HAVE_X86ASM check in me_cmp_init - Inlined the HAVE_X86ASM and ARCH_X86_64 checks in mlpdsp_init and vf_convolution_init L. E. Segovia (5): all: Replace if (ARCH_FOO) checks by #if ARCH_FOO, part 2 avcodec/x86/hevcdsp_init: Fix indentation after the ARCH_FOO changes all: Replace if (CONFIG_FOO) checks by #if CONFIG_FOO all: Guard if (INLINE*) checks with #if HAVE_INLINE_ASM all: Guard if (EXTERNAL*) checks with #if HAVE_X86ASM fftools/ffprobe.c | 16 +- fftools/opt_common.c | 12 +- libavcodec/x86/aacencdsp_init.c | 2 + libavcodec/x86/aacpsdsp_init.c | 2 + libavcodec/x86/ac3dsp_init.c | 4 + libavcodec/x86/audiodsp_init.c | 2 + libavcodec/x86/bswapdsp_init.c | 2 + libavcodec/x86/cavsdsp.c | 2 + libavcodec/x86/celt_pvq_init.c | 2 + libavcodec/x86/cfhddsp_init.c | 2 + libavcodec/x86/cfhdencdsp_init.c | 2 + libavcodec/x86/dcadsp_init.c | 2 + libavcodec/x86/dct_init.c | 2 + libavcodec/x86/dnxhdenc_init.c | 2 + libavcodec/x86/exrdsp_init.c | 2 + libavcodec/x86/fdctdsp_init.c | 2 + libavcodec/x86/fft_init.c | 2 + libavcodec/x86/flacdsp_init.c | 8 +- libavcodec/x86/g722dsp_init.c | 2 + libavcodec/x86/h263dsp_init.c | 2 + libavcodec/x86/h264_intrapred_init.c | 2 + libavcodec/x86/h264chroma_init.c | 2 + libavcodec/x86/hevcdsp_init.c | 549 +++++++++++---------- libavcodec/x86/hpeldsp_init.c | 4 + libavcodec/x86/hpeldsp_vp3_init.c | 2 + libavcodec/x86/huffyuvdsp_init.c | 2 + libavcodec/x86/huffyuvencdsp_init.c | 2 + libavcodec/x86/idctdsp_init.c | 11 +- libavcodec/x86/jpeg2000dsp_init.c | 2 + libavcodec/x86/lossless_videodsp_init.c | 2 + libavcodec/x86/lossless_videoencdsp_init.c | 2 + libavcodec/x86/mdct15_init.c | 2 + libavcodec/x86/me_cmp_init.c | 2 + libavcodec/x86/mlpdsp_init.c | 6 +- libavcodec/x86/mpegvideoencdsp_init.c | 2 + libavcodec/x86/opusdsp_init.c | 2 + libavcodec/x86/pixblockdsp_init.c | 2 + libavcodec/x86/pngdsp_init.c | 2 + libavcodec/x86/proresdsp_init.c | 2 + libavcodec/x86/rv34dsp_init.c | 2 + libavcodec/x86/sbcdsp_init.c | 2 + libavcodec/x86/sbrdsp_init.c | 2 + libavcodec/x86/svq1enc_init.c | 2 + libavcodec/x86/utvideodsp_init.c | 2 + libavcodec/x86/v210enc_init.c | 2 + libavcodec/x86/vc1dsp_init.c | 6 +- libavcodec/x86/vorbisdsp_init.c | 2 + libavcodec/x86/vp3dsp_init.c | 2 + libavcodec/x86/vp6dsp_init.c | 2 + libavfilter/x86/af_afir_init.c | 2 + libavfilter/x86/af_anlmdn_init.c | 2 + libavfilter/x86/af_volume_init.c | 2 + libavfilter/x86/avf_showcqt_init.c | 2 + libavfilter/x86/colorspacedsp_init.c | 6 +- libavfilter/x86/vf_atadenoise_init.c | 8 +- libavfilter/x86/vf_blend_init.c | 2 + libavfilter/x86/vf_bwdif_init.c | 2 + libavfilter/x86/vf_convolution_init.c | 2 +- libavfilter/x86/vf_framerate_init.c | 2 + libavfilter/x86/vf_fspp_init.c | 2 + libavfilter/x86/vf_gblur_init.c | 2 + libavfilter/x86/vf_hflip_init.c | 2 + libavfilter/x86/vf_limiter_init.c | 2 + libavfilter/x86/vf_maskedclamp_init.c | 2 + libavfilter/x86/vf_maskedmerge_init.c | 2 + libavfilter/x86/vf_overlay_init.c | 2 + libavfilter/x86/vf_pp7_init.c | 2 + libavfilter/x86/vf_psnr_init.c | 2 + libavfilter/x86/vf_removegrain_init.c | 2 + libavfilter/x86/vf_ssim_init.c | 6 +- libavfilter/x86/vf_stereo3d_init.c | 2 + libavfilter/x86/vf_threshold_init.c | 2 + libavfilter/x86/vf_tinterlace_init.c | 2 + libavfilter/x86/vf_transpose_init.c | 2 + libavfilter/x86/vf_v360_init.c | 2 + libavfilter/x86/vf_w3fdif_init.c | 6 +- libavfilter/x86/vf_yadif_init.c | 2 + libavformat/rtmpproto.c | 24 +- libavutil/x86/fixed_dsp_init.c | 2 + libavutil/x86/float_dsp_init.c | 2 + libavutil/x86/imgutils_init.c | 2 + libavutil/x86/lls_init.c | 2 + libavutil/x86/pixelutils_init.c | 2 + libswresample/x86/audio_convert_init.c | 2 + libswresample/x86/resample_init.c | 6 + libswscale/x86/rgb2rgb.c | 2 + libswscale/x86/swscale.c | 2 + 87 files changed, 517 insertions(+), 299 deletions(-)