From patchwork Fri Jul 9 14:58:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 12883 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 515AABD794 for ; Fri, 9 Jul 2021 14:58:32 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 8D4FE684E7; Fri, 9 Jul 2021 16:58: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="HJ3OtUXd"; dkim-atps=neutral Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 42EF3605AC for ; Fri, 9 Jul 2021 16:58:30 +0200 (CEST) Received: by mail-wm1-x331.google.com with SMTP id a5-20020a7bc1c50000b02901e3bbe0939bso6509523wmj.0 for ; Fri, 09 Jul 2021 07:58: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=Bg3+BdywSeHDRSu6O8OLRM3fdWDeZlcRCI7TH2hkBfg=; b=HJ3OtUXdAV6Jn9CivypamlosV9Ge8TltxTFzTe6FVGHm90IxY3RQ8ehx0cCs1HLA43 Ew0wF5OiLyUR49jqcK+y0cDhtD72MyYTDSwD5sTy9u8IdPRYoyDQovu9KayXmBy4dSTy Taw1xppBzGrKepoZRahbMRj9SwZCXAw4XgcEjVYej8GxtO1HrDV+mH7FXMhzNn+NN1zj N7RgFhE9oSHBLrMCU725Q3dy+7ot1eg3R+lrfD2y419R8APX+yWvD2iR5Xgu6JYnRFOo PqKWwgCt2DFobc1a+5K5eiVqoGWW9a9WPLQhbEPpwb+cro4JLJtgFd8Qen+t679sK62o Ca+g== 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=Bg3+BdywSeHDRSu6O8OLRM3fdWDeZlcRCI7TH2hkBfg=; b=aUXVi2+o6eEo+1bYRpduadKylIUTPp3A4vYD7LNkvq/+XV5sWylhwL+6/wPewIYqta kryuVi6tUHUqcMSKolkb0gBq0Y9GmvPzpW+NkvMsW3/+0x7hvQDBcB8Oqlm9IqhoDH89 Sn7/NadM2jXJ3Jcm7aajqdFgLleE+CKrhQ5uKtwwj9jwoJH0T3GdLUNExuoVhtxMw+cB Pok9D8mLsDvqH3fVjCJENwA6hoA694nrJFIS/b/IxvHl1XoBiEBK0SumhyQkQpxEZvOq FXhn2xmgl3xoKA3h/njXvS+f09oKt42apw/I4KlvWbHHtUeX/CQ+3tcJbV5byj5ZbIXY qqcQ== X-Gm-Message-State: AOAM533HHzeEMj/Psa43rXu5sGG/8sj1kEal2OBi7akCu6rKf+OOdJNl Q9MDBZtfNxBJJQ8SbFEWbR6oNWyqLE5KIw== X-Google-Smtp-Source: ABdhPJxawRh89bCyX+uCn9QXAxJRvgj4KGyow6bnkdLhUbtwekPUMJRHLQcCWo9XW680yehOnv8JEQ== X-Received: by 2002:a05:600c:22cc:: with SMTP id 12mr39048683wmg.182.1625842709449; Fri, 09 Jul 2021 07:58:29 -0700 (PDT) Received: from naush-laptop.pitowers.org ([2a00:1098:3142:14:35c2:26d3:e217:4410]) by smtp.gmail.com with ESMTPSA id c2sm1480995wrn.28.2021.07.09.07.58.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jul 2021 07:58:28 -0700 (PDT) From: Naushir Patuck To: libcamera-devel@lists.libcamera.org Date: Fri, 9 Jul 2021 15:58:17 +0100 Message-Id: <20210709145825.2943443-1-naush@raspberrypi.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v6 0/8] ipa: raspberrypi: Allow long exposure modes for imx477. 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 6 of this series changes: - Fixup for using C++ style comment in patch 4/8. - Added a comment in patch 6/8 explaining the double set of the VBLANK control. I think patch 3/8 is the last one needing a second tag. Hopefully Kieran can quickly add that if he is ok with the change :-) Regards, Naush Naushir Patuck (8): ipa: raspberrypi: Make device_status.h C++ only header, and update comments ipa: raspberrypi: Add a constructor struct DeviceStatus ipa: raspberrypi: Add an operator<< to struct DeviceStatus ipa: raspberrypi: Add frame_length to DeviceStatus ipa: raspberrypi: Allow long exposure modes for imx477. pipeline: raspberrypi: Use priority write for vblank when writing sensor ctrls ipa: raspberrypi: Increase the default max frame duration to 250s ipa: raspberrypi: Make variable names consistent src/ipa/raspberrypi/cam_helper.cpp | 6 +- src/ipa/raspberrypi/cam_helper_imx219.cpp | 6 +- src/ipa/raspberrypi/cam_helper_imx477.cpp | 92 ++++++++++++++++++- .../raspberrypi/controller/device_status.h | 48 +++++++--- src/ipa/raspberrypi/controller/rpi/agc.cpp | 1 - src/ipa/raspberrypi/controller/rpi/lux.cpp | 9 +- src/ipa/raspberrypi/raspberrypi.cpp | 17 ++-- .../pipeline/raspberrypi/raspberrypi.cpp | 41 +++++++-- 8 files changed, 171 insertions(+), 49 deletions(-)