From patchwork Mon Jun 17 23:25:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 20349 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 25EF6BD87C for ; Mon, 17 Jun 2024 23:25:32 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id DCCED6548F; Tue, 18 Jun 2024 01:25:30 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="G53B1pKB"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 2451C61A20 for ; Tue, 18 Jun 2024 01:25:29 +0200 (CEST) Received: from Monstersaurus.local (cpc89244-aztw30-2-0-cust6594.18-1.cable.virginm.net [86.31.185.195]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id B679E289; Tue, 18 Jun 2024 01:25:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1718666711; bh=nGE5dHf45qyxN5Hdr1ypMyoC6lmko3Xtlu4vWQyTbLo=; h=From:To:Cc:Subject:Date:From; b=G53B1pKB/O46hnMXFv4GSzuvwjInzOgWkKhte+A3KlS8rjDizQLiq/9xJ/5TJ4GEz FNSmK2VBtT/IjtlQPd9E52uTgEITGkl4gnOcuJlU1yOl7L/5vJ+DpxkVr6StZfvjdI OAcieFX0wPbplM5DAGWzsYCvJess0C3QQZYbeS2Q= From: Kieran Bingham To: libcamera devel Cc: Kieran Bingham Subject: [PATCH 0/3] ipa: simple: Introduce metadata reporting Date: Tue, 18 Jun 2024 00:25:22 +0100 Message-Id: <20240617232525.878530-1-kieran.bingham@ideasonboard.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" Provide metadata reporting for the SoftISP. Initially the Black Levels and ColourGains are reported, but also serve as a direction to add further metadata or internal reporting of the softisp. Running cam -c1 -C10 --metadata now produces the following: 1668.359684 (14.95 fps) cam0-stream0 seq: 000004 bytesused: 15069888 SensorBlackLevels = [ 20, 20, 20, 20 ] ColourGains = [ 0.316406, 0.299805 ] SensorTimestamp = 1668359684000 Kieran Bingham (3): ipa: simple: softisp: Extend to pass metadata ipa: simple: Report the ColourGains in metadata ipa: simple: Report black levels in metadata .../libcamera/internal/software_isp/software_isp.h | 5 ++++- include/libcamera/ipa/soft.mojom | 2 +- src/ipa/simple/soft_simple.cpp | 12 +++++++++++- src/libcamera/pipeline/simple/simple.cpp | 7 +++++-- src/libcamera/software_isp/software_isp.cpp | 6 ++++-- 5 files changed, 25 insertions(+), 7 deletions(-)