From patchwork Mon Feb 8 10:21:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Niklas_S=C3=B6derlund?= X-Patchwork-Id: 11186 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 D1672BD160 for ; Mon, 8 Feb 2021 10:22:03 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 5CC2860D17; Mon, 8 Feb 2021 11:22:03 +0100 (CET) Received: from vsp-unauthed02.binero.net (vsp-unauthed02.binero.net [195.74.38.227]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id DAAB060D10 for ; Mon, 8 Feb 2021 11:22:01 +0100 (CET) X-Halon-ID: 7971fc10-69f7-11eb-b73f-0050569116f7 Authorized-sender: niklas.soderlund@fsdn.se Received: from bismarck.berto.se (p4fca2458.dip0.t-ipconnect.de [79.202.36.88]) by bin-vsp-out-03.atm.binero.net (Halon) with ESMTPA id 7971fc10-69f7-11eb-b73f-0050569116f7; Mon, 08 Feb 2021 11:22:00 +0100 (CET) From: =?utf-8?q?Niklas_S=C3=B6derlund?= To: libcamera-devel@lists.libcamera.org Date: Mon, 8 Feb 2021 11:21:35 +0100 Message-Id: <20210208102137.2164282-1-niklas.soderlund@ragnatech.se> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 0/2] lc-compliance: Add a libcamera compliance tool 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" Hello, This series adds a compliance tool to libcamera. It was developed out of necessity while extending and debugging the IPU3 pipeline hander. Each test in the tool so far have at one point triggered fatal issues in one pipeline or another. All known issues are however either fixed or have patches on ML to address them. The tool is simple at the moment and only tests a single stream. As our use-cases grow more complex I hope to find time to extend the tool to cover more areas. Niklas Söderlund (2): lc-compliance: Add a libcamera compliance tool lc-compliance: Add test stopping single stream with requests queued src/lc-compliance/main.cpp | 139 ++++++++++++++++++ src/lc-compliance/meson.build | 25 ++++ src/lc-compliance/results.cpp | 75 ++++++++++ src/lc-compliance/results.h | 45 ++++++ src/lc-compliance/simple_capture.cpp | 208 +++++++++++++++++++++++++++ src/lc-compliance/simple_capture.h | 68 +++++++++ src/lc-compliance/single_stream.cpp | 98 +++++++++++++ src/lc-compliance/tests.h | 16 +++ src/meson.build | 2 + 9 files changed, 676 insertions(+) create mode 100644 src/lc-compliance/main.cpp create mode 100644 src/lc-compliance/meson.build create mode 100644 src/lc-compliance/results.cpp create mode 100644 src/lc-compliance/results.h create mode 100644 src/lc-compliance/simple_capture.cpp create mode 100644 src/lc-compliance/simple_capture.h create mode 100644 src/lc-compliance/single_stream.cpp create mode 100644 src/lc-compliance/tests.h