From patchwork Tue Mar 28 07:41:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 18481 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 62FF1C0F2A for ; Tue, 28 Mar 2023 07:41:56 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id C35D4626E2; Tue, 28 Mar 2023 09:41:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1679989315; bh=GWSLymKUdOUultz7a70w8/pfotk6zgTDbpHyQsnNJ4E=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=L1nYQQ2w9Cm2dsYG6sv9DeczU1JTdgIdPhbDrro/GJHjFLkLXY70h0cO14U5C8Gid nR+asyBlx5VL8PR9W0laylsJX7szKFTm567VXIu67ihZvLUrqEl3yBizXx7Jzua3EB 9+lzQ6e2p4O+bo0I+L+mxq5nL0xDy8wCVVzcm4o9VdbjD8FwZjDUwpFOQLpim7c7hB X6HWsDqroeK63/facjlKsm+aFyb/jrJLZrIZivElpBRdpZdVCbwhfBreW9TWDy1M67 z3xIN2zsAiB7RoQtouJBi6mGCsC75vatojQNFcgTFVqRN047XpN/Lev1K4+2JS0I89 e7qYBsOo4/WPA== Received: from mail-yb1-xb32.google.com (mail-yb1-xb32.google.com [IPv6:2607:f8b0:4864:20::b32]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 0F425626E2 for ; Tue, 28 Mar 2023 09:41:54 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="Y7FfqqMM"; dkim-atps=neutral Received: by mail-yb1-xb32.google.com with SMTP id n125so13884902ybg.7 for ; Tue, 28 Mar 2023 00:41:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1679989312; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=+ac1U0EKGIMIu0n4UHkUMsBRyNJee4LjkKw2TTpuANU=; b=Y7FfqqMMZFBPO1Xvh/QJYrz6EcE2OT4OAzG2I3ggp620cDqu6D6md6zodpImzrhzYV +22Xo9m5jLrJUzhCXk8TXRxbkp2Sd5yehjIkAPL6m0WVJ6Pg0Xp7+cXhpJFUqCG+As9m ws0LGSxYPWneOGGs0DgM+29QR2MOsR9Xn6V9/oBVvN967B5Nxy9gOx7SivJiFHhT1jth mZML1KY/O1eiPzKGaSDJFfyzIj1oG0v0YfI0k+RxjPXf54QdX3xidRZLBi4M7ituUUUw NqNcqhx+phwQQs1hSwJtHw75ophrE9VK/J4LbXOMniI5wCtBBhcOJLpyR0YDh84B+ZA6 AsYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679989312; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=+ac1U0EKGIMIu0n4UHkUMsBRyNJee4LjkKw2TTpuANU=; b=lpcKSCUUAwjVMKKh6COLT4nXIlyBTUarItCqNSmQCzlSxAKqgGVw6frB+kbzkTKyHD fMJT4x3QQGwT3cUID4CC9NjTkHZ95fZqcKTh3vNwgqbjKlOBJ/rBUvLF427vg1PHH9CU FEdM2I5ESQoILFPVRrsr0ZR4XpLkwBqP9S9WvMt/E14UpiOps2XTUtCTfSAjWUjv71Dq se4x8u/PKtJOh4dRaJhWzneBqgQCKDEbSYtEAUoTQGxaJnQTPJ02gm5jnD5w7NLuB2Ue /agkCt3gx9TE/zxZtAf49NA4TEhJEteT7ey9/D0278acz71/radEVzZJS/GPD65wSzOW DRHg== X-Gm-Message-State: AAQBX9erU/W2oiqqw6EzCQ5dTccMpO3kJdf7JHwWZppyGY9Ji++YV2OJ AhP4qteS9o5n89C0RsbO1eLSz+RuuVZE/l/uwc3We2bMMo3LdEreJCgKMA== X-Google-Smtp-Source: AKy350aR0cf4uGYeqi7yERISJHH5praWSg2TLYRvooPZP92Yeq4SFga7mmpvJ0jLwIGkN5AQaRRaRPYF85Jj2EMJ6ag= X-Received: by 2002:a05:6902:a8c:b0:b7b:fb15:8685 with SMTP id cd12-20020a0569020a8c00b00b7bfb158685mr3230508ybb.9.1679989312515; Tue, 28 Mar 2023 00:41:52 -0700 (PDT) MIME-Version: 1.0 Date: Tue, 28 Mar 2023 08:41:45 +0100 Message-ID: To: libcamera devel 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 Cc: Jacopo Mondi 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 4ec84728accfdf4df2250cec153e0aa396758b12: ipa: raspberrypi: Fix default frame durations calculation (2023-03-28 08:38:05 +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 | 55 ++++++++++++++++++++++++++++++++++++++++++------------- src/ipa/raspberrypi/controller/rpi/agc.h | 4 +++- src/ipa/raspberrypi/raspberrypi.cpp | 57 +++++++++++++++++++++++++++++---------------------------- 4 files changed, 83 insertions(+), 43 deletions(-)