{"id":11641,"url":"https://patchwork.libcamera.org/api/1.1/covers/11641/?format=json","web_url":"https://patchwork.libcamera.org/cover/11641/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/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":"<20210322160148.32291-1-david.plowman@raspberrypi.com>","date":"2021-03-22T16:01:47","name":"[libcamera-devel,0/1] Raspberry Pi generalised sensor metadata parsing","submitter":{"id":42,"url":"https://patchwork.libcamera.org/api/1.1/people/42/?format=json","name":"David Plowman","email":"david.plowman@raspberrypi.com"},"mbox":"https://patchwork.libcamera.org/cover/11641/mbox/","series":[{"id":1814,"url":"https://patchwork.libcamera.org/api/1.1/series/1814/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1814","date":"2021-03-22T16:01:47","name":"Raspberry Pi generalised sensor metadata parsing","version":1,"mbox":"https://patchwork.libcamera.org/series/1814/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/11641/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 5182FBD80C\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 22 Mar 2021 16:01:56 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 9DEE868D65;\n\tMon, 22 Mar 2021 17:01:55 +0100 (CET)","from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com\n\t[IPv6:2a00:1450:4864:20::52e])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id E4F3568D50\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 22 Mar 2021 17:01:53 +0100 (CET)","by mail-ed1-x52e.google.com with SMTP id e7so19930257edu.10\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 22 Mar 2021 09:01:53 -0700 (PDT)","from pi4-davidp.lan (plowpeople3.plus.com. [80.229.223.72])\n\tby smtp.gmail.com with ESMTPSA id\n\th17sm11554502eds.26.2021.03.22.09.01.52\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tMon, 22 Mar 2021 09:01:52 -0700 (PDT)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=raspberrypi.com header.i=@raspberrypi.com\n\theader.b=\"n94V4Veb\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google;\n\th=from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=CHNz9wKsa1MfXlmFOW7x1Dj/BaEg8Q3dnLLniayuDVo=;\n\tb=n94V4VebaGWwE/pPNtxX54rnJVWacgrlxy6ro/+DoJs++PLBxB3kilzT2Oe/7S81hM\n\tIxu151SSiN+WVhwGz7sh6JcZWG/Bh6SGrvRuKV7b38cOpFO1rS5E5zelwNDHAFHdz4M3\n\tlImzM9FK4onGebfWdZSMxcgHo+IgTRKksfcO7FjYLjjqHfVVxyuh6YmsPDO13xHf3aOd\n\tOpwm4H5zPqtR5wys7kl/LY8061Gr0DBJoFeDt0DL/q0V37lBIM9Md6PywTwHzgVWYw6t\n\tyH1/1za8owrEpopnOHBALxHSyukZg3nniM9i2KZ2QZa0sa04j2Etd2sQpjPKTCYjuEzy\n\tKzJg==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=CHNz9wKsa1MfXlmFOW7x1Dj/BaEg8Q3dnLLniayuDVo=;\n\tb=IanykmG4qY7XnnDCOl18u+7putCUrM4VHDBhPuWc1btRBURLnaKJbnJq812tVqfeaX\n\tRWvfe81Up3wWeybqxe9bKBMnX6nOEtJKAC1xzAMV3KB+7Bxq9gH4tcNVeghSJSRWAuBp\n\tV5fm/6loi1jcEf5WKsgR2bBtCg2RuKtbn6XqJwGOWVoToGhMws0ciRaobzD8AenIPoEe\n\tCZLtNf/XP50Y69/QJlOspuwk4ZKw2XBhs5wfiWkV5Bnvl9cGLgER/vqgbu2Gj8KvBI/n\n\tO7EaQNmEruu1suV8x7pYSnaAt/mzDn2RGT3d0fCiEdPgqReVD4hrwYNV0bgPyGeadnwf\n\tWO9g==","X-Gm-Message-State":"AOAM532Ro+/avyzYTnHqMcCN6FGg/rtBkhlXoHaEm1/oSddVKRR8Eeqk\n\t/GBepmWbN7fIKyBSyrlZBGzNPRCTZeoTBw==","X-Google-Smtp-Source":"ABdhPJxCl/yaV7oGXXab+9VPPV4Tfr7Cp3eHeAQiWqG9RFG8kTI7XrpNDK2mr+rdeVVzlXu43ThCTA==","X-Received":"by 2002:a05:6402:30b9:: with SMTP id\n\tdf25mr293249edb.136.1616428913194; \n\tMon, 22 Mar 2021 09:01:53 -0700 (PDT)","From":"David Plowman <david.plowman@raspberrypi.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Mon, 22 Mar 2021 16:01:47 +0000","Message-Id":"<20210322160148.32291-1-david.plowman@raspberrypi.com>","X-Mailer":"git-send-email 2.20.1","MIME-Version":"1.0","Subject":"[libcamera-devel] [PATCH 0/1] Raspberry Pi generalised sensor\n\tmetadata parsing","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":"Hi\n\nHere's another version of my recent patch relating to sensor metadata\nparsing, and which we had some discussion on. This version is enough to\nhandle the new sensors that I'm looking at, though I expect there's\nstill some more discussion to go!\n\nThe commit message explains most of it, I think. The sensor in\nquestion has a few other quirks, to be addressed later, but this will\nbe enough to allow image statistics to be read from the sensor\nmetadata and used in place of the usual ISP-generated ones. It will\nalso support other sensors that are generating interesting metadata.\n\nThanks!\n\nDavid\n\nDavid Plowman (1):\n  ipa: raspberrypi: Use CamHelpers to generalise sensor metadata parsing\n\n src/ipa/raspberrypi/cam_helper.cpp  | 44 +++++++++++++++\n src/ipa/raspberrypi/cam_helper.hpp  | 11 +++-\n src/ipa/raspberrypi/raspberrypi.cpp | 83 ++++++++++-------------------\n 3 files changed, 83 insertions(+), 55 deletions(-)"}