Message ID | AM7PR03MB66604C3A26E9A8DDEDA4E1FA8FD89@AM7PR03MB6660.eurprd03.prod.outlook.com |
---|---|
State | New |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6602:2a4a:0:0:0:0 with SMTP id k10csp3084422iov; Sun, 12 Sep 2021 03:54:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz2ac0RmKFwJDpvtyIeA4VlUZDfav9bPlIdXEm6GROHUFF1URwSWAo01zl/jlAa6651XXcA X-Received: by 2002:a17:906:909:: with SMTP id i9mr6860961ejd.16.1631444091476; Sun, 12 Sep 2021 03:54:51 -0700 (PDT) Return-Path: <ffmpeg-devel-bounces@ffmpeg.org> Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id c7si4584124ejc.779.2021.09.12.03.54.51; Sun, 12 Sep 2021 03:54:51 -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=qIEm6Pc5; 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 B231968A94E; Sun, 12 Sep 2021 13:54:21 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05olkn2018.outbound.protection.outlook.com [40.92.91.18]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 7E41D68A64B for <ffmpeg-devel@ffmpeg.org>; Sun, 12 Sep 2021 13:54:19 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Tn7Yo6vDWCzASnnmVViJVkrkbTP6bbusehc0Z/otJc3FgYBK9AYJ7RIgN1xCsfVSEgBz7Urun0IUSi0z3W9h6ZF3N17GOocSk79azYIkt9isdN/gIJy2qiHg5ZBWg1eUUmxoIVGql+aQ3RNXrZ47y+Kj1ZH+YX0MfTq26hpb2tV07aLZXZxYJCyOHaPE0G10/0bGPgdl/XUttZcb8E/juWc1xnT4j/DWkj0X/DZD7zIBSUBmGI17aSgeYX/a166RqVA6h9Rx8cR9DDFrkJghEaV1UCLsuTpJ68xD1UAf0oJck/y2RnpnQviSS6sTEOzOSCO4Q+dNExmfzXSm5sKDxA== 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; bh=q0BLRcmaXywF+Xb9IIp1cVVHSOkUodkedFa+B1KQTBY=; b=NkajJpnfNxiPQayusEoyjjrPDddN//aZZ7ULL76Yyo77Ut259m8Z1M3bNPxfbmZJnaWsKlGG5K4RSp0IbOAtm+H1hKDlgQ+w3u4pGIVfLRKxpBx+Uhbo4rc3S11Yn74+kRw7XAWyCyvqNXbCYa5xvf8S0yrZj/Gc0HrY84KcZf8vexMmmwkqTrQaxMa9XUYMXY4peqi2uLTO2berYhCGolnIrSsvhNqiYzohNlD6engiRrBrDzkDaRHf1clknxaefPTPJylYzkkNSAxd8QCNUDLwrDaEJvxqLe95vvFRH3ZmEChqUWCdJBpuFZEKfIpJk+w2hB772Nfc4xt04pwVSg== 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=q0BLRcmaXywF+Xb9IIp1cVVHSOkUodkedFa+B1KQTBY=; b=qIEm6Pc5vquqtqnQ6P1HBhArsvvwMnsx82j54fVFgne1yyhIGtHKKqQHjj2/hvPu80OrSylEa2Kv6JWk1CMr7zUBD+m7l18g+hlhNNpYo5kbQeVKRmHZX3cLlyGsUfIyps3tCVw/GPPHeUEKhvxwgs1CGellEnq+edZ2/ebiDyev7HkL6xHADvo3LWc0VskLQkO5GqG2qxbH6Ll+WjUhvpqINh1AqwrpFo1ICayRJjvVUPCk3Akw/JwzQtmCidodxMQxjbPfnJbzYqM6pKyRcKGwTzma3vVlgCEEXfjzhPGNgRUWS/Clw1ABgF5QGaTUMf86VKPu/un9/48F9ncNtg== Received: from AM7PR03MB6660.eurprd03.prod.outlook.com (2603:10a6:20b:1c1::22) by AS8PR03MB7158.eurprd03.prod.outlook.com (2603:10a6:20b:2e9::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.16; Sun, 12 Sep 2021 10:54:18 +0000 Received: from AM7PR03MB6660.eurprd03.prod.outlook.com ([fe80::787b:2156:ca99:fe00]) by AM7PR03MB6660.eurprd03.prod.outlook.com ([fe80::787b:2156:ca99:fe00%4]) with mapi id 15.20.4500.018; Sun, 12 Sep 2021 10:54:18 +0000 From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> To: ffmpeg-devel@ffmpeg.org Date: Sun, 12 Sep 2021 12:53:25 +0200 Message-ID: <AM7PR03MB66604C3A26E9A8DDEDA4E1FA8FD89@AM7PR03MB6660.eurprd03.prod.outlook.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <AM7PR03MB6660AA1707320F404A82158B8FD79@AM7PR03MB6660.eurprd03.prod.outlook.com> References: <AM7PR03MB6660AA1707320F404A82158B8FD79@AM7PR03MB6660.eurprd03.prod.outlook.com> X-TMN: [0H6pW5cEYATu/n4881yIbjXFXJZmYOVf] X-ClientProxiedBy: PR3P191CA0049.EURP191.PROD.OUTLOOK.COM (2603:10a6:102:55::24) To AM7PR03MB6660.eurprd03.prod.outlook.com (2603:10a6:20b:1c1::22) X-Microsoft-Original-Message-ID: <20210912105330.2310204-6-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from sblaptop.fritz.box (188.192.142.38) by PR3P191CA0049.EURP191.PROD.OUTLOOK.COM (2603:10a6:102:55::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.15 via Frontend Transport; Sun, 12 Sep 2021 10:54:17 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d88e9a79-e3b1-4cf8-f4a6-08d975dbab24 X-MS-Exchange-SLBlob-MailProps: IONHXCiRWANgiGNl30/Xz88Br5ZgdUZI1hUghkFXj72G0nXFIU5uct3JAzgENJyjEVLNkbwCoMr16YjKJDFX+YS0+I2gmgFf0+7scptcpo1p0wUVOiNB/VlswQRrgH5zaF7x0/c/aCKrVDO2Q2M3LvFkboxRL2c5aifdjhpTv3jMu8omJvpeyp4BOlymJhoXfcAl5cLIF6nvFhuYi0lxHHw78/re9IXQ7emSl4DKLVkBMo4coaC+nXKh3chyMxXjuiplKt+Wg9xeSh5m68/BT9YlxSFf1uDm4vyuHV+Oo89mjUmh2Kn/GeEzal+p2Y1DBHSkZUSz6qhvJVkJ/Dpt4Zr75WJ/CgdGmvgz6o6QGrpfnODSzRgiByy8KlaobI21gXAKKvfmuQga9Gw8RZuD4gvu69zz9zqmH8jIJYyTcgF/1JaZ4R2dHtbPjN5wmEpOc7GkKKtg3tjw2IoJlYhNkzbqDI3YuzO0xqJ6ygn5z9kNPQhJec1LEYlob/8RubzSiKgiJHDygDBgNPllh8vosYDgxmBxwU+IWYIKR90JZEo8LesOo41sy1nMyZJUi+zyCSJxMreVuW5Yg8xRuND299a3CadSO0D+V3b5vbisS6PJ5ZJmKN9PZ3fu+O3KRosYEmde8uKlvB4Ba9xzwq6kPeCoxRaRwZvFSN6JUq06W1920RIfoyreyG+IM9HA4zpBzvDOqiP3rUsb0VY81V2qI1ITojjUpwabbFfUo+9/5QI= X-MS-TrafficTypeDiagnostic: AS8PR03MB7158: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: COUDWv7hD3zQj3Exgkgwi2FneregQvuNFe+KYyaOqd+wxypFBbV+wBUfIeMEm9ek57qvdayLxwe3phiLLfvK9OqyT2LGh1Y/+GkM7MLAu+420tmnJV3IcG+mKsJ40FRRWx1Bu2L0BW65Q1xJM+0V7r1vTgzCKlgYQhnGoiiiSc5X+s50SfTvvlY6hXvJjviRKEFSOiknUakgjJJ2L3bX99SHTKcFgxrAcd+YCQqz803j0TkDVXkmpBIS18NJ73gWjoXcFq3fESRvXFVOiAMhmxjItnTa+Dm3Qln/gBcbPJDwfnRrFFQ+JCFneYKAxEUmzVIfBDK1BcVX9tzaJcQVGLABrLwTbvmaqdggsdiLX1ezTg5Ut8iwd1DJmfz9N0PICWsGu8EV9Um3SOjMTEHNr0im4kLS5IqA6LU6FDkIiofl+qpI+C13H89IcCoJxKPf X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: sKwx2e1JuA12rvSP7L7EkVLGdyZtTnWWiyanB/JincGzBQ5CVENWoAlItsiVeEZToGF1I2EbY286jVrGeLoCy7eoi6WB2eN3n/7Ji/4ywRf1QK9spqCL1yYC1Ema2S5C2DLFy1FzBcuKrtfNYJuKPQ== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d88e9a79-e3b1-4cf8-f4a6-08d975dbab24 X-MS-Exchange-CrossTenant-AuthSource: AM7PR03MB6660.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Sep 2021 10:54:18.1439 (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: AS8PR03MB7158 Subject: [FFmpeg-devel] [PATCH 27/38] avfilter/vf_vif: Remove empty options and AVClass X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org> List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe> List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel> List-Post: <mailto:ffmpeg-devel@ffmpeg.org> List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help> List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe> Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Cc: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org> X-TUID: 23bbCH5WHcJ4 |
Series |
[FFmpeg-devel,01/39] avfilter/vf_maskedminmax: Simplify init
|
expand
|
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | fail | Make fate failed |
andriy/make_ppc | success | Make finished |
andriy/make_fate_ppc | success | Make fate finished |
diff --git a/libavfilter/vf_vif.c b/libavfilter/vf_vif.c index da3069c1f6..13714d8673 100644 --- a/libavfilter/vf_vif.c +++ b/libavfilter/vf_vif.c @@ -28,7 +28,6 @@ #include <float.h> #include "libavutil/avstring.h" -#include "libavutil/opt.h" #include "libavutil/pixdesc.h" #include "avfilter.h" #include "framesync.h" @@ -40,7 +39,6 @@ #define NUM_DATA_BUFS 13 typedef struct VIFContext { - const AVClass *class; FFFrameSync fs; const AVPixFmtDescriptor *desc; int width; @@ -57,14 +55,6 @@ typedef struct VIFContext { uint64_t nb_frames; } VIFContext; -#define OFFSET(x) offsetof(VIFContext, x) - -static const AVOption vif_options[] = { - { NULL } -}; - -AVFILTER_DEFINE_CLASS(vif); - static const uint8_t vif_filter1d_width1[4] = { 17, 9, 5, 3 }; static const float vif_filter1d_table[4][17] = @@ -643,7 +633,6 @@ const AVFilter ff_vf_vif = { .uninit = uninit, .query_formats = query_formats, .priv_size = sizeof(VIFContext), - .priv_class = &vif_class, .activate = activate, FILTER_INPUTS(vif_inputs), FILTER_OUTPUTS(vif_outputs),
This filter only had an AVClass and empty options because up until recently, avfilter_init_str() errored out when options were provided for a filter without an AVClass. But setting (generic) options is necessary to take advantage of timeline support. So with avfilter_init_str() fixed, the AVClass and the options can be removed. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavfilter/vf_vif.c | 11 ----------- 1 file changed, 11 deletions(-)