From patchwork Sun Sep 25 00:10:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marvin Scholz X-Patchwork-Id: 38221 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:3b1c:b0:96:9ee8:5cfd with SMTP id c28csp1389939pzh; Sat, 24 Sep 2022 17:12:23 -0700 (PDT) X-Google-Smtp-Source: AMsMyM71jfwBy0Q2Q5JGlHMxocqjN/bEXk55z9E75Yu65I2hS36VdKwb/RMgYafPLEr/YWtsd93B X-Received: by 2002:a50:fc9a:0:b0:454:6a56:7d27 with SMTP id f26-20020a50fc9a000000b004546a567d27mr15345852edq.73.1664064743247; Sat, 24 Sep 2022 17:12:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664064743; cv=none; d=google.com; s=arc-20160816; b=mGiwfVK0AN8SuNxWi8vhY/tfDC7StuFwtiUrYiVqPvgJiofKLL+rZqCAHzyVvHpg/O qM3r2s4VteCq8CNNOGydq2uyYwIOdAsfTun+yLE/gdf/cUuWfm8D8eI7nqfL4I2Q5Ww5 dj0ltu8bFvwNa+M2qmqsXzC0laMRIO0FBCAc4kwDkRAHzumZFGcb/csI83g43HyGxrmX r/kinrB4q/9z/FhpZWHOICUKtHwa5z3I51RK9tTrSMyEpn2RcrLBoHlaLbLkCU218HA+ k2qvSnmJPltIIf5dskRle9pdQRVV3aspvIyGUCUsI7lG5s2C/Yf8focObp0NQglX5ZKx Rnzg== 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=df/UdaQ+8foHMnrPRdwILw0IBpzf4XCX1CBOTnGzCVY=; b=0kEOC4QqQTXuKO3+i8+3YFfbrtabiTBrFX7iwhcpPkqr9IZOmD/28OK0fQroi1jCjC 6JnVMNP9SgkB2GGGg+EPKuDV156QPqzaraUhxPS8E4zvNR7isbJbvgxshRRamNux6mJw LJU8mvKxgmmTDVP3alq0E9V3m0ZRa3PIsDcEMIvCYoM4aQQzU65MzjDfNOC71sPHo6Hu rfr9QYi0DhLlPRufCbLF3ke2PS8HUdV0MeblaYL8U20PIIPDHJF+aOtWpgfLLJ9EswN1 hKofYhzO6T2vyI1s2OJAerpXm2GFRxDaJhkVK4XrMmO8T2Djv1+Y3lFYsMDclMUG9Bt0 ub6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b=nmfEigx+; 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 hr38-20020a1709073fa600b007824b85978asi7891917ejc.81.2022.09.24.17.12.22; Sat, 24 Sep 2022 17:12:23 -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=nmfEigx+; 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 49B6968BB15; Sun, 25 Sep 2022 03:11:50 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-ej1-f54.google.com (mail-ej1-f54.google.com [209.85.218.54]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id BD0E668B357 for ; Sun, 25 Sep 2022 03:11:41 +0300 (EEST) Received: by mail-ej1-f54.google.com with SMTP id sb3so7405313ejb.9 for ; Sat, 24 Sep 2022 17:11:41 -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=WqWBHUiNeF1sI/YS0gsrcaVAre7eHUBA4xaJM7qBGXY=; b=nmfEigx+P8Od61RiHsM9BILFadtp/aeipdH3p39w81TwD5kgUFgzAFJFQP6FSoq3o1 pG/KorGIianShBIznIw/w+mhjYhEOfcvDtC0qEWbzOCKWwGpJp4AY3gOZdFoNTBq0XsT BAGoLqCgF2oqDPLzYfXCNN1q7LSDU6sgzwyPe0nKX9HTgqYTZeAw/1RZ5QQEeyvLK1fV ZEzqnRfbKK1np7q0rxSuhhE+8m7c8A/tKn/YpYqD0sO5D+5Gk21LIsmPf7MSRC/RwjZU GbHdJu8ITWlWXwc0k9WT+mynEz/HoLu6JgqF7vfq/arQD3aG6Y2bkXr8O5IWetZzkEOW eKQA== 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=WqWBHUiNeF1sI/YS0gsrcaVAre7eHUBA4xaJM7qBGXY=; b=LWmEQaEzEwsqBx77ooZmkRta7kZSUSgy+F25/QQM9PORar+rY2ND0qjTOpEpX7Qn6N chtDU/vj+4T1OA9LxSa3vLLyrkyR0ScuYMRM30OUeRkd2nmtr+tFx1QrgQ+2jNCoSEzs XueuSZ/7l+I9NDo2QYVTtOG6A8CDcg4nnZx7cJJK5nBuFh2A1Qfj9rF7RG7ajHBa081p 141npOIUDBzUMKcsBi0hlD2qBqSGwr1NTv7vdcowqwoJxDEz641ZZ5iIKkSIMVqNfxsM Jj36ID3YNZuXlaU3ZROfFgmMq1eSsJ+uwHV/8VEm5ugbRTr6wmKCEXBYEXHh2kqKpO6P uOhA== X-Gm-Message-State: ACrzQf1VZ7DGdO+oO4uzXiANr202olTGkG4O2II1codcZq2ALTMnqIHk yppE9zPNMh3PynQw927qdU+ub7XEXuo= X-Received: by 2002:a17:907:628f:b0:72f:58fc:3815 with SMTP id nd15-20020a170907628f00b0072f58fc3815mr12539103ejc.719.1664064701073; Sat, 24 Sep 2022 17:11:41 -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.11.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 17:11:40 -0700 (PDT) From: Marvin Scholz To: ffmpeg-devel@ffmpeg.org Date: Sun, 25 Sep 2022 02:10:31 +0200 Message-Id: <20220925001121.37721-5-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 04/54] avutil: Fix mismatching argument names 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: vxFhrg6xPXon --- libavutil/hwcontext.h | 2 +- libavutil/mathematics.h | 6 ++++-- libavutil/mem.h | 3 ++- libavutil/rational.h | 3 ++- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/libavutil/hwcontext.h b/libavutil/hwcontext.h index c18b7e1e8b..efca17585e 100644 --- a/libavutil/hwcontext.h +++ b/libavutil/hwcontext.h @@ -249,7 +249,7 @@ const char *av_hwdevice_get_type_name(enum AVHWDeviceType type); /** * Iterate over supported device types. * - * @param type AV_HWDEVICE_TYPE_NONE initially, then the previous type + * @param prev AV_HWDEVICE_TYPE_NONE initially, then the previous type * returned by this function in subsequent iterations. * @return The next usable device type from enum AVHWDeviceType, or * AV_HWDEVICE_TYPE_NONE if there are no more. diff --git a/libavutil/mathematics.h b/libavutil/mathematics.h index 64d4137a60..e4aff1e973 100644 --- a/libavutil/mathematics.h +++ b/libavutil/mathematics.h @@ -111,7 +111,8 @@ enum AVRounding { /** * Compute the greatest common divisor of two integer operands. * - * @param a,b Operands + * @param a Operand + * @param b Operand * @return GCD of a and b up to sign; if a >= 0 and b >= 0, return value is >= 0; * if a == 0 and b == 0, returns 0. */ @@ -186,7 +187,8 @@ int av_compare_ts(int64_t ts_a, AVRational tb_a, int64_t ts_b, AVRational tb_b); * av_compare_mod(0x11, 0x02, 0x20) > 0 // since 0x11 % 0x20 (0x11) > 0x02 % 0x20 (0x02) * @endcode * - * @param a,b Operands + * @param a Operand + * @param b Operand * @param mod Divisor; must be a power of 2 * @return * - a negative value if `a % mod < b % mod` diff --git a/libavutil/mem.h b/libavutil/mem.h index d91174196c..c9c4fcf1ff 100644 --- a/libavutil/mem.h +++ b/libavutil/mem.h @@ -667,7 +667,8 @@ void *av_dynarray2_add(void **tab_ptr, int *nb_ptr, size_t elem_size, /** * Multiply two `size_t` values checking for overflow. * - * @param[in] a,b Operands of multiplication + * @param[in] a Operand of multiplication + * @param[in] b Operand of multiplication * @param[out] r Pointer to the result of the operation * @return 0 on success, AVERROR(EINVAL) on overflow */ diff --git a/libavutil/rational.h b/libavutil/rational.h index cbb08a0baf..8cbfc8e066 100644 --- a/libavutil/rational.h +++ b/libavutil/rational.h @@ -179,7 +179,8 @@ AVRational av_d2q(double d, int max) av_const; * Find which of the two rationals is closer to another rational. * * @param q Rational to be compared against - * @param q1,q2 Rationals to be tested + * @param q1 Rational to be tested + * @param q2 Rational to be tested * @return One of the following values: * - 1 if `q1` is nearer to `q` than `q2` * - -1 if `q2` is nearer to `q` than `q1`