From patchwork Tue Jun 11 21:21:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 20269 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 2DFE7C3237 for ; Tue, 11 Jun 2024 21:21:35 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id CBA9965476; Tue, 11 Jun 2024 23:21:34 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="RqgUz4OQ"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id C193B6546F for ; Tue, 11 Jun 2024 23:21:27 +0200 (CEST) Received: from pendragon.ideasonboard.com (81-175-209-231.bb.dnainternet.fi [81.175.209.231]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id CCE78A9A; Tue, 11 Jun 2024 23:21:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1718140875; bh=00QeN9C7Th0maLzW4bhnqQwRkf48oDu3Fd5OFzPGLGg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RqgUz4OQi8EW8/vVg7WHZwxLocMTKenN2k0FEefwTK+KIBq8cmGXH6V2ABhWUzku+ yMlUpblnBHN7tfn5ckJrJhO50MTBRNHfo8byi1AAYbDHbCwCYSgqBCUi3yjJis/UM6 keFceKkmYQOaJgBdnENfqfb7VfF2UArmIgklVfuc= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Cc: Stefan Klug Subject: [PATCH 5/6] ipa: rkisp1: goc: Avoid use of auto for short type Date: Wed, 12 Jun 2024 00:21:00 +0300 Message-ID: <20240611212101.14313-6-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.44.2 In-Reply-To: <20240611212101.14313-1-laurent.pinchart@ideasonboard.com> References: <20240611212101.14313-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Replace one occurrence of the auto type qualifier with the explicit type it represents to increase readability. Signed-off-by: Laurent Pinchart Reviewed-by: Stefan Klug --- src/ipa/rkisp1/algorithms/goc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ipa/rkisp1/algorithms/goc.cpp b/src/ipa/rkisp1/algorithms/goc.cpp index e98c9526722f..a82cee3bbf61 100644 --- a/src/ipa/rkisp1/algorithms/goc.cpp +++ b/src/ipa/rkisp1/algorithms/goc.cpp @@ -112,7 +112,7 @@ void GammaOutCorrection::prepare(IPAContext &context, 64, 64, 64, 64, 128, 128, 128, 128, 256, 256, 256, 512, 512, 512, 512, 512, 0 }; - auto gamma_y = params->others.goc_config.gamma_y; + __u16 *gamma_y = params->others.goc_config.gamma_y; if (!frameContext.goc.update) return;