From patchwork Wed May 13 09:11:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 3784 Return-Path: Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 6F498603DE for ; Wed, 13 May 2020 11:12:41 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="lI8F2bf6"; dkim-atps=neutral Received: by mail-wr1-x431.google.com with SMTP id 50so19387129wrc.11 for ; Wed, 13 May 2020 02:12:41 -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; bh=F9XZ76431YB2o91xC3vB/XsWr0Ax76xVeUtdFeI582M=; b=lI8F2bf6PMT4hDtzhCkKi5JbwPA5VFryN3/HN1rQUq8QRw6rqpTWRJJ1PDxnHTuNBT DUCGlW4puab1mooFk2bHnnBmpyIFKolYiTo1mXZBcukzebXGH37xAEP4KtEEsI/+1s14 1G9R8cJgVZNwjQtWPB9yvaPaBQbeNOxh+gi4ZF7PbCDRlYWU6IrxiMSD5l5ij+HnwOk6 dBXsAZKtQMiOa9WanJQFRYNcDQ52VJ8gC+ShHH3ZCUQanMeIsRm6XXkTgZFiekWjqbhy QvY6m2ckgcWvF0q/rAmUf5hWs3nXkUyOA/T78B+1XrmStFLpQvuj1wj5a7LcAgRsPPjh aL4Q== 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; bh=F9XZ76431YB2o91xC3vB/XsWr0Ax76xVeUtdFeI582M=; b=JafgPn0b3MKZPAylc15MXf/J2jbt/5j+hEQ65iWFGAdFr175fvjqd3JlYCwFkvgOp9 Bm0RpBiP8Tw3vN+oT8dwg4/tJAyrfB1bJlpHVCDShsCwzLs0CkLK9FEyYGeMwV5SLiAo VvN8cjBvuOtExpxB9cDHBInn9mOWPfG2LKwHbZLgfWAPgvKQQlbTE3RBQ2z+0dh4O8R/ kl87UfE5cRnpew3qw8PE8vMd3cgHOvISxNJrln5iqGDdTtzENztetlEpPm4hDJOLQhvl Lp6Bc42fS6XE5cMK6EucDN5zGSexcV04WDzl7mCRSooS00z4OyWizg2JSOUWSKwAMifZ md1Q== X-Gm-Message-State: AOAM533184j/lznjKMXLVy6ESH2BGBUGJw7dEZAz4+ejTK3a5v+8fZWt eRq/SvLUeT0HvE3A2HVfUmMNkmp+JHBQ7g== X-Google-Smtp-Source: ABdhPJzdsXEJ+KHvr4Sfve/A+xncRVJdZouytO0U760jq/GnDrc8DsxPitogSRudWit9+o5Z9SQj1A== X-Received: by 2002:adf:f783:: with SMTP id q3mr6539823wrp.348.1589361160685; Wed, 13 May 2020 02:12:40 -0700 (PDT) Received: from naushir-VirtualBox.patuck.local ([88.97.76.4]) by smtp.gmail.com with ESMTPSA id n128sm8500184wmb.47.2020.05.13.02.12.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 May 2020 02:12:40 -0700 (PDT) From: Naushir Patuck To: libcamera-devel@lists.libcamera.org Date: Wed, 13 May 2020 10:11:17 +0100 Message-Id: <20200513091120.1653-1-naush@raspberrypi.com> X-Mailer: git-send-email 2.17.1 Subject: [libcamera-devel] [PATCH v2 0/3] raspberrypi: FPS control 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: , X-List-Received-Date: Wed, 13 May 2020 09:12:41 -0000 Hi, This is the v2 patchset for framerate control on the Raspberry Pi platform. There are quite substantial updates from the v1 patch: - Added min/max frame duration controls to libcamera. - Control vblanking for both min and max frame duration. - Moved GetVBlanking() into the CamHelper base class. - Updated tunings for the imx219, imx477 and ov5647 sensors to limit maximum exposure times. Thanks, Naush Naushir Patuck (3): libcamera: controls: Add frame duration control libcamera: raspberrypi: Add control of sensor vblanking ipa: raspberrypi: config: Update shutter speeds for imx219/477 and ov5647 include/ipa/raspberrypi.h | 1 + src/ipa/raspberrypi/cam_helper.cpp | 38 ++++++++++++++- src/ipa/raspberrypi/cam_helper.hpp | 15 +++++- src/ipa/raspberrypi/cam_helper_imx219.cpp | 11 ++++- src/ipa/raspberrypi/cam_helper_imx477.cpp | 11 ++++- src/ipa/raspberrypi/cam_helper_ov5647.cpp | 11 ++++- src/ipa/raspberrypi/data/imx219.json | 15 +++++- src/ipa/raspberrypi/data/imx477.json | 15 +++++- src/ipa/raspberrypi/data/ov5647.json | 15 +++++- src/ipa/raspberrypi/raspberrypi.cpp | 48 ++++++++++++++++--- src/libcamera/control_ids.yaml | 14 ++++++ .../pipeline/raspberrypi/raspberrypi.cpp | 2 + 12 files changed, 177 insertions(+), 19 deletions(-)