From patchwork Wed Nov 1 08:35:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 44465 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:6da5:b0:15d:8365:d4b8 with SMTP id gl37csp288408pzb; Wed, 1 Nov 2023 01:34:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHjeM5hyroVBNNysFdoFa+kf4QVfZTm4yILmIUptXP5zbTM2e42FswYbeghn3iy7C7HxvWU X-Received: by 2002:a17:907:3e91:b0:9a2:185b:5375 with SMTP id hs17-20020a1709073e9100b009a2185b5375mr1207717ejc.18.1698827698218; Wed, 01 Nov 2023 01:34:58 -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 dl16-20020a170907945000b009c7558b2a52si1241365ejc.493.2023.11.01.01.34.57; Wed, 01 Nov 2023 01:34: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=@outlook.com header.s=selector1 header.b=orlzZ8d1; 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 29DFA68CDA9; Wed, 1 Nov 2023 10:34:25 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05olkn2027.outbound.protection.outlook.com [40.92.89.27]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id AD74968CD49 for ; Wed, 1 Nov 2023 10:34:20 +0200 (EET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LAIy+p3I3n6aPlpCixup+4rr4Lsm+znQW4SYQr22x9HQxrFzLS6g3a438Wi3PxUJWes5omw/Oqdz+AXWgZ9nCnM7EA9nZZQX+1BG9K2u+ejfc3DWgcOy19wMzokh7Hbvzvi8EE3DTzjuqge8/Q0nTv17xNzCwEHPG9iXVKfgq46RadoKPvR7tHHzUq5l8CM6eXUcVWjaCU1slzbzaPhrW16r+GHKYxcSgvgUUUSGfaRx5AM+7kvGA4Xl48nolUfyitL0TXYg7b6h2KsnU7EcHqwghTKYfcf6BpzIttwJe9527cKIBrYvZEyHuXB+9NajKI89HJ0jqRc2reCAFWGrxw== 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=onCoBXCe53w7i6f90CX3n/v+MHLmuNzXjssLW7GTtig=; b=E2F7EC+8DX3CreC5jTiasA+K1kFSJSa8zUZqqD/BgGioKaAFjRWOBg0eXrcvJVH2FO8FDmsumcnNJxEeeUbtsdvw1GOcZBWiAdGXJP0zHeeYn/EsXbr6b75VX0skQ0KakUccQiVCd0zqIU+3Krow7PZsMo/eBeYZVaNtQ8OUyS//g5n3NFKi2btzj7uY6iLnhDwztnZtIG1bespLrEdLBT3xBY2ChbMtP96dzothjAbWEak1ppOq2QNM3MSMLHA+qUFXIA5Ril47VLIIscKMtKcQC94dXS4qlQXeQ5tSuAnoa+syZ/WdF9dsPaGbDRMdAxQsDUwjnfI6UoWGMxiZaw== 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=onCoBXCe53w7i6f90CX3n/v+MHLmuNzXjssLW7GTtig=; b=orlzZ8d1cxjbssgLHSFnKsZT9zqWjlL8/0/lMBM6atJAMAG0j5WKVtSCgfu/lxRVjZVuE9ODr4/h5VVGKgBcPtgCN2KKrPonEQnYdyCmbX3ZzwITqg8qM2RksOVHYAmgdbvx43kW2dk+WPmopjnvu+YKDAlCVphAUOzL6zpIaYK+/0qv/4omZ+ZJawAUgNVwP1a53ZMLGDJJwo7KEM2CcAoRrFRAoHyRrs27TWOOIHi9zvMOR/GtBrmghnRlmWLxBkmLQ2mnlOD6/xzdr/NTplmBnAPPqFOrXPIoeVJmexQ8+FSYncEWD5hA/HZ6KLWZcUDSInKMIdfdHl7cU+i9eg== Received: from GV1SPRMB0033.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:8b::7) by AM8P250MB0215.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:326::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.19; Wed, 1 Nov 2023 08:34:18 +0000 Received: from GV1SPRMB0033.EURP250.PROD.OUTLOOK.COM ([fe80::54a8:bde1:da41:a768]) by GV1SPRMB0033.EURP250.PROD.OUTLOOK.COM ([fe80::54a8:bde1:da41:a768%3]) with mapi id 15.20.6933.029; Wed, 1 Nov 2023 08:34:18 +0000 From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Wed, 1 Nov 2023 09:35:08 +0100 Message-ID: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: X-TMN: [Cr1SID3Y9s9bZwUW/R2ZIvQ6Synn6mx6ypQB66THELI=] X-ClientProxiedBy: ZR0P278CA0193.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:44::23) To GV1SPRMB0033.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:8b::7) X-Microsoft-Original-Message-ID: <20231101083512.3398680-6-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: GV1SPRMB0033:EE_|AM8P250MB0215:EE_ X-MS-Office365-Filtering-Correlation-Id: c594e2be-aec3-44d5-bcd2-08dbdab5567f X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1PQBHHTrAaLCmSQofXSTY8lgkBxDuq6oyAE3vhZSnfSxhaGa11+y5CR6D6+EHPHYJkSfeJmHHYBGK6akd5ekM+pnWJWaGmmk9M1A4/AebcEiu7H1wxZ3uevOB8FOWpP1/e9vAjh8BOILiXNetYzhyQZO6IpIkZS4Lp7GxbnXhSMD4Umtv3jt1shTOBtVI/jKVm+sCQ4QolkIisIQKgLidGj8tYXMg8cX3K9KhjmqbdMc3IoHDcEqsxh4JbcQLj3NE4yL7hIpS73zdlTkSGmqCv4JlFAQU/oXZ/fiL4RwokzOdNzb1A5T7mMWeNt8OvFtapfaJkJuNLtrwsFly1C2PKlGza3FnSqrqEJWXC4voXYfY3mi6tGghish51t/DgVTnSQEV9/cnjPGRFr/jp8KVlqWeUudgi06asmE/IUaE1gMwsNj9oMGdJMN5UJOkwgej4K2m2Xyz9KE+X0j4UU3TGZx12C7KeOyjqqZHQNMWx7wLz8XAmVzuZGMYqVa86Yf4hZYpTa45XnT+WwRjEpait9quh9mXdGGGmxOrJhcEvv9+a1wVoDa6ICkwfEO98TUYa4zIgsWIpqcgg8vg3/PByFp4Lz0LRQkZF/xDG61qhfaIK5p+9p+0T6pkVBmGT35 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: FtcKJpB2I/sU3oqcjLy2QSP2S6dKNvnZPhCBlIcSoy5ve+gEABTZGYqlbWueE3XANKhlmS5yP1OkbofJysLp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Jm0hli1PRSn4xM8By/y0lUmAKo02GJYaGmbRMj6qOXaLIJX7gTLoBq6J+hQ84IyPPNDLa4S8Hil1VhMGgkcC6MmDOGmyVnE69/cJFZ6ekvJnQlCEmlb2F/uFIBC/SW8b X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c594e2be-aec3-44d5-bcd2-08dbdab5567f X-MS-Exchange-CrossTenant-AuthSource: GV1SPRMB0033.EURP250.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Nov 2023 08:34:18.1034 (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: AM8P250MB0215 Subject: [FFmpeg-devel] [PATCH 07/11] avfilter/vf_convolve: Deduplicate outputs 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: rZwYbnQAdJgt Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_convolve.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/libavfilter/vf_convolve.c b/libavfilter/vf_convolve.c index 3246868888..25dc92e988 100644 --- a/libavfilter/vf_convolve.c +++ b/libavfilter/vf_convolve.c @@ -955,13 +955,7 @@ static const AVFilterPad xcorrelate_inputs[] = { }, }; -static const AVFilterPad xcorrelate_outputs[] = { - { - .name = "default", - .type = AVMEDIA_TYPE_VIDEO, - .config_props = config_output, - }, -}; +#define xcorrelate_outputs convolve_outputs const AVFilter ff_vf_xcorrelate = { .name = "xcorrelate",