From patchwork Wed Aug 13 10:24:59 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= X-Patchwork-Id: 24096 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 298F1BDCC1 for ; Wed, 13 Aug 2025 10:25:08 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 5A43C6922C; Wed, 13 Aug 2025 12:25:07 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="R97L09Qf"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id CE26661444 for ; Wed, 13 Aug 2025 12:25:04 +0200 (CEST) Received: from pb-laptop.local (185.221.141.188.nat.pool.zt.hu [185.221.141.188]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 349312EC for ; Wed, 13 Aug 2025 12:24:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1755080651; bh=sO56oUUY9w9It87KDzNmPxxcBF816E8VaCn5lIDfcVQ=; h=From:To:Subject:Date:From; b=R97L09QfkzMq5ja5pmqrqDFwF7UG0JpAWkWQ6ESHyOmYWZ3SEtgFxvpBuMR1JXYZ9 4QfgsM728ebCMW07YEKjyJf7f2D3xF0ovwbyvD+nlWOxoOYuT6cv+IwG6wQFlt2U3v xUB/IjuTvvv5pcnEmSsGCHrup7FYEcehp8J51gzw= From: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= To: libcamera-devel@lists.libcamera.org Subject: [RFC PATCH v2 0/2] libcamera: pipeline: virtual: Move image generation to separate thread Date: Wed, 13 Aug 2025 12:24:59 +0200 Message-ID: <20250813102501.1645940-1-barnabas.pocze@ideasonboard.com> X-Mailer: git-send-email 2.50.1 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" changes in v2: * make `Thread::removeMessages()` public * cancel requests instead of waiting for completion v1: https://patchwork.libcamera.org/cover/24088/ Barnabás Pőcze (2): libcamera: base: thread: Make `removeMessages()` public libcamera: pipeline: virtual: Move image generation to separate thread include/libcamera/base/thread.h | 2 +- src/libcamera/pipeline/virtual/virtual.cpp | 87 ++++++++++++++-------- src/libcamera/pipeline/virtual/virtual.h | 9 ++- 3 files changed, 67 insertions(+), 31 deletions(-) --- 2.50.1