From patchwork Mon Jul 12 13:16:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean-Michel Hautbois X-Patchwork-Id: 12910 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 AD09CC3225 for ; Mon, 12 Jul 2021 13:16:36 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 2338268525; Mon, 12 Jul 2021 15:16:36 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="Fwl/hmME"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 22EF868513 for ; Mon, 12 Jul 2021 15:16:34 +0200 (CEST) Received: from tatooine.ideasonboard.com (unknown [IPv6:2a01:e0a:169:7140:8515:881:eba9:bd61]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 9EB11CC; Mon, 12 Jul 2021 15:16:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1626095793; bh=UvRFliX6yjOCRQf89mdSW9IwGdVWY4Se0PprYN4yC90=; h=From:To:Cc:Subject:Date:From; b=Fwl/hmMEN6ZjyrJmqCeLrlthB0NLbxlZDijftKQsP2ZsHjTziqn26aVuuxhr8wPD5 60cq5+2Qmu+VNelZMqNp3yIX4c7cFOli89XPVkXx0EGTIQ1N7pvDYPp9Umkwr6oqeN XATZWG+YOCsHmW11pJZFpD3WTxMBnSQFweu19GXM= From: Jean-Michel Hautbois To: libcamera-devel@lists.libcamera.org Date: Mon, 12 Jul 2021 15:16:28 +0200 Message-Id: <20210712131630.73914-1-jeanmichel.hautbois@ideasonboard.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/2] Introduce Metadata class in ipa 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" This small patch series introduces the metadata class, imported from RPi and documented. The second patch modifies the current IPU3 AWB to use the metadata class. And it also adds some documentation in this same AWB. Jean-Michel Hautbois (2): ipa: libipa: Introduce Metadata class ipa: ipu3: Use metadata and improve the doc src/ipa/ipu3/ipu3.cpp | 9 ++- src/ipa/ipu3/ipu3_awb.cpp | 116 ++++++++++++++++++++++++++---------- src/ipa/ipu3/ipu3_awb.h | 34 ++++++----- src/ipa/libipa/meson.build | 6 +- src/ipa/libipa/metadata.cpp | 101 +++++++++++++++++++++++++++++++ src/ipa/libipa/metadata.h | 90 ++++++++++++++++++++++++++++ 6 files changed, 307 insertions(+), 49 deletions(-) create mode 100644 src/ipa/libipa/metadata.cpp create mode 100644 src/ipa/libipa/metadata.h