From patchwork Sun Jul 18 18:51:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Plowman X-Patchwork-Id: 13036 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 72F88C0109 for ; Sun, 18 Jul 2021 18:51:32 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id C184D6853C; Sun, 18 Jul 2021 20:51:31 +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="E40dtWmp"; dkim-atps=neutral Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 4DDAB60280 for ; Sun, 18 Jul 2021 20:51:30 +0200 (CEST) Received: by mail-wm1-x32f.google.com with SMTP id y21-20020a7bc1950000b02902161fccabf1so11424350wmi.2 for ; Sun, 18 Jul 2021 11:51:30 -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=MWgeghQ/L5itdE0KuxI/EXILX7sviBqmPrzagjJ4Q38=; b=E40dtWmpSjkgtG4LM9wMvzhGTVcsPNFcZJAq+ZzHaz1okoCx0REms2TR9IpqWGSJC1 Ptsq5xuMWkMcqhRyoTbx6vYJh89C6ABi0cgK18Pe6kXBFwKo7TiT1aG8eMA0qxBDNb2t XHjj7E7bmo0uWAbj8OzQOzkCz6S5Yn62q1mGSZcm7hAJ1kOIl03W5UZNAhdKtr1pH4pp YBTW7Pv/OYTQx8Sq/UYFAU3Vits8Kc5+xBNQf6Hq339J1QKsRgmlrTsTlB6uf+/2KeJK 6REaaLG4d8u5bJSQimN9sWUxsfe/AEC/AEP7GdtEIeKIXVU37zQ68FqD7ZnMht+RfBSf 7E3g== 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=MWgeghQ/L5itdE0KuxI/EXILX7sviBqmPrzagjJ4Q38=; b=MUS4ymFIKcvsZDWws8KtxpFGDcumFtdVt/B76BljluO6z5yK6XkDIvEbTfISWWoHKF 2gJsm6k9IXkTiFkpjLbVQMPCMcO/UjEf9lkjXedwt8JHRKIERESXk2vFNa9dkXvbVPcy uB22fhowOwTRjIsvmlfC75fjygm2bYgVoJ6a9rl61GaRQ0rFNC72drHG0uUgajzcNQbq jqePGXqVyf0JGp02R6CGxXWU9pb8267J+i0yEmRVEmDNK/8eh3+zRdmwTh5GA4uSuEtW hqA558wkgMDrtu2L4D1BlKyKqbp12zMAJ4GJqJHMXoK9w3DPNEpukG4w4grXhe/NKa4l niyQ== X-Gm-Message-State: AOAM531/MA4mv0qZSxlZmTiAEyxhxrQrwdBYg2iDYZ5pr9DnsjnepfH2 Yg95j9lMs6T5NWu0O0QhnPhnvtZXeuGnZtq2 X-Google-Smtp-Source: ABdhPJzR4XL4KYOQWOqQFTbttIDTmkSapz5RPfFS42P5YFtXIYyjMB1DHN7xitqiuPi3SEdr7B2rWA== X-Received: by 2002:a05:600c:2f17:: with SMTP id r23mr28832618wmn.39.1626634289695; Sun, 18 Jul 2021 11:51:29 -0700 (PDT) Received: from pi4-davidp.lan (plowpeople3.plus.com. [80.229.223.72]) by smtp.gmail.com with ESMTPSA id o19sm17459634wmc.12.2021.07.18.11.51.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Jul 2021 11:51:29 -0700 (PDT) From: David Plowman To: libcamera-devel@lists.libcamera.org Date: Sun, 18 Jul 2021 19:51:23 +0100 Message-Id: <20210718185125.17472-1-david.plowman@raspberrypi.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v4 0/2] Raspberrypi: support per-mode camera sensitivities 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 everyone Thanks to all for the comments. This v4 set is unchanged except for a better placement for an ASSERT in the second patch, as suggested by Kieran. Thanks David David Plowman (2): ipa: raspberrypi: Add sensitivity field to camera mode ipa: raspberrypi: AGC: handle modes with different sensitivities src/ipa/raspberrypi/cam_helper.cpp | 11 ++++++++ src/ipa/raspberrypi/cam_helper.hpp | 3 +++ src/ipa/raspberrypi/controller/camera_mode.h | 2 ++ src/ipa/raspberrypi/controller/rpi/agc.cpp | 27 ++++++++++++++++---- src/ipa/raspberrypi/controller/rpi/agc.hpp | 1 + src/ipa/raspberrypi/raspberrypi.cpp | 6 +++++ 6 files changed, 45 insertions(+), 5 deletions(-)