From patchwork Sun Sep 25 00:11:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marvin Scholz X-Patchwork-Id: 38251 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:3b1c:b0:96:9ee8:5cfd with SMTP id c28csp1392078pzh; Sat, 24 Sep 2022 17:17:42 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6G3FGleJHJxTEZqYkbPlTsnmgGLdGRv6EGZj7RrCmQM2beHqVnOs1HBn8SE5sTN22TmRkm X-Received: by 2002:a17:907:1c8f:b0:781:de51:f808 with SMTP id nb15-20020a1709071c8f00b00781de51f808mr12644428ejc.733.1664065062385; Sat, 24 Sep 2022 17:17:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664065062; cv=none; d=google.com; s=arc-20160816; b=ORZvAeN0FD7QomWdR69BBZVUmrJK79tT14WlhX6rlNofnXmeK1IgSkSS1kdQEYQwB+ GLQFNejF9mo9W6HJHZxNbezXW8mQcSQLg7ZUr3z+91GZjX+PAIkbjMEBYT9F7rLwmo5F A3aybo6Lg9F74NClt0KjF6/aj+5OlY9WbzPStsWfgobUWyYSjR/Yy2cKIYm6/xFFvreO hPGOkZK7yWs67+gNCQIo/fjGTWmyn7p5phavFsiCj7OT8cLSOPwrUGX7xC2/obYt1aR2 hNaRXdv3pXWOzyw9Cx0I0APyGDJZ5NADAcXHFiuFmucNNnZse+DoPLbjLrO2/klsenDg T9DQ== 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=ww2JcKO4YO2Rx2poM4s2E+R47LOgu+sczRv83eC2a10=; b=b/qpkIEH8sjMxTiWkz5f6upjAC+4qgstoPaXY3Y9dBtmI5JzkEs8BA5+yPgk4SUy29 hLSuvITKQ0XvyTofIQQLRjnLhGpZgQXOLKpyT91JJUIqcB/iW9ysxBw9NQ/1AMoTmsPq C2w/ZRdSLlO2vATHFwujFYDAiE/z/Tb4OtgQiUcHjeTMycW5OiCNtPbIhHnZSsKXhEKB xfBN5aDDZAYPJ5FFm038+soYhivKJmMFbPay0XljeBLCTArpD7Mq780249A9Y89BcuAw h0rZM8kje/hVTkcHQyrDMb9XKfFE3ro4d5L4K61VxlwNi6pj2WnJbd6d4O2QhNc3dyyN zKSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b="k1nEcq/N"; 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 nb37-20020a1709071ca500b0078341b2e269si890280ejc.886.2022.09.24.17.17.41; Sat, 24 Sep 2022 17:17:42 -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="k1nEcq/N"; 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 8FC1C68BC6D; Sun, 25 Sep 2022 03:12:29 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 1A2BA68BC33 for ; Sun, 25 Sep 2022 03:12:25 +0300 (EEST) Received: by mail-ej1-f49.google.com with SMTP id hy2so7413385ejc.8 for ; Sat, 24 Sep 2022 17:12:24 -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=hA0zjn8PPu88ljIlWMNEjm7lpXTiZ6HCM8KAf1HkSPU=; b=k1nEcq/NvtxrG1mEElrh5Wsnay8RokhhJdh4kZRcQRERQa2cnM2pGIorwvUpuAL6Dz J8zljQ0smc3s0QIqIbC3+K8HxMwO4MQ4Rgf9p4wO1rkNdnkwxVU3ty78RwLwDrTkDj62 Ts7o/iEuiP3HROCP6PP0bk3UDiu/mNItM0DsMFArsXyfUn7plOlJO7A2/UGztkDucahM L7341Jhf5WLLiqKRbDDYx15/vi3XyIcfBY2T9hutAI0BosttGpsCXsNTtEFVy2NZeq6e /7LiGCPIBFVyff55YoEyl1Y3MZB6Wvp+Wm78h3+JWCp/n5b819DebSzuvk7O3+MbNM3P DVtw== 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=hA0zjn8PPu88ljIlWMNEjm7lpXTiZ6HCM8KAf1HkSPU=; b=NgvR0+5Q1UsW29YmDg2pK3l30bP7bayD5Akferj7Z33CodhODIrC9qCqXTtUV+7E/9 GCylQio6aPzIC4GUvAOQ0K3KzSM60d8i2WBzE4ugsH5+gZ2LpfY8GrcA3xtWWCbrhkTv EmBnvlVGPwwugBLIM14P2ZDV7z93XVIcjpS+ABPHxZIC0EgVgTHYX8PdU7QHbgx2D1DZ 30G4ZsGwgcqeTJ+4JQniaq5Newzr7DKFRxlX/fye6uSqMElTqaR7wmmYaesHb1bgNzR/ ZhPU9H5Mzah8uyK84BExy0Xy9npLfzSzccWinQ21UeSoJ4+Le59m5MF3I+6/5VdmdUFS TqLQ== X-Gm-Message-State: ACrzQf01WPGPW3G6W7HkT1cTZEd7XkJw7PWEXI+8pOMiAqBippnXM6KW 3emw9tZR2f5Bgyc71JwN0+vwEuHpWCc= X-Received: by 2002:a17:906:fe0a:b0:76f:e373:d84b with SMTP id wy10-20020a170906fe0a00b0076fe373d84bmr12663118ejb.297.1664064744725; Sat, 24 Sep 2022 17:12:24 -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.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 17:12:24 -0700 (PDT) From: Marvin Scholz To: ffmpeg-devel@ffmpeg.org Date: Sun, 25 Sep 2022 02:11:08 +0200 Message-Id: <20220925001121.37721-42-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 41/54] avutil/parseutils: Add doxy for missing arguments 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: x9DTF9RyJ6Bs --- libavutil/parseutils.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libavutil/parseutils.h b/libavutil/parseutils.h index e66d24b76e..2e9017cb43 100644 --- a/libavutil/parseutils.h +++ b/libavutil/parseutils.h @@ -79,6 +79,8 @@ int av_parse_video_rate(AVRational *rate, const char *str); /** * Put the RGBA values that correspond to color_string in rgba_color. * + * @param rgba_color 4-elements array of uint8_t values, where the respective + * red, green, blue and alpha component values are written. * @param color_string a string specifying a color. It can be the name of * a color (case insensitive match) or a [0x|#]RRGGBB[AA] sequence, * possibly followed by "@" and a string representing the alpha @@ -92,6 +94,8 @@ int av_parse_video_rate(AVRational *rate, const char *str); * @param slen length of the initial part of color_string containing the * color. It can be set to -1 if color_string is a null terminated string * containing nothing else than the color. + * @param log_ctx a pointer to an arbitrary struct of which the first field + * is a pointer to an AVClass struct (used for av_log()). Can be NULL. * @return >= 0 in case of success, a negative value in case of * failure (for example if color_string cannot be parsed). */ @@ -106,7 +110,7 @@ int av_parse_color(uint8_t *rgba_color, const char *color_string, int slen, * av_parse_color(). * * @param color_idx index of the requested color, starting from 0 - * @param rgbp if not NULL, will point to a 3-elements array with the color value in RGB + * @param rgb if not NULL, will point to a 3-elements array with the color value in RGB * @return the color name string or NULL if color_idx is not in the array */ const char *av_get_known_color_name(int color_idx, const uint8_t **rgb);