From patchwork Thu Oct 29 11:26:51 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= X-Patchwork-Id: 28663 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 D5AEAC3261 for ; Thu, 29 Oct 2026 11:26:56 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id F19836908B; Thu, 29 Oct 2026 12:26:55 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="cgZY432O"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 0CDB868E07 for ; Thu, 29 Oct 2026 12:26:55 +0100 (CET) Received: from pb-laptop.local (185.221.143.99.nat.pool.zt.hu [185.221.143.99]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 901FE4DC for ; Thu, 29 Oct 2026 12:24:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1793273081; bh=oEoOXYKZ5MgF+MarL9l/RQYSyKGkR//KKBi7LHB7uDY=; h=From:To:Subject:Date:From; b=cgZY432OtI99w5aKdU6uqHRg34SJPrJR5VLTjd4gB+FQobDcMhL0CID9OlSm2KQOW w4D9y49zT6/QQ8cvUtnorkPMm9aWwGu7nGyJr9tXupb1sEgYGwiTLKLxqo6zA5sYv9 bjFYHVYTRUSaYR17nUC0zem7ymKmqdrULORpabHg= From: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= To: libcamera-devel@lists.libcamera.org Subject: [PATCH v1] ipa: rkisp1: Fix mira220 tuning file Date: Thu, 29 Oct 2026 12:26:51 +0100 Message-ID: <20261029112651.145758-1-barnabas.pocze@ideasonboard.com> X-Mailer: git-send-email 2.56.0 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" The tuning file has been generated before 974102049a41 ("libcamera: controls: Remove common enum prefix") but it was merged after it without updating. This unfortunately means that the modes it defines now exist with different names. Fix that. Signed-off-by: Barnabás Pőcze Reviewed-by: Jacopo Mondi Reviewed-by: Kieran Bingham --- src/ipa/rkisp1/data/mira220.yaml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/ipa/rkisp1/data/mira220.yaml b/src/ipa/rkisp1/data/mira220.yaml index 9dc97d63d7..4751d311a8 100644 --- a/src/ipa/rkisp1/data/mira220.yaml +++ b/src/ipa/rkisp1/data/mira220.yaml @@ -5,23 +5,23 @@ version: 1 algorithms: - Agc: AeMeteringMode: - MeteringCentreWeighted: [ 0, 0, 0, 0, 0, 0, 6, 8, 6, 0, 0, 8, 16, 8, 0, 0, 6, 8, 6, 0, 0, 0, 0, 0, 0 ] - MeteringSpot: [ 0, 0, 0, 0, 0, 0, 2, 4, 2, 0, 0, 4, 16, 4, 0, 0, 2, 4, 2, 0, 0, 0, 0, 0, 0 ] - MeteringMatrix: [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ] + CentreWeighted: [ 0, 0, 0, 0, 0, 0, 6, 8, 6, 0, 0, 8, 16, 8, 0, 0, 6, 8, 6, 0, 0, 0, 0, 0, 0 ] + Spot: [ 0, 0, 0, 0, 0, 0, 2, 4, 2, 0, 0, 4, 16, 4, 0, 0, 2, 4, 2, 0, 0, 0, 0, 0, 0 ] + Matrix: [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ] AeExposureMode: - ExposureNormal: + Normal: exposureTime: [ 100, 10000, 30000, 60000, 120000 ] gain: [ 2.0, 4.0, 6.0, 6.0, 6.0 ] - ExposureShort: + Short: exposureTime: [ 100, 5000, 10000, 20000, 120000 ] gain: [ 2.0, 4.0, 6.0, 6.0, 6.0 ] AeConstraintMode: - ConstraintNormal: + Normal: lower: qLo: 0.98 qHi: 1.0 yTarget: 0.5 - ConstraintHighlight: + Highlight: lower: qLo: 0.98 qHi: 1.0 @@ -40,25 +40,25 @@ algorithms: - Awb: algorithm: "bayes" AwbMode: - AwbAuto: + Auto: lo: 2500 hi: 8000 - AwbIncandescent: + Incandescent: lo: 2500 hi: 3000 - AwbTungsten: + Tungsten: lo: 3000 hi: 3500 - AwbFluorescent: + Fluorescent: lo: 4000 hi: 4700 - AwbIndoor: + Indoor: lo: 3000 hi: 5000 - AwbDaylight: + Daylight: lo: 5500 hi: 6500 - AwbCloudy: + Cloudy: lo: 6500 hi: 8000 priors: