From patchwork Thu Mar 2 13:54:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 18331 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 898E4BE080 for ; Thu, 2 Mar 2023 13:54:32 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 549A5626DD; Thu, 2 Mar 2023 14:54:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1677765272; bh=7U+ANla+8+b/kdBeOx4VBYbWWFto+nylywCmKWms2L0=; h=To:Date:List-Id:List-Post:From:List-Subscribe:List-Unsubscribe: List-Archive:Reply-To:List-Help:Subject:From; b=p2QVZvpLfd1FtfBw4gz67ePC+x+TEmfyMD6gu6/pY85PUPP0aF7d45a6Tk4gzt5iZ HzW7ew2CBz10+Wd4Pq/A34n3nn46q13Km7b3WFtyKJ4tBDWbJ20QH3GYxSjhgfpVLH G3r9cdh8B4zdJ9D5nTqkr7t86bxdfvPPh+L8PPf6t/FZLhxoAz1B5zB/Vs2BMrE4jM keFLxdvJdhruiTTIr9PS/NX4oTRXEZXY/moghgSuhwAVJLFBBjiAwpsvmsdhVmAJXC LXm9HhJTrSR8u50JBGUdIVHgvFZkR4A0Uf3ExOAJegNB+5hU8yajAUJT1nQxjTHN2O gNMC1lET45JrA== To: libcamera-devel@lists.libcamera.org Date: Thu, 2 Mar 2023 13:54:26 +0000 MIME-Version: 1.0 Message-ID: List-Id: List-Post: X-Patchwork-Original-From: Naushir Patuck via libcamera-devel From: Naushir Patuck Precedence: list X-Mailman-Version: 2.1.29 X-BeenThere: libcamera-devel@lists.libcamera.org List-Subscribe: , List-Unsubscribe: , List-Archive: Reply-To: Naushir Patuck List-Help: Subject: [libcamera-devel] [PATCH v2 0/3] Raspberry Pi: Improving camera timeouts Content-Disposition: inline Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Hi, Version 2 of this series addresses the comments by Jacopo. In particular: - In patch 2/3 we pre-allocate the frame durations list and do a pop/push every frame. We also cache the last set timeout value to avoid signalling every frame. - In patch 3/3 if a user specified timeout is used, disconnect the setDequeueTimeout signal. Thanks, Naush Naushir Patuck (3): pipeline: ipa: raspberrypi: Change Unicam timeout handling ipa: raspberrypi: Better heruistics for calculating Unicam timeout pipeline: raspberrypi: Add a Unicam timeout override config options include/libcamera/ipa/raspberrypi.mojom | 2 +- src/ipa/raspberrypi/raspberrypi.cpp | 44 +++++++++++++++++-- .../pipeline/raspberrypi/data/example.yaml | 11 ++++- .../pipeline/raspberrypi/raspberrypi.cpp | 38 ++++++++++++---- 4 files changed, 82 insertions(+), 13 deletions(-)