From patchwork Tue Jan 9 10:25:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Plowman X-Patchwork-Id: 19377 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 E0765C323E for ; Tue, 9 Jan 2024 10:25:53 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id DBF3462B4A; Tue, 9 Jan 2024 11:25:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1704795952; bh=nsKl9KIopE8OWwLv1HPyw74GtGvxKnjh7U92BeDzvNA=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=CYyA6dtHaLhZdy5xO67ygrZU1P+JMEBuf+mSRQfXPsAKif3hOGWoRcxQhXa+CpJ0E 1XHgfVMT8WiszwCumaIKHjxSdLgXIdTIJvwoTHY7xWBzZ9q/Edud0e3jC3MvErC/Hp ryUc2fuCNSb7j9aqb1THy8kyWe5rpAHeYeQKHn4zQYrQWH1TqPzo1MF67Wo6xdKVD/ tVlwe+t5iZjZCTx09FDTf1arjxS7GKG/zF+pebgOTPBIOIfJD98v8XljE0RdldF2vY uLFcNCOHNeg1GafwapqbRruxIFzjjjA7OWdm7ChYPv+b+12u4spRVFSd4kEz71jkMa 8nNYgY1FTWRxw== Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 9F5BB61D72 for ; Tue, 9 Jan 2024 11:25:50 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="Ve+0Gd+O"; dkim-atps=neutral Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-3367a304091so2637085f8f.3 for ; Tue, 09 Jan 2024 02:25:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1704795949; x=1705400749; 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=A1+5VBJB2yA46SA53CkN1fJzchxBrfjBVJ9C42wsbyc=; b=Ve+0Gd+OIUBEOYiZee4xLux+vjo0eiAEuYCb2RJovNuSkWYmRz3tS5i14N3WS3Nx2w JFF+4/V3slqlcsCY0wwJYxI6RnWBX7UworFz+Au9fs239Hld7bMqxTnZRtlzK+eJVtjk oZ1l/gvQZcBROro3QJCDvnAdPTtvWa0RLCYWR7Ky4anV9l1hPGILVGiHm+bNJhfs7YCm t33Vn+/b77C+gNQ9HJSPK1LrrSO1ckuw80K1UpFoLBvWOQuBv58TGavHbaRWuq/au+3G Snd9pTJfJ0h17YkZAZnxID5H/wuzzDXmLP7Di4djiuI9Ya0IxAux/HfU72bJV6G6hkOr kR3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704795949; x=1705400749; 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=A1+5VBJB2yA46SA53CkN1fJzchxBrfjBVJ9C42wsbyc=; b=Cb9W0/dQuuhU1HJ2dAmDJ+M+0B+yOCqR796s4R6rYBwcTrDUBdizs0FHbNJZSPPSSQ m5C8k4H3rxMZ2RDMAwt5Zh2XzmVzXNbwv6nSA31dDrUke883SPBvP8EQoguqHdkIQZQO 9FNViIhT22y5aIkADxl8wE8yYNQ2pIaP+wlqg1eDfcnBwDO4JPfEcLAh8FHp+DkcWH59 +XmS+3Iynl5LLhMHpYoiaN181pahTa58dKXVGhwB5HQSlaoHc6LqKg+pEwW+2jRNTGND xodVsm1opJ0EkaQqWzu/vFxiZ7tA63ZF4L1mKPyp/S/PCRMVUTMk5p4xd8fBJBgNx3P+ U0gw== X-Gm-Message-State: AOJu0YxK5HxP1Nf2029q11+TpvirlRBXpCvfHVqDERb0005vuG0lm1Wy fOuvzrOSQ6Z6plBc6/WaXjM1pxew/CPnmCkgzdcdXHC4q0Q= X-Google-Smtp-Source: AGHT+IGsYmvNfK9/BI/QEI646yy4NbfBTeObTIH+NAXPaSFrKSt3YdBGQ9SpJLHlDQWIS7+FbEqw0A== X-Received: by 2002:a5d:61c7:0:b0:337:3de5:d713 with SMTP id q7-20020a5d61c7000000b003373de5d713mr278761wrv.86.1704795949532; Tue, 09 Jan 2024 02:25:49 -0800 (PST) Received: from pi4-davidp.pitowers.org ([2001:4d4e:300:1f:70fb:d051:958c:e7b3]) by smtp.gmail.com with ESMTPSA id c15-20020a5d4ccf000000b00336765e9babsm2005086wrt.83.2024.01.09.02.25.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 02:25:48 -0800 (PST) To: libcamera-devel@lists.libcamera.org Date: Tue, 9 Jan 2024 10:25:45 +0000 Message-Id: <20240109102547.2762-1-david.plowman@raspberrypi.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v4 0/2] HDR for Raspberry Pi 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: , X-Patchwork-Original-From: David Plowman via libcamera-devel From: David Plowman Reply-To: David Plowman Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Hi everyone v4 of this patch set rebases v3 on top of all the updates that have happening in the intervening months. The HDR algorithm code actually looks to have been updated in the interim to something newer than was in the v3 set, so all those changes have been dropped. This leaves just the HDR mode control plumbing from the first patch, and then the whole of the second patch which updates the tuning files. Hope that makes sense! Thanks David David Plowman (2): ipa: rpi: Implement HDR control ipa: rpi: vc4: data: Update tuning files for HDR src/ipa/rpi/common/ipa_base.cpp | 49 +++ src/ipa/rpi/vc4/data/imx219.json | 384 +++++++++++++++----- src/ipa/rpi/vc4/data/imx219_noir.json | 384 +++++++++++++++----- src/ipa/rpi/vc4/data/imx477.json | 376 +++++++++++++++----- src/ipa/rpi/vc4/data/imx477_noir.json | 384 +++++++++++++++----- src/ipa/rpi/vc4/data/imx708.json | 346 +++++++++++++----- src/ipa/rpi/vc4/data/imx708_noir.json | 346 +++++++++++++----- src/ipa/rpi/vc4/data/imx708_wide.json | 346 +++++++++++++----- src/ipa/rpi/vc4/data/imx708_wide_noir.json | 346 +++++++++++++----- src/ipa/rpi/vc4/data/ov5647.json | 388 ++++++++++++++++----- 10 files changed, 2573 insertions(+), 776 deletions(-)