From patchwork Tue Nov 26 15:12:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Scally X-Patchwork-Id: 22100 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 735ABC3200 for ; Tue, 26 Nov 2024 15:12:16 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 711CC6606B; Tue, 26 Nov 2024 16:12:15 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="AnkazV6n"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 0F4CC65F9F for ; Tue, 26 Nov 2024 16:12:13 +0100 (CET) Received: from mail.ideasonboard.com (cpc141996-chfd3-2-0-cust928.12-3.cable.virginm.net [86.13.91.161]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 979786BE; Tue, 26 Nov 2024 16:11:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1732633910; bh=t35836jZ9K9h51qSjgCW+kTvbj6tna+ht5fZWxHQaUI=; h=From:To:Cc:Subject:Date:From; b=AnkazV6nt3Q3Jj+G/d4yn28hZWM8XptSiYmOoU5sSSiD9kfbGbsoUrejXHDG7Ydm1 6HhFwNosd1fse3hzL5YyxMAiUBBnef1Gay2UbtXF2NXVUWaSVJ/NrbgS4qLp9FMLx6 j/dauh2o0VOSlOZTvmUTRkkSSuynVXPY4LAPEn0c= From: Daniel Scally To: libcamera-devel@lists.libcamera.org Cc: mike.rudenko@gmail.com, Daniel Scally Subject: [PATCH v5 0/2] Add sensor control delays to CameraSensorProperties Date: Tue, 26 Nov 2024 15:12:01 +0000 Message-Id: <20241126151203.108407-1-dan.scally@ideasonboard.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 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" Hello all This set contains the last two unmerged patches from the "Centralise common functions in IPA modules" series [1]. The camera sensor control application delays currently hard-coded into each pipeline handler are moved to be A struct in CameraSensorProperties, which is retrieved by the PipelineHandler. Thanks Dan [1] https://patchwork.libcamera.org/project/libcamera/list/?series=4792 Daniel Scally (2): libcamera: camera_sensor_properties: Add sensor control delays libcamera: pipelines: Draw control delays from CameraSensor properties include/libcamera/internal/camera_sensor.h | 2 + .../internal/camera_sensor_properties.h | 8 ++ src/libcamera/pipeline/ipu3/ipu3.cpp | 11 +- src/libcamera/pipeline/rkisp1/rkisp1.cpp | 11 +- src/libcamera/pipeline/simple/simple.cpp | 6 +- src/libcamera/sensor/camera_sensor.cpp | 14 +++ src/libcamera/sensor/camera_sensor_legacy.cpp | 25 ++++ .../sensor/camera_sensor_properties.cpp | 108 ++++++++++++++++++ 8 files changed, 169 insertions(+), 16 deletions(-)