From patchwork Wed Jul 7 09:48:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 12844 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 B8141C3224 for ; Wed, 7 Jul 2021 09:48:20 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id EB5616851B; Wed, 7 Jul 2021 11:48:19 +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="QrfXe4ON"; dkim-atps=neutral Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 6352068506 for ; Wed, 7 Jul 2021 11:48:18 +0200 (CEST) Received: by mail-wr1-x42a.google.com with SMTP id p8so2341954wrr.1 for ; Wed, 07 Jul 2021 02:48:18 -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=ywsXJK7a5rfh2WdJ00KuPd4ALqOQO9uvHEmsn0fDeUs=; b=QrfXe4ONugm/AjFnWgsP1n95c3I4vbjWCrzaGHCUvc0YKqXHYCELDiruRqZpCTJ+BY EQ0/rF5msiOHX5tqqAN9WGFGolU/zmqAMd3zgjHtMP0v79QHMincoFdx6DBhSukJissY FwMnwevm1XuZjLm+yeSh5CqYDSgKGk3BMKrs9r+TMieqEzXspcZdox5/XD/1z02aQP+t 32I6FkbW9Yp+Xu5II7hdlR/96swj/pMIlxjDuk/r54DRFKLWbDNXxJfyza/3KuK26iFC vXZF3XuctLvLQaVECEc0O/gfhRRlqUJZ71EH3VrYrLF72x9CikzKkstIQnDvmOhvpwKo jVVA== 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=ywsXJK7a5rfh2WdJ00KuPd4ALqOQO9uvHEmsn0fDeUs=; b=o6zm24dVjAKYDY6gYFN3dzcrTNT8P/k0RDp4S4RKoN/rjX0ri437qJafVta9PUIciU qDzvESnfyPeZJ2y5LaULfqfuVTvHrWfVsBrjSZNhTLfKLx1ezSUbYta5X8vJ5ZkKRssG XxcfxGR9EH2BKDNLxdTdTbKXFR6eTWlOKWRnkndt0l053WBC7p3TfPhNexfEtqxyR16G 0Z/XvswVF+VwAkV1243pBQ6kIERUgks9oA+Ys2KuDYdjrqzOV6+x4Bz5p8g5vAclZAoc jYvSBI+HcWl5tNSHvcsw1sGv8cbmRcPc2ETgNZthGzvzroOYBFiX0cTz2mHZeGdLo0da FKZg== X-Gm-Message-State: AOAM531kKiR9YzI5ZCvSwbJEKKWW5uGGb8aNuSd+f+6gVM5jTlTbEoZM AIFGcBMsoSU3nJ3uqxJKdnNqB+fHW9JLBQ== X-Google-Smtp-Source: ABdhPJzIcRA9rAlpwvXpwTwjDj999NzakzbIdgmTr40voSmbW9WIX9p2mVAZgUneZaG2IpseTnPXNQ== X-Received: by 2002:adf:9cc7:: with SMTP id h7mr2791661wre.186.1625651297803; Wed, 07 Jul 2021 02:48:17 -0700 (PDT) Received: from naush-laptop.pitowers.org ([2a00:1098:3142:14:f800:302e:bf7e:a06b]) by smtp.gmail.com with ESMTPSA id r16sm23377836wrx.63.2021.07.07.02.48.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Jul 2021 02:48:17 -0700 (PDT) From: Naushir Patuck To: libcamera-devel@lists.libcamera.org Date: Wed, 7 Jul 2021 10:48:07 +0100 Message-Id: <20210707094815.1500917-1-naush@raspberrypi.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v4 0/8] Raspberry Pi: Enable imx477 long exposure modes 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 4 fixes some minors pointed out by David. I have also made some changes to patch 5/8 to re-use the base class implementation of parseEmbeddedData(), as it was in v2. David, could you please re-review that one patch please? Thanks, 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 | 93 ++++++++++++++++++- .../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 | 37 ++++++-- 8 files changed, 168 insertions(+), 49 deletions(-)