From patchwork Sun Sep 25 00:11:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marvin Scholz X-Patchwork-Id: 38243 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:3b1c:b0:96:9ee8:5cfd with SMTP id c28csp1391570pzh; Sat, 24 Sep 2022 17:16:33 -0700 (PDT) X-Google-Smtp-Source: AMsMyM75IVZx6j9sI/CXKFffh2udnzk7iXiRLBNzo/liTh9M2L8J6pRnBcqAutgWvABQqlYl5grs X-Received: by 2002:a50:a69d:0:b0:44e:bf40:395f with SMTP id e29-20020a50a69d000000b0044ebf40395fmr15455285edc.234.1664064993203; Sat, 24 Sep 2022 17:16:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664064993; cv=none; d=google.com; s=arc-20160816; b=DsRWY230ExZS5yY6kxy5ZX5gT06e9oMNbrqO4r33tzp/b1R9MubpKzU25Iama97jmS 3KWJWB1rFdnQohwzi6Bj0Nv/pFprnCX3YT1OOJPxHrXjndjE0062WjjWEmwCFb+ZbQDM mCtXAdq5ud/cAYgq5JEyujaegCgvrtSueeo1lFWNpfGSEBJ6K0TlcSXFrvji8Mn+PBiC cWkduBvCQrOH1HwRCcqZOEzwrt8UjW20fTT9ri4JkBn4xBrWp0nl0Gx3wkTvx3PSTAXS CDcFLDBGPqm+ox61B9dOSu+p8Pw7zDMa5j8JCFBYm3xi3XyKfKrtMJ91owNmDhcd8JNc Ti/Q== 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=dTSfkRtSgfplBkLu2p7zoAbenAvUCjIzGS2g1CcRLjo=; b=YvZKiAKgI4+3e51UNyr6zM8ur4ngFtsTXXpCpAnztK6afJXHKhR8EJOi2OxTTVhaxT hkNvvqOYT2ncJdo2Ruvyht5gII7sxCt3XlAzHnY1IJfTNhSCm8WR3n7AvJk+JKhfwk2i XcQDxYhaFaIx7nPLffxZW309LoWeN3h2+eOyBRLcw+B0L/rn0AKLrtSqaU+w2R4RymRb 4C2LZq/ZkDbNEEbjgf3AOw+wZ0jy3G9mEe7EZwbYZac4nF3hA/LXw4pVjHOTEPXHCCrM 3P9X15uQg9ovUmU/cmT8jkuSiALhXcR4363QdTXUuIuAXRDsUer9xcu9/CF/VM8PbXUs CK3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b=Usl0MnRA; 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 dp14-20020a170906c14e00b007821dcc397esi11398329ejc.996.2022.09.24.17.16.32; Sat, 24 Sep 2022 17:16:33 -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=@gmail.com header.s=20210112 header.b=Usl0MnRA; 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 8BA9968BC32; Sun, 25 Sep 2022 03:12:18 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 11FCF68BC12 for ; Sun, 25 Sep 2022 03:12:12 +0300 (EEST) Received: by mail-ed1-f51.google.com with SMTP id z97so4647736ede.8 for ; Sat, 24 Sep 2022 17:12:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=XD0QSRB40C8PHLUxpGEpBfFMGjk2HZNaAuaPN/JPhDI=; b=Usl0MnRAe6EPEdB/y+TQwo5HwGJefmuG6Axm3FYNPylqvb0X00rNWpOMeWjIZ4IFRM zi/ioBgjJ2S1X6iM8QGYy4qYfVQd9u2KjZXcE5gC7ZKo/yRV7lT6b5foJ/dNftkvMhq9 hUTAZOsNjN936gZE6ecQLg6wPQCyfaDrVU6djCMe/4VseSa5yxV9DIRYN2MyT0/msZOl 0wHOMNJUfyUVZYYUZhzNRGlDTtk1Rq3Nm2LkURhUiIR02rGcA7/aD7QdkO2d3pNPHanW w+6Ch6kCKbDUK1CKwVX7V/AqKiTcfYCCnCpHzgOxDG1b/Uat9dql7ZFbPb2vlu2N9AXX A4Cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=XD0QSRB40C8PHLUxpGEpBfFMGjk2HZNaAuaPN/JPhDI=; b=zkGu0Ung167AOdreAeC5SWJu8pCmyCqruv5+rFX8318uSxwGoSzr/epFUsPGoyoKvv RkdrAF7mUHs5IL3WKqLkHpfHkd/R9ErY/E53EbdqMzhSPQU/4dYaJGMH4Eag9jYvEs8n GpZar/JbB7SEswXE4VG71xp+xXN8JbAX/3NhbmVcLUrTjeHRbu7eetYd+htHVN0SPK0V LMpM+Rn9atAvmtYaD+vo8N17pfu0qYH8MjfFQDDgT1jQP+YfDMZ6MfAEHGXdKOdr5tPY tdjEcGHyDYQTkFpMemfOtinGh90nH1mfWXO0QkkJa78614jqEeeUAjYFX2EnC98AX+MS BcuA== X-Gm-Message-State: ACrzQf0GJgWYnY1uZK95t5pbyFDNkWSo6Dfzq3W27r715PHHyQGGY2YJ Zsv4MxtekmPuO0hjoCDy/tPikWIBlHs= X-Received: by 2002:a05:6402:34c2:b0:44f:322f:f0de with SMTP id w2-20020a05640234c200b0044f322ff0demr15859204edc.297.1664064732768; Sat, 24 Sep 2022 17:12:12 -0700 (PDT) Received: from MBP-von-Marvin.citadel.scalie.me (84-112-104-25.cable.dynamic.surfer.at. [84.112.104.25]) by smtp.gmail.com with ESMTPSA id kz3-20020a17090777c300b007812ba2a360sm6208042ejc.149.2022.09.24.17.12.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 17:12:12 -0700 (PDT) From: Marvin Scholz To: ffmpeg-devel@ffmpeg.org Date: Sun, 25 Sep 2022 02:11:00 +0200 Message-Id: <20220925001121.37721-34-epirat07@gmail.com> X-Mailer: git-send-email 2.37.0 (Apple Git-136) In-Reply-To: <20220925001121.37721-1-epirat07@gmail.com> References: <20220922020400.46715-1-epirat07@gmail.com> <20220925001121.37721-1-epirat07@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v3 33/54] avfilter: Fix doxy references 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: Marvin Scholz Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: YFswDq0WNWm6 Doxygen does not properly form references that span multiple levels, so instead reword it a bit and manually add the references to what they should point to. --- libavfilter/avfilter.h | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 2e8197c9a6..e43e9b38c7 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -313,13 +313,20 @@ typedef struct AVFilter { * and outputs are fixed), shortly before the format negotiation. This * callback may be called more than once. * - * This callback must set AVFilterLink.outcfg.formats on every input link - * and AVFilterLink.incfg.formats on every output link to a list of - * pixel/sample formats that the filter supports on that link. For audio - * links, this filter must also set @ref AVFilterLink.incfg.samplerates - * "in_samplerates" / @ref AVFilterLink.outcfg.samplerates "out_samplerates" - * and @ref AVFilterLink.incfg.channel_layouts "in_channel_layouts" / - * @ref AVFilterLink.outcfg.channel_layouts "out_channel_layouts" analogously. + * This callback must set ::AVFilterLink's + * @ref AVFilterFormatsConfig.formats "outcfg.formats" + * on every input link and + * @ref AVFilterFormatsConfig.formats "incfg.formats" + * on every output link to a list of pixel/sample formats that the filter + * supports on that link. + * For audio links, this filter must also set + * @ref AVFilterFormatsConfig.samplerates "incfg.samplerates" + * / + * @ref AVFilterFormatsConfig.samplerates "outcfg.samplerates" + * and @ref AVFilterFormatsConfig.channel_layouts "incfg.channel_layouts" + * / + * @ref AVFilterFormatsConfig.channel_layouts "outcfg.channel_layouts" + * analogously. * * This callback must never be NULL if the union is in this state. *