From patchwork Fri Mar 14 17:42:17 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: 22952 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 B1F4DC32F7 for ; Fri, 14 Mar 2025 17:42:24 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 6C3BC68949; Fri, 14 Mar 2025 18:42:24 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="QIMyjRZG"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 6252D6893D for ; Fri, 14 Mar 2025 18:42:23 +0100 (CET) Received: from pb-laptop.local (185.221.143.221.nat.pool.zt.hu [185.221.143.221]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 0EA8B606 for ; Fri, 14 Mar 2025 18:40:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1741974044; bh=BzHEVH7xgkhswAe1pjqikF0CemE6njcrPMUgo3ykNt8=; h=From:To:Subject:Date:From; b=QIMyjRZGgCi7BeYdegEEoCRGKDgoNoe3cSOS1BzBNnmAdvMux1W5XbDNLhM5UJkdi 0hINhm8nD0p/tCvVxrZcQI8Qwut7sdZR+341x24MLFove/+fISS+h9wF93FnLjbAXn Xlaw9FUUgbDEnylkD6E0HH8rly64GpPrcItAb4tc= From: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= To: libcamera-devel@lists.libcamera.org Subject: [PATCH v4 0/2] apps: lc-compliance: Multi-stream tests Date: Fri, 14 Mar 2025 18:42:17 +0100 Message-ID: <20250314174220.1015597-1-barnabas.pocze@ideasonboard.com> X-Mailer: git-send-email 2.48.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" This changeset adds multi-stream tests based on the last two commits of https://patchwork.libcamera.org/project/libcamera/list/?series=4234 One notable difference compared to the last patch of the aforementioned series is that no new test is created, the current tests are kept and are simply run with multiple streams. Changes in v4: * some patches already merged: https://patchwork.libcamera.org/project/libcamera/list/?series=4978&state=3 * simplify by requiring matching buffer count for all streams * drop exception handling related and dependent changes Changes in v3: * propagate exceptions from deferred calls * cancel related deferred calls when capture session is stopped * make `EventLoop` a member of `Capture` * rename `CaptureUnbalanced` to `StopWithRequestsQueued` Changes in v2: * add a couple small `EventLoop` changes * remove https://patchwork.libcamera.org/patch/22442/ * merge `CaptureBalanced` and `CaptureUnbalanced` * run request completion handler in "main" thread v3: https://patchwork.libcamera.org/project/libcamera/list/?series=4978 v2: https://patchwork.libcamera.org/project/libcamera/list/?series=4951 v1: https://patchwork.libcamera.org/project/libcamera/list/?series=4923 Barnabás Pőcze (2): apps: lc-compliance: Support multiple streams in helpers apps: lc-compliance: Add multi-stream tests src/apps/lc-compliance/helpers/capture.cpp | 64 ++++++++++---- src/apps/lc-compliance/helpers/capture.h | 2 +- src/apps/lc-compliance/tests/capture_test.cpp | 88 +++++++++++-------- 3 files changed, 99 insertions(+), 55 deletions(-) --- 2.48.1