From patchwork Fri Aug 23 06:02:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fang Hui X-Patchwork-Id: 20997 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 ED9CEC323E for ; Fri, 23 Aug 2024 06:37:50 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 045A8633CF; Fri, 23 Aug 2024 08:37:50 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.b="nh21qouW"; dkim-atps=neutral Received: from DU2PR03CU002.outbound.protection.outlook.com (mail-northeuropeazlp170120003.outbound.protection.outlook.com [IPv6:2a01:111:f403:c200::3]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id E8D9261905 for ; Fri, 23 Aug 2024 08:37:47 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=KjRCF42RNt2Q8Ot4Nw6fTaAY5mknGf1VueS7jmBRsMNZBuB5qIHDGFtkQUYKDTudO5Czr4gV2Iyj0Chtmc3ue0AcvysRLP6jz0ilE/qqtfI+CTJmF3fcEaRX+eV2DU5fwuHJBTVtLTM08SOC019rOlYhaHzRVEj4zlgmHVCcHPkaG+/u1SR9zgzZvfekLUxkMgYN1Hea9Sr6vqvdagv0xashRayKE2r/6uOQ0DfGR56X9jXyUEOzBckCgxut2YjqtjgKYCiEdCGig/CBnBUu6OM71Ls76BPYsevNDhQ1I0sIV2DLb6tT6IOso4AO2cRlkvPLsjkhheaM2SBueQBnoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=r6xUZSy3jfRksZi5w66Qiqt0nB89PeAnkl0zLmcMct0=; b=Ezi1GUi9OV6TSQN/JuXJfWxX0uBP6tyeBFkqFPDd+6hxjueICHdb+uqcUkdxCizkpUcd3wwKVjAi1BvWuKMQ3IapYYjVUU1i8YkQsp0wBjzCOKSWeT/fJkIyWOb5snAZKf6K6O/hZYrVvmrKrhrZWn3mcFomZuOq7sVM7U7q6zD4OzI1Dixrl11wBBFk3kmS6msnK3d5brLC+8P+z3toAxqIqdc7kSiBP6spcgf2tbaJ2iYwdi/xfNhuXK9EAsjpFUFyD4purJsD5W5lBYk75COB8o3iYryvXrHuLzlm8nNU4NsIerNa4pvPDBqNWWjVxxp1B2iak4IjrjjlOEBC6Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=r6xUZSy3jfRksZi5w66Qiqt0nB89PeAnkl0zLmcMct0=; b=nh21qouWlmFTr98b1ZNtvdB8NI61robfI79IY0MBOLndpUU0zhA1c4TPMIb5yxE0nWA3CBw//FZA1R88CLudsLOoLgWp2FPqCEoxwD0MVstsbb6QF/z9cSIvkYnkk9W7zKw2bs3CnzT/Q47Lbb0iA0Fzkk9mjRdlAJldDTDCSnUvu8CHGHyj0o+UIr4s7IgQKK1gJKdjh6oREeOYF8zi1+yhE7Qkdgg5y2orLxx8+HNleKzZHkHPVLBGdSKbY4xGp43SrMe2sHBmnG/3KKbLSGpLdvRDOQPbwvGOPfiBLkAMSUg588ec5lbVidIxOcOvjBpNDoDqveMf7I72xCAeIw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DB9PR04MB9284.eurprd04.prod.outlook.com (2603:10a6:10:36c::8) by AS5PR04MB9876.eurprd04.prod.outlook.com (2603:10a6:20b:678::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.16; Fri, 23 Aug 2024 06:37:45 +0000 Received: from DB9PR04MB9284.eurprd04.prod.outlook.com ([fe80::c5dc:4676:2254:2f4]) by DB9PR04MB9284.eurprd04.prod.outlook.com ([fe80::c5dc:4676:2254:2f4%5]) with mapi id 15.20.7897.014; Fri, 23 Aug 2024 06:37:45 +0000 From: Fang Hui To: libcamera-devel@lists.libcamera.org Cc: hui.fang@nxp.com Subject: [PATCH] libcamera: controls: Fix example for ExposureValue Date: Fri, 23 Aug 2024 14:02:02 +0800 Message-Id: <20240823060202.3632586-1-hui.fang@nxp.com> X-Mailer: git-send-email 2.25.1 X-ClientProxiedBy: SI2PR01CA0044.apcprd01.prod.exchangelabs.com (2603:1096:4:193::8) To DB9PR04MB9284.eurprd04.prod.outlook.com (2603:10a6:10:36c::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB9PR04MB9284:EE_|AS5PR04MB9876:EE_ X-MS-Office365-Filtering-Correlation-Id: 1e77cc6e-0710-4b51-8acf-08dcc33e18fb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|52116014|376014|366016|38350700014; X-Microsoft-Antispam-Message-Info: PyKhm1zWFgLNtbLbD0MR9i/RXgCRjGhlKVZFkf9yBqSc7RbMMvoR4tYc+jb5Hs6AZWNjAfsHz4mqQP5hlDmoyMAxUm3OZcCmM7AlbrecVj3BBE0hQgicHdimDOxlYMP0ygXklgz8r4zA5nGaMxDdxD1X4jwVGW1/8kWgVginOD9rO24mzdUP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WLoAopwB9P+dm5Sj1gCEucHWxECIuSCB8AyQhNAe3RBXqdgpnW5Zgdke6ReN3pNUcQ7xm84Wnz2NXE60ZkuKIWqIwR/4aiGVFOoXYXee3o0/7qXSxZlZqig06ia5fyIeCG3DB4lJaQMSlLXeN7I5acbTbhZ5tXENKMhALDnH5sQB4aWyG+SZQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB9PR04MB9284.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(52116014)(376014)(366016)(38350700014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: r1CIue9hjrp9qYlOzDY62S7J3puzr2rVRYEy86fFprdtMG6kVcvIYQUXzByHDh5VMchuMLj/3fp5KjJVDXuNrS3JDuqstDMRAd2KFBs0L2F7FZZnd17uO7q62IIl54Zr9omD4nK4LAa5mHpbJekq2cMpsDuzy0+fG6afUusEOstX6T5Cf6GZDXFyUF8Kuz7xPn+C9OzR4ttMcpG+Qey2xn5Seke9YduR2HK+SWyZHjgT5wNGW1hD391rnJsiZUt0s8H5Q9D9ix0AItxXA80bRORBVW1v0909VSghrVVQQTdR1+wkriGxTkPrTsoqhO/MqvN79/Kf/7aZkABussPb6AW2HCUNixgGR9zvxBTFT0Dkai7tUZfmsqAmuQmCfCan8jzSGiTMmTk6ar2qhzxT0ky/vnpNG/q5kMnjWRQ1fJZ61N/xCPjVPmgAQ/mtYqIZluKyqg9HQ80slMnDOvDiyhXqvvx5OwwBWFgGaATvCLsxLNCS5w8yMq+na/BWWvea+np7X92YxCeC3IWDpmfnE8DQshwIciMYjvpzDUa+zOsSyOJWGS7yoQ8aq7GXwnlVq9dP19c/DZOT1nUHpXeKoPujmL15srDl4lYaedW2MJcxZG7zOYZwYPcFlfNA6I/djB5VItNJqkNItu8CCIcBHjYZK5tlTrbNmds5/v8hrgHEmvRpT1CP4ycsGGDyaWOetJ5tCF7gxVZ74OzEQtAaNY7xyu4kxqcCn8rXxO7mKR4eIWf+QWcWrqA21rCoYuX+2fnMeHG1wMSGk/S46DkJFu3TdUybAOiRlGN0SwOTEBRviwUv0cigPHIzeSLib3ZQzckz/yZA/MI8iV/TxI4NPv4eIg1R1hewNqTqc2fZ8kzwI8Wc7iefFImCWGhpzmyBWjmB9InuxBdFLEcLdBjErteZiH9ZvNhseC3v2lrwbVDpJ4unM1NAgtvNsag5q+32HAjfzg+B10f/EKgv1jF6WMBXOY67U73Og4u5PJmcD1pTvHiVDOmrL8KzxUuCKAIX748ivLXeh8hHerlaNjibttJrJ3AS+OLEwHNSVgZQO7Axl3naAxa+0P2lRTjQjLTPhnsRhHddmApq24yuDV+Jxu6yDCm7DKnGu99skMnv6ptU7QN0pxD8X6MBG+c77dhIsIY7S8csjhl9SRoXf/Qte0kaoEELyZ/5pw5exEj37D1Be4gVN9rUc80muuXn/hhLYpAb09Tfo9kl2qFn0xZh1t4VNbTxngTCR8CT789Lb7+b2R9UnA7qUNFLWojNdY7nvo6PkJy374RtxqPZueMmyoz8I4mMnKuZ1CxP5Ffw1TJcn8WfcTzOjBq/HahT3UMb4zUjeggI9SWwQh7t30gfpcLxFru8MJzmxnaOTIYL+97JQXyZjEkX1q8NZCjoOmykesrg5DZvDvCI+OnT3k4AauBPA+De7oki/ZEnTc8OdC7relxH57eHYH4yo52KpZSRkWfAhLBWhRs9Vm9dvRXD5H3p2f6FPfkWnt//E31sztcMjsqoM5seGfe8sbLazxaCzEKNYZeW8TXuUEK4mwiK5JAROlNQaukhfUHZsevzs7dwcHoEcH1667n4xvMzqjJs X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1e77cc6e-0710-4b51-8acf-08dcc33e18fb X-MS-Exchange-CrossTenant-AuthSource: DB9PR04MB9284.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Aug 2024 06:37:45.7210 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: KlpGBLTD66bGYibwRaMF0X3PBnj/UwWP0BeAa7LovLH11aFaIZbE+2SH6lkZ4SVeH6YdFNOpMEPM4FD1tw85GA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS5PR04MB9876 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" EV = [-2, -1, 0.5, 0, 0.5, 1, 2] should change to EV = [-2, -1, -0.5, 0, 0.5, 1, 2] Change-Id: I502415bdc228a5b20798597d7366c0d54b92c145 Signed-off-by: Fang Hui Reviewed-by: Harvey Yang Reviewed-by: Laurent Pinchart --- src/libcamera/control_ids_core.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcamera/control_ids_core.yaml b/src/libcamera/control_ids_core.yaml index 6381970b..1b1bd950 100644 --- a/src/libcamera/control_ids_core.yaml +++ b/src/libcamera/control_ids_core.yaml @@ -127,7 +127,7 @@ controls: enabled. By convention EV adjusts the exposure as log2. For example - EV = [-2, -1, 0.5, 0, 0.5, 1, 2] results in an exposure adjustment + EV = [-2, -1, -0.5, 0, 0.5, 1, 2] results in an exposure adjustment of [1/4x, 1/2x, 1/sqrt(2)x, 1x, sqrt(2)x, 2x, 4x]. \sa AeEnable