From patchwork Sun Sep 25 00:11:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marvin Scholz X-Patchwork-Id: 38246 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:3b1c:b0:96:9ee8:5cfd with SMTP id c28csp1391797pzh; Sat, 24 Sep 2022 17:16:59 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4dcSCZLiVB8l10K9wAkplRY4zJYbOl5yJpVTxKP7Dg1k+Ok4EqVpzPM6Kb4K9L37kXuWfS X-Received: by 2002:a17:907:6e87:b0:782:2d55:f996 with SMTP id sh7-20020a1709076e8700b007822d55f996mr12761067ejc.502.1664065019403; Sat, 24 Sep 2022 17:16:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664065019; cv=none; d=google.com; s=arc-20160816; b=zneTA5LCXDMurHDN5ll3jAlXnl08k/HaTRLqE/gXtDOHkR7cZrLTkpQc85H2EvlPHS bqnaMageZIbBWzeono/OBUYJsTmKxMnDzbtLqGud+nYIRyXPc8DPgBtXHNUPx4gACT5O K2CeJXmKeeRZzC7kyOeu4fNIZtQ4O5SHX2+vzh2udX/6xx+82RgCAHmPuJJNheFdLQin +kUAUOyZ9x4wpnb3XLVW79P4zqzQxwqSNl3QXuvEfxj6DG/bsdgRlpoC24tel0Tqk6Fu iomjsz4hCU+nVhbPBsm0sk57i1Y72h75W4gxPZayDnACQBse8w0sZk9DF7XcL69BcwUU Y+mg== 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=r15MfC1GyNdEtp7n5dooBP2n904eTAnPP4DQr5CPUH4=; b=tSmHnpOinnr6AQN6udrqgLP7PI2iDzprCaWlAUQxNUa4XS/M1xFyAAOVqXe/acNJVH OH6HG4oOnYAtN6Cp4PsWAPukcChnnYWW+mDS+H13bRYa1G+RTDCuo5HO81h57wo9rAY0 KSPkmZyqDgGjijhTQQ8gU1sig1EYaKOjboRatw+QiZJE05am4bDvmo4KjUBMIH3/NdOk Ak9dB+KwtyvJTDyQMKfKY8R91M0hhmT5Ix5PcSXTgn6xNIQEUCFJg11EewYlOIL4ZdG1 gZTo1ZTQD24Z5AOAWmhITy9SY9xZKeXHZ6u2Pw4eTfa1StixP4sEfZuzjnBepVOlWENb z3Ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b=pAi4mKHZ; 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 t26-20020aa7d4da000000b0044e95772e45si4021676edr.578.2022.09.24.17.16.58; Sat, 24 Sep 2022 17:16:59 -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=pAi4mKHZ; 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 3133D68BC2E; Sun, 25 Sep 2022 03:12:21 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 4472568BC2F for ; Sun, 25 Sep 2022 03:12:16 +0300 (EEST) Received: by mail-ed1-f54.google.com with SMTP id f20so4662120edf.6 for ; Sat, 24 Sep 2022 17:12:16 -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=8vyy7lf+phanRTPV8SYUwdioWcIwdnnV41pqHFvm/7E=; b=pAi4mKHZ/GSBz6+CScTPBKMLeS+NkufxPJSxkBRkgRr6xS7p3RkpcyndGseGpgrn8q ziIfSxi/w7SPydpe0BIxKaIJ7LmEOzVY0hr78BbQcFyIMpx6YpdGZbYysJpkUanlqsWW 42SECfElKDfYAfBz0ryNt4lgnr3hNSR/FMgo+v2D5LB3+0K37ojiP2wkZUyk7IFBLbUd 2ZzH9yd6yEG9/zZWkQDVWHcJa8QLe7I3XqbQisFb1r69tRj+qXno3E0k4/LJ6lOiRuYo AKD2lRl7jwJm+uzzFo+khdo2YQWb0/Vbg65fvgdUtfQCbDgk0+3Qhi1fJukMfEe9H9ru 5l1Q== 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=8vyy7lf+phanRTPV8SYUwdioWcIwdnnV41pqHFvm/7E=; b=pL9eKW178OwEaHMiEXmzPkFSuUDeVksspyQV/Isxiiv9SE0CfGzkDsgLYmE71L9fO+ XokIrNE8EL7r3eDquPBE5hzE1AZU73ZUU3OBxul9ku13VQjo1ASIxS10wUCM4HZLNeP/ Cu3ET5YyDhcMkMIfFasuzI9HZU7DS/n7CJVbVdQnTzOY2GgWZXf7lyLAcvHz4iFut145 X8uSJ54qUrQ0c4W/6ZmpPshBavGVP0DTuzguk7mkqEfygQbrw/ohXxt+eNWj3j+1k1Oe oVM9ryYmmHjLrOhDxCtHUyWjUv7qp7sr5NR6BSq4qjycKjdhmpK3eFdScxp1Ol+z4x0K qxqw== X-Gm-Message-State: ACrzQf2aVobkIYeuF7+wdn7BsWWMxf0csv+3zLWeNjP/waxja1BkYDa/ zPk2vc2aXGNNIesWwCq+5PxXRiOgBa0= X-Received: by 2002:aa7:c78e:0:b0:456:c524:90ec with SMTP id n14-20020aa7c78e000000b00456c52490ecmr9845684eds.192.1664064735958; Sat, 24 Sep 2022 17:12:15 -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.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 17:12:15 -0700 (PDT) From: Marvin Scholz To: ffmpeg-devel@ffmpeg.org Date: Sun, 25 Sep 2022 02:11:03 +0200 Message-Id: <20220925001121.37721-37-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 36/54] avutil/eval: 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: KCm2b7RIvWhd --- libavutil/eval.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libavutil/eval.h b/libavutil/eval.h index 57afc2d562..ee8cffb057 100644 --- a/libavutil/eval.h +++ b/libavutil/eval.h @@ -42,6 +42,7 @@ typedef struct AVExpr AVExpr; * @param func2_names NULL terminated array of zero terminated strings of funcs2 identifiers * @param funcs2 NULL terminated array of function pointers for functions which take 2 arguments * @param opaque a pointer which will be passed to all functions from funcs1 and funcs2 + * @param log_offset log level offset, can be used to silence error messages * @param log_ctx parent logging context * @return >= 0 in case of success, a negative value corresponding to an * AVERROR code otherwise @@ -65,6 +66,7 @@ int av_expr_parse_and_eval(double *res, const char *s, * @param funcs1 NULL terminated array of function pointers for functions which take 1 argument * @param func2_names NULL terminated array of zero terminated strings of funcs2 identifiers * @param funcs2 NULL terminated array of function pointers for functions which take 2 arguments + * @param log_offset log level offset, can be used to silence error messages * @param log_ctx parent logging context * @return >= 0 in case of success, a negative value corresponding to an * AVERROR code otherwise @@ -78,6 +80,7 @@ int av_expr_parse(AVExpr **expr, const char *s, /** * Evaluate a previously parsed expression. * + * @param e the AVExpr to evaluate * @param const_values a zero terminated array of values for the identifiers from av_expr_parse() const_names * @param opaque a pointer which will be passed to all functions from funcs1 and funcs2 * @return the value of the expression @@ -87,6 +90,7 @@ double av_expr_eval(AVExpr *e, const double *const_values, void *opaque); /** * Track the presence of variables and their number of occurrences in a parsed expression * + * @param e the AVExpr to track variables in * @param counter a zero-initialized array where the count of each variable will be stored * @param size size of array * @return 0 on success, a negative value indicates that no expression or array was passed @@ -98,6 +102,7 @@ int av_expr_count_vars(AVExpr *e, unsigned *counter, int size); * Track the presence of user provided functions and their number of occurrences * in a parsed expression. * + * @param e the AVExpr to track user provided functions in * @param counter a zero-initialized array where the count of each function will be stored * if you passed 5 functions with 2 arguments to av_expr_parse() * then for arg=2 this will use upto 5 entries.