From patchwork Mon Sep 9 16:37:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umang Jain X-Patchwork-Id: 21203 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 DEC13C324C for ; Mon, 9 Sep 2024 16:37:35 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 68353634F8; Mon, 9 Sep 2024 18:37:34 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="RS7GUz++"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id F0E4A634EB for ; Mon, 9 Sep 2024 18:37:32 +0200 (CEST) Received: from localhost.localdomain (unknown [IPv6:2405:201:2015:f873:55f8:639e:8e9f:12ec]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 15FBD5A4; Mon, 9 Sep 2024 18:36:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1725899776; bh=CPZ+WE6ElXgW7I+vk37j62fybNRayIeP2HKNZGyIQ8g=; h=From:To:Cc:Subject:Date:From; b=RS7GUz++cRr5Vk0IzogmL52Z80/UYXcVmMELVu6Rni+HVanGU5Pi2Gdzru2PlI4UY PX2HYaHD3q8+nCgAKm5cgj4FJ0v58HqqPgh7OtbSaH9irfOC2+gpdOX1YiQh1emkRg SP8Wb9FBdRrnxcy5d77X04OKUhyBP5/lO/CnvIY4= From: Umang Jain To: libcamera-devel@lists.libcamera.org Cc: Umang Jain Subject: [PATCH 0/2] pipeline: rkisp1: Filter out sensor sizes not supported by the pipeline Date: Mon, 9 Sep 2024 22:07:17 +0530 Message-ID: <20240909163719.267211-1-umang.jain@ideasonboard.com> X-Mailer: git-send-email 2.45.0 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" The series targets fixing and improving maximum resolutions that can be streamed on the pipeline, successfully. 1/2 targets fixing the issue where the RkISP1MainPath was considering max supported size > ISP on i.MX8MP. 2/2 filters out sensor sizes that cannot be supported by the pipeline. Such sizes are filtered out and the highest resolution (supported by sensor) is considered as the max sensor resolution for generateConfiguration() and validate() code paths. Previous attempts: https://patchwork.libcamera.org/patch/20699/ https://patchwork.libcamera.org/patch/19411/ Umang Jain (2): pipeline: rkisp1: Bound RkISP1 path to ISP maximum input pipeline: rkisp1: Filter out sensor sizes not supported by the pipeline src/libcamera/pipeline/rkisp1/rkisp1.cpp | 15 +++++- src/libcamera/pipeline/rkisp1/rkisp1_path.cpp | 52 +++++++++++++++++-- src/libcamera/pipeline/rkisp1/rkisp1_path.h | 5 +- 3 files changed, 66 insertions(+), 6 deletions(-)