From patchwork Mon Sep 30 08:40:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 21422 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 C0F14C0F1B for ; Mon, 30 Sep 2024 08:40:33 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 0BF1C63516; Mon, 30 Sep 2024 10:40:32 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="aaPKL9UD"; dkim-atps=neutral Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 10E5363500 for ; Mon, 30 Sep 2024 10:40:29 +0200 (CEST) Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-37cd49df4d1so157972f8f.3 for ; Mon, 30 Sep 2024 01:40:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1727685628; x=1728290428; darn=lists.libcamera.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=LCrr8ZP/EeJQGCwdvVa/6N7KI9IJMCiOLpUo/S0qrUg=; b=aaPKL9UDQok4vIVt0bvtzAUG9CwfJpk2oBZmA9FgzVsub2vmdLtuyBm/tMfo9gIDTu Qt6kEqH7wVIKMEDghKp0J8S5djI4zbNMYfYJINfWK4Lcu3fX7jnVZy8Euq7webZvq31R iQeMsT2dkL9uRwXRiCQ+tUA+IenfW/dBxOjUKj6W3aUtLTrNbezyo92uQRprrNwRsU2Q LmTB4gvVOyYGChtHEjkZ/aC5I0VUncgkg24C+UAb2T33cnPN//cx/I4fGuO0JpgnZ4Vi 8WpV0h4NuWXyht9bNNdZmjDfhDI9w3h7oK6NPjXHipF8SmY0G6CfkjOiewZp3TOsRjmq qClQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727685628; x=1728290428; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=LCrr8ZP/EeJQGCwdvVa/6N7KI9IJMCiOLpUo/S0qrUg=; b=pmB6yVL+ICI6tVFFAX9mHuxkY7tkfvshxXNdo7Kev2pbQbdeHEWLi5JYtT4ZDiVXRi QX3RAOur3OyHTgv59UW5+exBvsA3xzkQx/7fZtLZjfIEOHfMaoa5Ev3LOICS85ZBcDmM kZF8ZE9MFpdb/DIE/32BiA9/NB1Oon1AgLNE5hby2045mdYKViRocJWvN7EYL8CpIH3m KwboFBhpaPjaLqJEly7cpUOcqZHB/wf/Y054lAXxvGXuMece6SkYMEeDAn7M/Ie64w8a JM78Dlyay6GAt7WjntNck0KswPBYN6e1NKXr9nfh3sByYUKqYuzJGA329ES9zDQSMfLm 3gNg== X-Gm-Message-State: AOJu0Yx6pWtztjk/UETjzp/YT8DbQXXJMSZX8LQCKXgD+/9QVKjMQKua bjiT6v2E8svuAhf7CQ4h5Fj/16qua7xVX6nROg1RmRgP2qph2iDA8/sF9bA72yLwBylZxsWRmgC v X-Google-Smtp-Source: AGHT+IEUMncVEgnSJ9Cidm2dv5cdbCaK6S0RHTPK1KCJ53rMBae4523/dDAGhKn/t/0na0Kv5aheVA== X-Received: by 2002:a5d:6c6c:0:b0:374:cd3e:7d86 with SMTP id ffacd0b85a97d-37cd5a616bdmr3136592f8f.3.1727685628101; Mon, 30 Sep 2024 01:40:28 -0700 (PDT) Received: from naush-laptop.pitowers.org ([93.93.133.154]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37cd57423afsm8463421f8f.90.2024.09.30.01.40.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Sep 2024 01:40:27 -0700 (PDT) From: Naushir Patuck To: libcamera-devel@lists.libcamera.org Cc: Naushir Patuck Subject: [PATCH 0/2] RPi: AWB bias Date: Mon, 30 Sep 2024 09:40:38 +0100 Message-Id: <20240930084040.2919-1-naush@raspberrypi.com> X-Mailer: git-send-email 2.34.1 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" Hi, This minor patch series adds some bias to the AWB search to better help with failure cases. None of the tuning files enable this by default, but once this is merged, it will be available for users who wish to use it. Thanks, Naush Naushir Patuck (2): ipa: rpi: awb: Add a const for the default colour temperature ipa: rpi: awb: Add a bias to the AWB search src/ipa/rpi/controller/rpi/awb.cpp | 23 +++++++++++++++++++---- src/ipa/rpi/controller/rpi/awb.h | 4 ++++ 2 files changed, 23 insertions(+), 4 deletions(-)