From patchwork Sun Oct 12 14:20:49 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Mader X-Patchwork-Id: 24596 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 34EF0BE080 for ; Sun, 12 Oct 2025 14:21:30 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 38EB36044D; Sun, 12 Oct 2025 16:21:29 +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="EaR7tfA7"; 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 A14CF6031E for ; Sun, 12 Oct 2025 16:21:26 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; t=1760278882; cv=none; d=zohomail.com; s=zohoarc; b=aH9amZucDCH876EqW4imlmSzxajACifNMUWaEIVntX5gS6lX5S8k6lCzOaVVYOFJ/q3bMKDuR9yy3EiCcS/4cxodYiuJsZAfjoHm5o/LaFA8VWQmMW1tItix+bS+bnlm0KHQZ0IOnJNVmvK1PucCKJvO0fBTc1po08wwVeM7Aeo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1760278882; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To; bh=2ayKGVcuDSHIQAhCLziwFWuEqTkpzd6dQrUtN5Vai3Q=; b=Mhqn8EDHgPYqqoi9JIstljR94Q2u1Uxu4cPN4DkaucfvTbXxT+O9cX/gpfHE3li9DS5rOiygGO+qcopRRh3/+pivw2HnsCfy3SQZ7qgHoYMOP9iqlbQLmYAs+/+0yfzBwIsR0Rw2FSvS666P6mMBKVok4ra3nhVtjnZDVbXZRHg= 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=1760278882; s=zohomail; d=collabora.com; i=robert.mader@collabora.com; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=2ayKGVcuDSHIQAhCLziwFWuEqTkpzd6dQrUtN5Vai3Q=; b=EaR7tfA7TzkDEd8uW+tx8bkkN0Dkk6LDPhv0temZvWPYDEUgyzZDDO/8RS5XEIlY yyHvUzEVW/CZlb7bW25UJ9TtUTHh2/ZSLLJgLMVvNeVVNmyCEcItIw6pyZSubSdp3NK ESAmF39JdTR/sySmKX5BEQm5TgggjtvkmMxkIwZ8= Received: by mx.zohomail.com with SMTPS id 17602788796286.340316730453765; Sun, 12 Oct 2025 07:21:19 -0700 (PDT) From: Robert Mader To: libcamera-devel@lists.libcamera.org Cc: Robert Mader Subject: [PATCH v5 0/3] pipeline: simple: Allow buffer counts from 1 to 32 Date: Sun, 12 Oct 2025 16:20:49 +0200 Message-ID: <20251012142052.90611-1-robert.mader@collabora.com> X-Mailer: git-send-email 2.51.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 last and main commit of this series implements what the title says. The first commit is a preparation to avoid regressions and the second commit aligns the internal buffer count for the SW-ISP. Changes in v5: 1. Reorder commits and add cover-letter. 2. Adopted suggestions for commit messages. 3. Added more tags. Changes in v4: 1. Limit the number of queued requests to 4 Changes in v3: 1. Adopeted code cleanup suggestion - no change in behavior. 2. Split out change of kNumInternalBuffers. 3. Minor commit message changes. Changes since v1 with title "pipeline: simple: Allow buffer counts from 1 to 16 for swISP" 1: Cover all cases, not just the swISP one. 2: Increase maximum to 32 to match vb2 core. 3: Change constant naming to better match similar ones. 4: Bump kNumInternalBuffers to 4. Robert Mader (3): pipeline: simple: Initialize maxQueuedRequestsDevice to 4 pipeline: simple: Increase internal buffers for software ISP to 4 pipeline: simple: Allow buffer counts from 1 to 32 src/libcamera/pipeline/simple/simple.cpp | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-)