{"id":11366,"url":"https://patchwork.libcamera.org/api/covers/11366/?format=json","web_url":"https://patchwork.libcamera.org/cover/11366/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20210223164041.49932-1-jeanmichel.hautbois@ideasonboard.com>","date":"2021-02-23T16:40:38","name":"[libcamera-devel,RFC,v2,0/3] Implement IPA algorithms and demo with IPU3","submitter":{"id":75,"url":"https://patchwork.libcamera.org/api/people/75/?format=json","name":"Jean-Michel Hautbois","email":"jeanmichel.hautbois@ideasonboard.com"},"mbox":"https://patchwork.libcamera.org/cover/11366/mbox/","series":[{"id":1722,"url":"https://patchwork.libcamera.org/api/series/1722/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1722","date":"2021-02-23T16:40:38","name":"Implement IPA algorithms and demo with IPU3","version":2,"mbox":"https://patchwork.libcamera.org/series/1722/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/11366/comments/","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id A0A85BD1F1\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 23 Feb 2021 16:40:46 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id F091668A3B;\n\tTue, 23 Feb 2021 17:40:45 +0100 (CET)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id A695B689DD\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 23 Feb 2021 17:40:43 +0100 (CET)","from localhost.localdomain (unknown\n\t[IPv6:2a01:e0a:169:7140:d7c9:eb3:c460:c24a])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 3121E58E;\n\tTue, 23 Feb 2021 17:40:43 +0100 (CET)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"NJPJV186\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1614098443;\n\tbh=ggMjxDMsGkf9DtgTp2noNv6g3UtpPIaFjPg1JLmmZjw=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=NJPJV186WdaiW0XJnGXsEb5GiRD0WSmr5LsFysRmpcG/mKtKgVY8/Og/osWf5QkSY\n\tftUfdUUl66wtcaAY5yaDZlnR3FUQy8AUa4l1lCVa4QRSbBQQnaN0Ymw1uFbDfyEtC7\n\tGiY/x9+EVhdI3EaXL31sPjStoohXuTMsPW9Wprmo=","From":"Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Tue, 23 Feb 2021 17:40:38 +0100","Message-Id":"<20210223164041.49932-1-jeanmichel.hautbois@ideasonboard.com>","X-Mailer":"git-send-email 2.27.0","MIME-Version":"1.0","Subject":"[libcamera-devel] [RFC PATCH v2 0/3] Implement IPA algorithms and\n\tdemo with IPU3","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"This RFC is really meant to start discussions.\nIt demonstrates on IPU3 a conjunction of automatic exposure (AGC)\nand automatic white balance (AWB).\n\nThe skeleton are extracted from RPi controller and probably subject to\nmodifications and discussions :\n- are the mandatory methods really those ?\n- how to exchange data between algorithms ?\n  - metadata like RPi?\n  - IPC ?\n  - public methods?\n  - controller API ?\n- is the controller needed at all ?\n\nThe implementation in IPU3 is tested on SGo2.\nIt is not perfect but shows a really better behaviour than default ;-).\n\nIn this v2:\n- splits AWB and AEC/AGC algorithms.\n- remove unused Controller\n- remove unused variables/methods\n- rename most of the class members\n\nJean-Michel Hautbois (3):\n  WIP: ipa: Add a common interface for algorithm objects\n  WIP: ipa: ipu3: Add support for IPU3 AWB algorithm\n  WIP: ipa: ipu3: Add support for IPU3 AEC/AGC algorithm\n\n src/ipa/ipu3/ipu3.cpp        |  34 ++++--\n src/ipa/ipu3/ipu3_agc.cpp    | 171 ++++++++++++++++++++++++++++++\n src/ipa/ipu3/ipu3_agc.h      |  62 +++++++++++\n src/ipa/ipu3/ipu3_awb.cpp    | 199 +++++++++++++++++++++++++++++++++++\n src/ipa/ipu3/ipu3_awb.h      |  47 +++++++++\n src/ipa/ipu3/meson.build     |   8 +-\n src/ipa/libipa/algorithm.cpp |  25 +++++\n src/ipa/libipa/algorithm.h   |  29 +++++\n src/ipa/libipa/meson.build   |   4 +-\n 9 files changed, 569 insertions(+), 10 deletions(-)\n create mode 100644 src/ipa/ipu3/ipu3_agc.cpp\n create mode 100644 src/ipa/ipu3/ipu3_agc.h\n create mode 100644 src/ipa/ipu3/ipu3_awb.cpp\n create mode 100644 src/ipa/ipu3/ipu3_awb.h\n create mode 100644 src/ipa/libipa/algorithm.cpp\n create mode 100644 src/ipa/libipa/algorithm.h"}