From patchwork Fri Jan 10 23:57:29 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Elder X-Patchwork-Id: 22513 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 07A80C32FB for ; Fri, 10 Jan 2025 23:58:11 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 9A85D68519; Sat, 11 Jan 2025 00:58:10 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="dMw3oPrZ"; 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 783E5684E7 for ; Sat, 11 Jan 2025 00:58:02 +0100 (CET) Received: from pyrite.hamster-moth.ts.net (unknown [IPv6:2604:2d80:9e93:ad00:3d82:7e4f:ab9b:8a]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id E5C24166C; Sat, 11 Jan 2025 00:57:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1736553428; bh=n6ieCWGpyffQ+3xDILCBudn8MWT8QCU+R6BPvAh4/pE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dMw3oPrZ+xV0x2oXr2mLnMSmdtpGTA7hNwBS9aRB2Vx5l9Z8rsnLOhc9vVgtSpYe3 fcKOkN75sZY0i88fqkDfEA+jSGU5EIWKZY9EQu+QA5mC5nRVxz7cBu6IMBxiuP5cED rJjVVE4tHF+a//CZ4ILjxfP1qOcXX5A28F/yF2JA= From: Paul Elder To: libcamera-devel@lists.libcamera.org Cc: Jacopo Mondi , laurent.pinchart@ideasonboard.com, stefan.klug@ideasonboard.com, Paul Elder Subject: [PATCH v7 04/12] test: ipa_data_serialization: Use DebugMetadataEnable Date: Fri, 10 Jan 2025 17:57:29 -0600 Message-Id: <20250110235737.1524733-5-paul.elder@ideasonboard.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20250110235737.1524733-1-paul.elder@ideasonboard.com> References: <20250110235737.1524733-1-paul.elder@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" From: Jacopo Mondi Replace the deprecated AeEnable control with DebugMetadataEnable in ipa_data_serialization test. We use DebugMetadataEnable instead of one of the controls replacing AeEnable as they are not boolean controls. Signed-off-by: Jacopo Mondi Signed-off-by: Paul Elder Reviewed-by: Paul Elder Reviewed-by: Laurent Pinchart Reviewed-by: Stefan Klug --- No change in v7 No change in v6 No change in v5 Changes in v4: - s/ExposureTimeMode/DebugMetadataEnable/ No change in v3 --- test/serialization/ipa_data_serializer_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/serialization/ipa_data_serializer_test.cpp b/test/serialization/ipa_data_serializer_test.cpp index aea63c731..afea93a6c 100644 --- a/test/serialization/ipa_data_serializer_test.cpp +++ b/test/serialization/ipa_data_serializer_test.cpp @@ -29,7 +29,7 @@ using namespace std; using namespace libcamera; static const ControlInfoMap Controls = ControlInfoMap({ - { &controls::AeEnable, ControlInfo(false, true) }, + { &controls::DebugMetadataEnable, ControlInfo(false, true) }, { &controls::ExposureTime, ControlInfo(0, 999999) }, { &controls::AnalogueGain, ControlInfo(1.0f, 32.0f) }, { &controls::ColourGains, ControlInfo(0.0f, 32.0f) },