From patchwork Tue Jun 29 10:44:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 12743 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 3E6E3C3220 for ; Tue, 29 Jun 2021 10:45:12 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 3A14D684EB; Tue, 29 Jun 2021 12:45:11 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="KGk9qyQ7"; dkim-atps=neutral Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 2C090684CB for ; Tue, 29 Jun 2021 12:45:10 +0200 (CEST) Received: by mail-wr1-x42c.google.com with SMTP id l8so16460462wry.13 for ; Tue, 29 Jun 2021 03:45:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=tS6qgKHBF0okvDpOxsbGKBCCVMK3WL7pncxFVTpirls=; b=KGk9qyQ7nLwn0FUN5igy+vUXcGtC4hEqNfpSh7US37cD1M/ndmHmKUVJNKjrWmWOsx xd71DAfCUT4moLoCfukv6yHp/bYSM103CbO5ZeXhfKznIGvCr09TUEZnR2MPEfMAQUaV KLzJveEvMtKzRfxfVMoXWQQCFyaxLgqGVZJHhtD6DEWhcZjJT8Es3YHqpDEj0sFsLkVu 6ANFWPIXsqEq+anPEI2Fd/Vlp4UK+N0MqHuozDEXTFF8VlQfOvHHxZsyzZ2CNaTTilbD FIoMtxbas7g2djJhioYk5ma2nbSqwo4nBQtGZ+nDFrYGXBGaY+/sP/sdNP9mcOlcBxMf B4RQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=tS6qgKHBF0okvDpOxsbGKBCCVMK3WL7pncxFVTpirls=; b=HKNFvH/I+ubkpvHpbI7NVbohw9DzAuX9zV68Yb9lHH0fTCmi1uwr277y/adpxonmRp VEJKIe9Mpp7aBXuULZxi2cBRnaY/H+M0Y75jZDurPonmTuYUEQAH2LXguaNUfYEG/QvN GJUwM4SpJANvWofJ/LDFZm9DkMramEQ90D2v+0tsi5bxqOmDYPf1wetkNKBzh0SRrnqm QyG28r2J87jZnOLj69Y+2EKEfRb7U3I1dIrg5BB5bKTHzLbjXDCaHylrNGB32KDi+8kY 4Omj8PjqI4xBM72XKCtPN8HeXJiRguTHiwR4Rqn0auRQ+Kkj4G/xUGDMFbFEl6Ql1gE3 yVtQ== X-Gm-Message-State: AOAM530fm9z4D1ee35a2tHH3yUM2uW3tepBloYsZ0xfAYWOobyJWYDwC Z98f2T1oFAzPOX0il04kR6MOoZeOB3JElQ== X-Google-Smtp-Source: ABdhPJwP61R+07UHN3k1YFmkFvtOj9NrhvnlStkRjfHHInIEgypvskkHqBqCeJ03fLdh0wjHdWlsYA== X-Received: by 2002:a05:6000:551:: with SMTP id b17mr32407029wrf.32.1624963509559; Tue, 29 Jun 2021 03:45:09 -0700 (PDT) Received: from naush-laptop.pitowers.org ([2a00:1098:3142:14:d9cf:b3d0:bdee:72b2]) by smtp.gmail.com with ESMTPSA id l20sm16669930wmq.3.2021.06.29.03.45.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Jun 2021 03:45:08 -0700 (PDT) From: Naushir Patuck To: libcamera-devel@lists.libcamera.org Date: Tue, 29 Jun 2021 11:44:58 +0100 Message-Id: <20210629104500.51672-1-naush@raspberrypi.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v3 0/2] Raspberry Pi: Metadata parsing improvements (II) 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" Hi, Version 3 of this series has the following changes: - Rebased to top of master. - Update patch 1/2 with a cleaner syntax for constructing the metadata parser object. - Updated ov9281 cam helper with metadata rework changes. - All the minors suggested by Laurent in his review feedback for patch 2/2. Regards, Naush Naushir Patuck (2): ipa: raspberrypi: Use a unique_ptr for the metadata parser ipa: raspberrypi: Generalise the SMIA metadata parser src/ipa/raspberrypi/cam_helper.cpp | 38 ++++--- src/ipa/raspberrypi/cam_helper.hpp | 7 +- src/ipa/raspberrypi/cam_helper_imx219.cpp | 116 ++++---------------- src/ipa/raspberrypi/cam_helper_imx290.cpp | 2 +- src/ipa/raspberrypi/cam_helper_imx477.cpp | 122 ++++------------------ src/ipa/raspberrypi/cam_helper_ov5647.cpp | 2 +- src/ipa/raspberrypi/cam_helper_ov9281.cpp | 2 +- src/ipa/raspberrypi/md_parser.hpp | 41 +++++--- src/ipa/raspberrypi/md_parser_smia.cpp | 66 ++++++++++-- 9 files changed, 153 insertions(+), 243 deletions(-)