From patchwork Fri Oct 10 09:22:25 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Mader X-Patchwork-Id: 24576 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 D2F3CBE080 for ; Fri, 10 Oct 2025 09:23:10 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 86ACD613AB; Fri, 10 Oct 2025 11:23:10 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=collabora.com header.i=robert.mader@collabora.com header.b="ADupL4Gh"; dkim-atps=neutral Received: from sender4-pp-f112.zoho.com (sender4-pp-f112.zoho.com [136.143.188.112]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 831C5613AB for ; Fri, 10 Oct 2025 11:23:08 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; t=1760088185; cv=none; d=zohomail.com; s=zohoarc; b=P6Ip2/DEu9aoMltAXPksQweFFEeSgZHqzMGIkszFz1xWBkEg3B9D91y0ApFxNJqlCL8+pQbxXuhF4HK3831hM3GAy5bryoq9Q+5rRe7XRGnCSJV8D1lsTV+6GO5oxq/GGqRKfA+x9gIRA2BFb5Sb+sYSgA78yI6FBkDtdPaw2VA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1760088185; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=lewmQ3pFJYZKfPVu8AxdW3PwJ4VBMHRhi6uMLIuh9Uo=; b=M+xN3ckF/SmoJTQO217k5SO0mJKHerJVoQ7R3FX37NOlHQTKtJFPR53xePRtlNCItB2cTtbBP5IwCqp9uEAJODd7oCuM/mNbDUXnwjZ9iiinrqpvYkD3ne6gOtuQUfEu8rZPfOkbMkN2izG+o8lEidKZRuu7mJtxBXeOitApB6M= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=collabora.com; spf=pass smtp.mailfrom=robert.mader@collabora.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1760088185; s=zohomail; d=collabora.com; i=robert.mader@collabora.com; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-ID:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding:Message-Id:Reply-To; bh=lewmQ3pFJYZKfPVu8AxdW3PwJ4VBMHRhi6uMLIuh9Uo=; b=ADupL4Ghyzwl+5wQ582JNOb/m/r1OFkl5FJyoB9aR03OAVVHhwsAoBB5IVWPK5xA 1AArVcfDoPDh3KUZtNq9MAsgFjb8f3ME2f0zfZTExUTePcqq8cLgkwpE0G0KHBhbWKP eCChJ3DyYC7pLtiQrnmjFgwKfFBojwMzv8ZcjBS8= Received: by mx.zohomail.com with SMTPS id 1760088182945181.03089471734825; Fri, 10 Oct 2025 02:23:02 -0700 (PDT) From: Robert Mader To: libcamera-devel@lists.libcamera.org Cc: Robert Mader , Milan Zamazal Subject: [PATCH v4 2/3] pipeline: simple: Increase internal buffers for software ISP to 4 Date: Fri, 10 Oct 2025 11:22:25 +0200 Message-ID: <20251010092226.41228-2-robert.mader@collabora.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251010092226.41228-1-robert.mader@collabora.com> References: <20251010092226.41228-1-robert.mader@collabora.com> 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" This has been shipped downstream in postmarketOS for a while and, in some cases, seems to improve stability on not-so-great drivers. It also brings the software ISP in line with the default used otherwise. Signed-off-by: Robert Mader Reviewed-by: Milan Zamazal --- src/libcamera/pipeline/simple/simple.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcamera/pipeline/simple/simple.cpp b/src/libcamera/pipeline/simple/simple.cpp index 2dcba04ec..c4cb7c391 100644 --- a/src/libcamera/pipeline/simple/simple.cpp +++ b/src/libcamera/pipeline/simple/simple.cpp @@ -420,7 +420,7 @@ protected: int queueRequestDevice(Camera *camera, Request *request) override; private: - static constexpr unsigned int kNumInternalBuffers = 3; + static constexpr unsigned int kNumInternalBuffers = 4; struct EntityData { std::unique_ptr video;