From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 59295447E4 for ; Sun, 25 Sep 2022 00:19:00 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 772E768BC97; Sun, 25 Sep 2022 03:12:46 +0300 (EEST) Received: from mail-ed1-f53.google.com (mail-ed1-f53.google.com [209.85.208.53]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id D990368BABC for ; Sun, 25 Sep 2022 03:12:44 +0300 (EEST) Received: by mail-ed1-f53.google.com with SMTP id 30so4677819edw.5 for ; Sat, 24 Sep 2022 17:12:44 -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=vzNkQMTRI8J92TLWWAAngPEYoH/0s3C/ZGgY+I5gkpQ=; b=nucqmiW0vskLpDovha1Ec8iO3YsoizpRZjHEHStte614n996vZZH5GTKrmKM2PXaV4 kpl6V0OYq3U2uZzOm7dmKL68VWylQf3FfEzB3D5EhVNzA8Xs9EWeJaTIJOtTPDcYitA+ fh7hkn0FHEq88dkrM0x9tWTNBuYtjUobn1SoqeFw5G3OvzIllWls/E4jl1TfsCrWGgf+ 4VFrL1l+5vlesCSnk2GqfhzIFQxWrIDP74xoypDBTd/Dq5Y+ye++/3Oz8QSWVy+b9kvX svf8baP1EFM4KYYUBpVV2cAZwuozPy1CxbRRuqzVLINZCGkTv9XTT8KB8JvpS64guF3z XQ8Q== 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=vzNkQMTRI8J92TLWWAAngPEYoH/0s3C/ZGgY+I5gkpQ=; b=cxlbBqO8LrEEs0YFahb16G+37dtNYRYq7TypNVvNpWRPIWwEpzVuvn9Gz7ISOXGWNC vZPRIIuKpJR8JtnbkIUbZ1iaXdUXREYe6pp3SxhuTne+AwXaVTrRMbsiLNjy4fMelhZY Xyaau5sWRfYyFQGGDMQGOA3wGdla1kgebeJdDqDG7dvUdpOO7k5qIVDcHu81tOljdJp4 JvNn3mrOH1mxa5TA7VSWWQZ4ZDAY2miSBEZah+J6kQlm9cdSrdf8BkEKphuOIXi5+nWF M6e7O+w55PE7wAp4T48PoEiLzXiWPOir9EoVokstg0X8qrD88pQm6Z17tcR6+54Ujedi Ad7w== X-Gm-Message-State: ACrzQf1srdpL2tITB5Zhzz9DxiCe7ir/WLQSGzDW6sfTcPz7Wqq+eNKA /Dm0sh4hATHe3T4UDQyTABeMJjSwtC4= X-Google-Smtp-Source: AMsMyM4hK5kdPCn9xlpIciB2Gy53JzF5mG/JZJ0TIwftF37nncZHoto07LFRMROB1ABgLsNyJSmN8w== X-Received: by 2002:a05:6402:2217:b0:457:1eb6:ca3a with SMTP id cq23-20020a056402221700b004571eb6ca3amr1915917edb.364.1664064764026; Sat, 24 Sep 2022 17:12:44 -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.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 17:12:43 -0700 (PDT) From: Marvin Scholz To: ffmpeg-devel@ffmpeg.org Date: Sun, 25 Sep 2022 02:11:17 +0200 Message-Id: <20220925001121.37721-51-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 50/54] swscale: document some 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --- libswscale/swscale.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/libswscale/swscale.h b/libswscale/swscale.h index 9794f6a258..5410b9e0d2 100644 --- a/libswscale/swscale.h +++ b/libswscale/swscale.h @@ -234,6 +234,7 @@ int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[], * - sws_receive_slice(0, dst->height) * - sws_frame_end() * + * @param c The scaling context * @param dst The destination frame. See documentation for sws_frame_start() for * more details. * @param src The source frame. @@ -249,6 +250,7 @@ int sws_scale_frame(struct SwsContext *c, AVFrame *dst, const AVFrame *src); * This function will retain references to src and dst, so they must both use * refcounted buffers (if allocated by the caller, in case of dst). * + * @param c The scaling context * @param dst The destination frame. * * The data buffers may either be already allocated by the caller or @@ -273,6 +275,8 @@ int sws_frame_start(struct SwsContext *c, AVFrame *dst, const AVFrame *src); * submitted with sws_frame_start(). Must be called after all sws_send_slice() * and sws_receive_slice() calls are done, before any new sws_frame_start() * calls. + * + * @param c The scaling context */ void sws_frame_end(struct SwsContext *c); @@ -282,6 +286,7 @@ void sws_frame_end(struct SwsContext *c); * any order, but may not overlap. For vertically subsampled pixel formats, the * slices must be aligned according to subsampling. * + * @param c The scaling context * @param slice_start first row of the slice * @param slice_height number of rows in the slice * @@ -294,6 +299,7 @@ int sws_send_slice(struct SwsContext *c, unsigned int slice_start, * Request a horizontal slice of the output data to be written into the frame * previously provided to sws_frame_start(). * + * @param c The scaling context * @param slice_start first row of the slice; must be a multiple of * sws_receive_slice_alignment() * @param slice_height number of rows in the slice; must be a multiple of @@ -310,6 +316,9 @@ int sws_receive_slice(struct SwsContext *c, unsigned int slice_start, unsigned int slice_height); /** + * Get the alignment required for slices + * + * @param c The scaling context * @return alignment required for output slices requested with sws_receive_slice(). * Slice offsets and sizes passed to sws_receive_slice() must be * multiples of the value returned from this function. @@ -317,6 +326,7 @@ int sws_receive_slice(struct SwsContext *c, unsigned int slice_start, unsigned int sws_receive_slice_alignment(const struct SwsContext *c); /** + * @param c the scaling context * @param dstRange flag indicating the while-black range of the output (1=jpeg / 0=mpeg) * @param srcRange flag indicating the while-black range of the input (1=jpeg / 0=mpeg) * @param table the yuv2rgb coefficients describing the output yuv space, normally ff_yuv2rgb_coeffs[x] -- 2.37.0 (Apple Git-136) _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".