From patchwork Fri May 31 11:42:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Elder X-Patchwork-Id: 20164 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 0B6E0BDE6B for ; Fri, 31 May 2024 11:42:32 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 1BF49634B7; Fri, 31 May 2024 13:42:31 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="mS1MEExV"; 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 1AD6D61A46 for ; Fri, 31 May 2024 13:42:29 +0200 (CEST) Received: from neptunite.hamster-moth.ts.net (h175-177-049-156.catv02.itscom.jp [175.177.49.156]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 20981E22; Fri, 31 May 2024 13:42:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1717155744; bh=bb+mHFdcDxhTHwO8y88eLdWyLMWQYumyFUvrtVCg/gk=; h=From:To:Cc:Subject:Date:From; b=mS1MEExVUIe7Bfcbwt5snT+cS/9gU4WpgyQCT1EFays9Yi01E+d1bzZegiKaqTR6t L4E1ERUC6Shf6ppuXI5092b4+Z4E1GDQJB58B7eN3LLCKwM5V2xZJLdcTADNnZBlxa VKbwrSDWnM77Ggt0gO2NyQ//Q8QPDCU/CsuGgNRE= From: Paul Elder To: libcamera-devel@lists.libcamera.org Cc: Paul Elder Subject: [PATCH] test: ipa: rkisp1-utils: Fix capitalization of hex numbers Date: Fri, 31 May 2024 20:42:16 +0900 Message-Id: <20240531114216.3418632-1-paul.elder@ideasonboard.com> X-Mailer: git-send-email 2.39.2 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" Fix capitalization of the hexdecimal numbers in the test for conversion between floating point and fixed point numbers. Signed-off-by: Paul Elder Reviewed-by: Kieran Bingham Reviewed-by: Laurent Pinchart --- test/ipa/rkisp1/rkisp1-utils.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test/ipa/rkisp1/rkisp1-utils.cpp b/test/ipa/rkisp1/rkisp1-utils.cpp index e9244ec44..9fff0cdce 100644 --- a/test/ipa/rkisp1/rkisp1-utils.cpp +++ b/test/ipa/rkisp1/rkisp1-utils.cpp @@ -53,13 +53,13 @@ protected: * affect the result. */ std::map testCases = { - { 7.992, 0x3FF }, - { 7.992, 0xBFF }, - { 0.2, 0x01A }, - { -0.2, 0x7E6 }, - { -0.8, 0x79A }, - { -0.4, 0x7CD }, - { -1.4, 0x74D }, + { 7.992, 0x3ff }, + { 7.992, 0xbff }, + { 0.2, 0x01a }, + { -0.2, 0x7e6 }, + { -0.8, 0x79a }, + { -0.4, 0x7cd }, + { -1.4, 0x74d }, { -8, 0x400 }, { 0, 0 }, };