From patchwork Tue Sep 26 12:54:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Martin_Storsj=C3=B6?= X-Patchwork-Id: 43915 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:2a18:b0:15d:8365:d4b8 with SMTP id e24csp1869567pzh; Tue, 26 Sep 2023 05:54:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFO23dKMjny5cDLSaQLIyrbqPcDC35Ja5jcGPI3UxHmJIcIrjh2nRy5NmWzdG0E/TYTleul X-Received: by 2002:a17:906:30c8:b0:9a9:ed72:d006 with SMTP id b8-20020a17090630c800b009a9ed72d006mr8522903ejb.23.1695732874410; Tue, 26 Sep 2023 05:54:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695732874; cv=none; d=google.com; s=arc-20160816; b=n4QRpLEA54Qxokt1UDXWMHXwBITs9YTy2Qjkxusai5vSuhAqJq3yY6b3tHe+cQ452E rCT16RiV6/p0yUS3jN4CKuHPSHKKibHuFMNYC4Ru3M6zg5FjhYFGFkDPFMjGWqpURejx cosHy4q92vZwIVQXNn4LDG0dhazb6SBAbts10VBZ9svr0XvikSmwLY+HTc25zv7SfPqf WHRjr+mEAqFeuS55SAvVL8rDZrwC5ksIWxkeSKyEdjT/oOLuJrQaUFg8UoLv3OxuGaOK JfPNjY9GU6bkrHEXS2SUFPg9DuUHXuxLp6N9oUrqS85u2vdS5et+GFpN3xKhQjYa6TSb YwYg== 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:message-id:date:to:from :dkim-signature:delivered-to; bh=3TwEQYdWzHE6elb/Nxjtxtkog4DxI+Nz6eVDPwUlky0=; fh=xJushIASqcDUDqeFy7QTLvebrB2e67Vhm7ZPU+JZHt4=; b=GhVi/6DkQOwwq2gwjGhIBgsKsaKj3Lueu602pT+nQmUN19inlX5PC79LGP/7xtglCH 8uvo24F/YffgDjs1H9xbsCXO4BO1GwPQVily5itiTB5vQSrF1TV2QUpFTy6Xq8KO8+rt 9vuin+F16sh0Kagp9Spk/n/CmLfp7fLSjFMjNmYZ7M++bPgb1Ay3V8Ig/LDzo4gs5Cpo +EFfQssx6+df1aP+vNv8qmK3NmU3b/qX2Ux4GTxr+w23SoWDcIAhzCPXLNDzJPbz8LbU JSvtJfLM8W2XCY6e2LPfOtzvVpRxv3mR5ftWE28hZOcaFB9Es+97NFUTJVj/EJKkkDS2 e4Kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@martin-st.20230601.gappssmtp.com header.s=20230601 header.b=0YThE4In; 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 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id e17-20020a170906045100b0099bd53a0d3csi10259275eja.178.2023.09.26.05.54.34; Tue, 26 Sep 2023 05:54:34 -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=@martin-st.20230601.gappssmtp.com header.s=20230601 header.b=0YThE4In; 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 Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id EFF9268C8D9; Tue, 26 Sep 2023 15:54:31 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 7F39768C7F6 for ; Tue, 26 Sep 2023 15:54:25 +0300 (EEST) Received: by mail-lf1-f50.google.com with SMTP id 2adb3069b0e04-503397ee920so13860531e87.1 for ; Tue, 26 Sep 2023 05:54:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=martin-st.20230601.gappssmtp.com; s=20230601; t=1695732865; x=1696337665; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=8hHusKL/86rrQH6YakLF4vHBpY1W7QpcHbUDQhSRpSE=; b=0YThE4In/G/SIMFVQGYfVamCVt1eh2FofKSIPvSzGtSX7W2RNZbog7SbnTRWJUhAYO WE6174VYjzNrd4pACGfVejRWtvFWuBJvc5tnYiMCx4H+4N1JMTaqpPum5WquYwigDyox aVgjuPZEtFCmIWZRWzOF6RByLoh2woPHSNyJZD3fXK0AIeN32ARDiMLI/3jyT6aXWurm VKET5nBZxektK3WjJojufL22m4iiC8egGqxEMD+/cCool9Tz5YdYdIkkY7bgKUlyUMII 9/KOwQkisSrmyt9OWqnSFjjbGkLIHez8lbbOX4oVPdJgENLCRYHvs+XdEksJyt2Dqrcw zPwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695732865; x=1696337665; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8hHusKL/86rrQH6YakLF4vHBpY1W7QpcHbUDQhSRpSE=; b=Gb9z0gHOzdltn623ECvM8YLp/ZBNROpw0DquaGzSHDJKUUlOEiynOXlxANL9r4eZB7 UlYg8rb1WVyAeA1wNPJhY3yax4cjLYm+lt7K0h/fdcFZvGmbYkVr/J/tmIqTJ4/aednS frV6oo7XGjzOns0Up3GBG1txxSR2duRNvzZiQouoPyqzI4Q1mYHxS0sOGuM8gk5icEqf G2o6ZdgLiJm7Mkv6SutY2WSMsbjym2WpbPwQ8Rpc8rUuQjsZUsVD/fVwpIhjn1ZBeEl3 M+KRiAVm2SnmElKtoIuOfL+PoHwdRDe6oh/7iCPbYaKcslaGhKy19LmPC3btzFy5vFcn J0fw== X-Gm-Message-State: AOJu0Yzn1TI6zPMUEB/LFVJbeZbdcDCwqm3Ix9++d3kw15pChpzHmRMA J8Zb8VHNQyxKv4RO3WRtkuDVkjbi4W12WFmHVIGZMR9c X-Received: by 2002:a19:6901:0:b0:500:a95c:70e with SMTP id e1-20020a196901000000b00500a95c070emr6692875lfc.51.1695732864530; Tue, 26 Sep 2023 05:54:24 -0700 (PDT) Received: from localhost (dsl-tkubng21-58c01c-243.dhcp.inet.fi. [88.192.28.243]) by smtp.gmail.com with ESMTPSA id v29-20020a056512049d00b00502af40d9efsm2184292lfq.261.2023.09.26.05.54.23 (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 26 Sep 2023 05:54:24 -0700 (PDT) From: =?utf-8?q?Martin_Storsj=C3=B6?= To: ffmpeg-devel@ffmpeg.org Date: Tue, 26 Sep 2023 15:54:23 +0300 Message-Id: <20230926125423.8813-1-martin@martin.st> X-Mailer: git-send-email 2.39.2 (Apple Git-143) MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] libavcodec/aarch64/hevc: Require consistent use of trailing semicolon 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: Logan Lyu Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: DRR6JiALWGYF --- Some patches had inconsistent semicolons when invoking these macros. By omitting the trailing semicolon in the macro, it requires the callers to use it consistently. --- libavcodec/aarch64/hevcdsp_init_aarch64.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/aarch64/hevcdsp_init_aarch64.c b/libavcodec/aarch64/hevcdsp_init_aarch64.c index 782cf802f6..d5b973d2e0 100644 --- a/libavcodec/aarch64/hevcdsp_init_aarch64.c +++ b/libavcodec/aarch64/hevcdsp_init_aarch64.c @@ -137,20 +137,20 @@ void ff_hevc_put_hevc_qpel_bi_h16_8_neon(uint8_t *_dst, ptrdiff_t _dststride, co void ff_hevc_put_hevc_##fn##24_8_neon##ext args; \ void ff_hevc_put_hevc_##fn##32_8_neon##ext args; \ void ff_hevc_put_hevc_##fn##48_8_neon##ext args; \ - void ff_hevc_put_hevc_##fn##64_8_neon##ext args; \ + void ff_hevc_put_hevc_##fn##64_8_neon##ext args #define NEON8_FNPROTO_PARTIAL_4(fn, args, ext) \ void ff_hevc_put_hevc_##fn##4_8_neon##ext args; \ void ff_hevc_put_hevc_##fn##8_8_neon##ext args; \ void ff_hevc_put_hevc_##fn##16_8_neon##ext args; \ - void ff_hevc_put_hevc_##fn##64_8_neon##ext args; \ + void ff_hevc_put_hevc_##fn##64_8_neon##ext args #define NEON8_FNPROTO_PARTIAL_5(fn, args, ext) \ void ff_hevc_put_hevc_##fn##4_8_neon##ext args; \ void ff_hevc_put_hevc_##fn##8_8_neon##ext args; \ void ff_hevc_put_hevc_##fn##16_8_neon##ext args; \ void ff_hevc_put_hevc_##fn##32_8_neon##ext args; \ - void ff_hevc_put_hevc_##fn##64_8_neon##ext args; \ + void ff_hevc_put_hevc_##fn##64_8_neon##ext args NEON8_FNPROTO(pel_uni_pixels, (uint8_t *_dst, ptrdiff_t _dststride, const uint8_t *_src, ptrdiff_t _srcstride,