From patchwork Tue Mar 12 09:50:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Fricke X-Patchwork-Id: 13589742 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B7DF6C54E67 for ; Tue, 12 Mar 2024 09:50:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=eGo34Hcf4M6Bms6sLgkzKWklTra8S5ko1U0AhpE3zvE=; b=Z0kQffVOP/RUzG2PGfJyh7auNB dTZYI5Rmnf9PEFjTgkZFOM03/mCeclDJFR2JvqgPdjH9+YzSga+RPP+r1qazf8Iyn0iwcePaDIj4P xHEHX5rf2nGJmVo+ip6yL3gC2e9+YocjnIAocHoqi1QGyuCz76NKDA11S37/bdO9V28bmAeFAu0Bw bxpfxmFU/OWGbVZKpdhwNaQiobmQIRB1HJL7Ws8yjNFLqDEQ5UAExcdo7JZ8LDdOEHd9hS5neEgBF P8RqGFoNMJd762886diAujr37tdXXzEMT4tqBRm9nu3c633nbLeXncs5k4zJoAVW0LSjFDctcoYQG Da20fs/w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjymS-00000005CpS-1VQk; Tue, 12 Mar 2024 09:50:44 +0000 Received: from madrid.collaboradmins.com ([46.235.227.194]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjymD-00000005CgI-1XSi; Tue, 12 Mar 2024 09:50:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1710237028; bh=CZUwmtrMAbhgiKTCOMdUvfJTKdr28NZ87Os6j2jRv5E=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=zvQsu+fIJYiHjQXafQqCVTx0aNz958hGNoFh5q/c5TdKFmkiM4KwqU+wNo3kk97oB JQlTiCf9OU1yK6qe3wUe9byjeZPrqLKGXhvJd5agIeXXOCv678DHXNh9kyK6IZ1LNq aMu4rNLzQby8all1/Ew+F/YjlWUWRa3g6U9hPIhxaDvsCGUZ1s71I7bsVwcmLBi6mW C0b2NLx9NK/DMpdBu06+I5U1wl3ERuiR7Qqx6HmAwynKssS7WFOTWmBonZP/363C7G m9f/vVQD3Bl0TvmIa+Qn6KetEVpHJROSFcRCjTHS/p8wfOFlfWXg7NeiPPbMh90cZp 063GMukXAr4pQ== Received: from localhost (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sebastianfricke) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 012E2378209A; Tue, 12 Mar 2024 09:50:27 +0000 (UTC) From: Sebastian Fricke Date: Tue, 12 Mar 2024 10:50:21 +0100 Subject: [PATCH v2 3/3] media: mediatek: vcodec: Replace false function description MIME-Version: 1.0 Message-Id: <20240309-mediatek-typos-v2-3-7eaacd8e5401@collabora.com> References: <20240309-mediatek-typos-v2-0-7eaacd8e5401@collabora.com> In-Reply-To: <20240309-mediatek-typos-v2-0-7eaacd8e5401@collabora.com> To: Tiffany Lin , Andrew-CT Chen , Yunfei Dong , Mauro Carvalho Chehab , Matthias Brugger , AngeloGioacchino Del Regno Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, kernel@collabora.com, Sebastian Fricke X-Mailer: b4 0.11.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1710237023; l=2009; i=sebastian.fricke@collabora.com; s=linux-media; h=from:subject:message-id; bh=CZUwmtrMAbhgiKTCOMdUvfJTKdr28NZ87Os6j2jRv5E=; b=/1DOX8jA9henQNBIlm5fmKQ5f1n7Wz7Ojvk6tGNsdZb7AUz03Yaw2uu0jaCV9j3wqyjltyMiS3QP m5KjxAc5CkvRZaMoTnV6Y7950Idp4ZeGp0otkcYp/B1glgScjKZZ X-Developer-Key: i=sebastian.fricke@collabora.com; a=ed25519; pk=pYXedPwrTtErcj7ERYeo/IpTrpe4QbJuEzSB52fslBg= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240312_025029_576878_89BAAD3A X-CRM114-Status: GOOD ( 11.52 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org The function descriptions where falsely copy pasted from another entry, write more fitting descriptions for the functions. Signed-off-by: Sebastian Fricke Reviewed-by: AngeloGioacchino Del Regno --- .../mediatek/vcodec/decoder/vdec/vdec_h264_req_common.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_h264_req_common.h b/drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_h264_req_common.h index 6f624c266246..31ffa13160a3 100644 --- a/drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_h264_req_common.h +++ b/drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_h264_req_common.h @@ -185,7 +185,7 @@ void mtk_vdec_h264_get_ref_list(u8 *ref_list, void *mtk_vdec_h264_get_ctrl_ptr(struct mtk_vcodec_dec_ctx *ctx, int id); /** - * mtk_vdec_h264_fill_dpb_info - get each CID contrl address. + * mtk_vdec_h264_fill_dpb_info - Fill the decoded picture buffer info * * @ctx: v4l2 ctx * @decode_params: slice decode params @@ -225,10 +225,13 @@ void mtk_vdec_h264_copy_slice_hd_params(struct mtk_h264_slice_hd_param *dst_para const struct v4l2_ctrl_h264_decode_params *dec_param); /** - * mtk_vdec_h264_copy_scaling_matrix - get each CID contrl address. + * mtk_vdec_h264_copy_scaling_matrix - Copy scaling matrix from a control to the driver * - * @dst_matrix: scaling list params for hw decoder - * @src_matrix: scaling list params from user driver + * @dst_matrix: scaling list params for the HW decoder + * @src_matrix: scaling list params from a V4L2 control + * + * This function is used to copy the scaling matrix from a + * v4l2 control into the slice parameters for a decode. */ void mtk_vdec_h264_copy_scaling_matrix(struct slice_api_h264_scaling_matrix *dst_matrix, const struct v4l2_ctrl_h264_scaling_matrix *src_matrix);