From patchwork Fri Jan 29 11:16:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 11050 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 36686BD808 for ; Fri, 29 Jan 2021 11:16:25 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 91B29683A4; Fri, 29 Jan 2021 12:16:24 +0100 (CET) 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="WUndegp+"; dkim-atps=neutral Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 52CDF68369 for ; Fri, 29 Jan 2021 12:16:23 +0100 (CET) Received: by mail-wm1-x335.google.com with SMTP id o10so6822391wmc.1 for ; Fri, 29 Jan 2021 03:16:23 -0800 (PST) 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=VRlz+tO3EXNm0cdgdechh9zV3K3LYgIIU1lk+vIcn0o=; b=WUndegp+1+21t3sEzx5I+1cEewgVhQT+Hm8HnSlHBdh4PUkQXkaQ4es+EQ+J7l1Lvj NNUqQbCg8fg6eyglMa+EQ6tMeUprWLpRmTvS3XhDygH4PC2hYXdt8rI9c4ML8TvitDDp wrSSfLjll/Z5MCNzmfd2F1jj2w6hs+D++vqWpo1mOfKP3uoltAxj6d9QU7iCU2fcDMCj LJjlMZV6Wy02ZyjBx/JY2fDVvqM73cbk7lHywGOPnR8Yl5mYK1LLSbGDjsmZ33/Hc4Av /mJ4YsY39x1j4H7Q5BgTHv6KxyxYqiVNFIfhQGiKOSvPCDpmk8SWJVKy5K6+gX0xyFAE pnJw== 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=VRlz+tO3EXNm0cdgdechh9zV3K3LYgIIU1lk+vIcn0o=; b=VKJMGhaTbvU0JhN5NPrG5vipGxJxfZJ7duYRWWDUFFnIlIAUo71GOOAXDfImgDJVju EC2edzjeRBU4gw23S41fpr5Ck4xmKHFWBgjzc3D9DgdBknBDevC2Nvn7AMbQ9KVqhBat atb8jxwVe71bLb7lYfqJ4buTk05WSPp5ME0kYR30sanexjno0nY3P0OwwcvorEodGhby WBIK8KmO4ruyE99W4HHZcWdui2UPXg+85RNtILVkKnKAkcJDjRfgxaREctylHHX4hPQu u+OPaN+n2Osju7g9wDgJWoanlUZpN4XzbwsGIBfRNlg90Gpy6d41QYQA9oGC0W3cNKhy MxOA== X-Gm-Message-State: AOAM531lQmuzNtdlvvbturgK2L1ohHgYMeWx+60m3hKdwc504iscalHY V7YyhWAPciDJr21pe7Rds1k1yH+WGzVPqmxI X-Google-Smtp-Source: ABdhPJyesJYvT00waGF9Pq8s5u6XhhOUsdrP7v9oVV0DX765KZorzSBkjS8ZjooF+9HICEpnVNkhaQ== X-Received: by 2002:a1c:4d13:: with SMTP id o19mr3301452wmh.3.1611918982657; Fri, 29 Jan 2021 03:16:22 -0800 (PST) Received: from naushir-VirtualBox.patuck.local ([88.97.76.4]) by smtp.gmail.com with ESMTPSA id f14sm11324007wre.69.2021.01.29.03.16.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Jan 2021 03:16:20 -0800 (PST) From: Naushir Patuck To: libcamera-devel@lists.libcamera.org Date: Fri, 29 Jan 2021 11:16:11 +0000 Message-Id: <20210129111616.1047483-1-naush@raspberrypi.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v4 0/5] Raspberry Pi: FrameDurations control refinements 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, Here is the next revision of the patch series. The only difference between this and v3 is a change to the comment text as suggested by Laurent in patch 2/5. Thanks, Naush Jacopo Mondi (1): libcamera: camera_sensor: Make VBLANK mandatory Naushir Patuck (4): libcamera: camera_sensor: Add frame length limits to CameraSensorInfo ipa: raspberrypi: Limit the calculated vblank based on the sensor mode ipa: raspberrypi: Pass the maximum allowable shutter speed into the AGC pipeline: raspberrypi: Add notion of priority write to StaggeredCtrl Documentation/sensor_driver_requirements.rst | 6 +- include/libcamera/internal/camera_sensor.h | 3 + src/ipa/raspberrypi/cam_helper.cpp | 16 ++--- src/ipa/raspberrypi/cam_helper.hpp | 5 +- src/ipa/raspberrypi/cam_helper_imx219.cpp | 6 +- src/ipa/raspberrypi/cam_helper_imx477.cpp | 4 +- src/ipa/raspberrypi/cam_helper_ov5647.cpp | 4 +- .../raspberrypi/controller/agc_algorithm.hpp | 1 + src/ipa/raspberrypi/controller/camera_mode.h | 2 + src/ipa/raspberrypi/controller/rpi/agc.cpp | 48 +++++++++----- src/ipa/raspberrypi/controller/rpi/agc.hpp | 3 + src/ipa/raspberrypi/raspberrypi.cpp | 66 ++++++++++++++----- src/libcamera/camera_sensor.cpp | 44 +++++++++++-- .../pipeline/raspberrypi/raspberrypi.cpp | 12 +++- .../pipeline/raspberrypi/staggered_ctrl.cpp | 41 ++++++++---- .../pipeline/raspberrypi/staggered_ctrl.h | 17 ++++- test/ipa/ipa_wrappers_test.cpp | 2 + 17 files changed, 199 insertions(+), 81 deletions(-)