From patchwork Tue Mar 28 11:52:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 18489 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 1CA43BD160 for ; Tue, 28 Mar 2023 11:52:48 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 5563562740; Tue, 28 Mar 2023 13:52:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1680004367; bh=Wrao79XBJzS9W6JaGNgI2s19cL4PZilIN8QQNL++CZo=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=p9F3ln9QPFWzVN+uPW9yXaenAx0K0+/FjGQYzqOmsQJqQkLhMBP5q1tBEfyyhuls0 fLeMhC3U/T12kNWB4nr1oT+E3eHdSznHG3Wo7/puWs+p/xTJwgp++d5HPnCp+3DRPQ n5EbzxIpRadjPaffyByKspzek9SkrqICwv4iMHOu3r6+DQrwGlVR3ifDP/aZG7F0pG RA5hQKWRwTKSK09Y/mCD9buh/tr4xldmddMutXRg5cmnHwWAR4fBSDascuwYe5CE3X uvaSiF7rrhVpaI2EmQXm+7MAkb0NEc261NrLbJ0xMPwWsNMw6719DlSRsTf7SvFUYc 7pRtNh8n+edfQ== Received: from mail-yb1-xb35.google.com (mail-yb1-xb35.google.com [IPv6:2607:f8b0:4864:20::b35]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id DEB7A61ECD for ; Tue, 28 Mar 2023 13:52:45 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="Uu+EKiYy"; dkim-atps=neutral Received: by mail-yb1-xb35.google.com with SMTP id z83so14638754ybb.2 for ; Tue, 28 Mar 2023 04:52:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1680004364; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=9WWc8goRrs3Mj/y8vNPSuuqKthoW7KaMdaOnqTih564=; b=Uu+EKiYyC8MVEg4/lhXywdRfP6ElDueFlR+ynYaBNbV2Jql7ILKN+5JYuuIb0aWTnc zewoFCiV3TNCVj7+u8Q4ZGp2/KRpQgWJ90eH755Q2YaltN7PemnNEzf625RnqV+c1Mb5 WNIdEc/QugnSQv8X8dW5N50UIkFV5mIngLvnBSrPVi2of7xFHOox/RFGBC1gB91sxTBV Lcn8yi9Kmdipy1s9b2MLKRaW9qQPgronUdjivHIkzt9r3A85fTcDmhkhtaV2iNxjLJfU Ia82yc+iYTflc5mCJUWg13kYSJRGM0tUHRKGAxvcI8NPDuT3mWnvbSa1ZbB1REe+IOoE Wq6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680004364; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=9WWc8goRrs3Mj/y8vNPSuuqKthoW7KaMdaOnqTih564=; b=OcRUFEjs5d8C3cAD8s2mceHZBRkN3CanRA9u5IJVA3CSlwT7HhR9LrBbNZ9rN5gD+2 4D+Um871PSeruvwdXQ9KPEdB9wLWAE2vReFddGAjFX9Hpo5PTkZSnk5WyxGYyGY/LTq7 xQQ9ari3HaLHg4/gsoLPlLkq9uoog1VAk059cJhb5HlCaupIXEkYu3WV/kUIZm0MEKKE 3ZvyG2GCHGr341acQrz4Oe10dK4rmYloXIjyDQ6Wa5fAWUIu+Hc6aFim4HoTrlno8HX1 KKcFNYup0HI837kqq6LOV8n6myjndLsgP5uRM3lXWMNVLc1rgk9xhR6NLsgaljCYh1ZF ZxLg== X-Gm-Message-State: AAQBX9c/OWvIbsz65sWHrMhiWOQYMpXjmZVctmcw6lkfDA5Hgv1UR/VB jtwfMB8udV16D7HcW3Tnl/HzYcekii9jozWFqHuxQqU/6XdQisc2aDDiZg== X-Google-Smtp-Source: AKy350Z6rK2Oza9/MzxhB3mkE9R0LNhKSA9IC9Soj5YpU4UlokrgjlC8roSKD2ERy0OPbBEBZxB0xAPxgjwju17G+o0= X-Received: by 2002:a05:6902:102b:b0:b46:4a5e:3651 with SMTP id x11-20020a056902102b00b00b464a5e3651mr9468123ybt.9.1680004364624; Tue, 28 Mar 2023 04:52:44 -0700 (PDT) MIME-Version: 1.0 Date: Tue, 28 Mar 2023 12:52:39 +0100 Message-ID: To: libcamera devel , Kieran Bingham , Jacopo Mondi Subject: [libcamera-devel] [GIT PULL] Raspberry Pi: Senor limits 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-Patchwork-Original-From: Naushir Patuck via libcamera-devel From: Naushir Patuck Reply-To: Naushir Patuck Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" The following changes since commit d942bdc913c5a7f0895bfcb0180db3f279be246e: libcamera: v4l2_device: openat(2) with O_CLOEXEC to cleanup after exec(3) (2023-03-26 11:48:18 +0300) are available in the Git repository at: https://github.com/naushir/libcamera.git for you to fetch changes up to 798a05610c07ba071b51acdedf35294709a9c23e: ipa: raspberrypi: Fix default frame durations calculation (2023-03-28 12:47:45 +0100) ---------------------------------------------------------------- Naushir Patuck (4): ipa: raspberrypi: Add sensor mode limits to CameraMode ipa: raspberrypi: Use the new sensor limits fields in CameraMode ipa: raspberrypi: Ensure shutter speed and gain are clipped in the AGC ipa: raspberrypi: Fix default frame durations calculation src/ipa/raspberrypi/controller/camera_mode.h | 10 +++++++++- src/ipa/raspberrypi/controller/rpi/agc.cpp | 58 ++++++++++++++++++++++++++++++++++++++++++++-------------- src/ipa/raspberrypi/controller/rpi/agc.h | 5 +++-- src/ipa/raspberrypi/raspberrypi.cpp | 57 +++++++++++++++++++++++++++++---------------------------- 4 files changed, 85 insertions(+), 45 deletions(-)