From patchwork Fri Apr 9 15:00: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: 11880 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 6128EBD1F6 for ; Fri, 9 Apr 2021 15:01:02 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id D6101687F5; Fri, 9 Apr 2021 17:01:01 +0200 (CEST) Received: from vsp-unauthed02.binero.net (vsp-unauthed02.binero.net [195.74.38.227]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 611EE687EF for ; Fri, 9 Apr 2021 17:01:00 +0200 (CEST) X-Halon-ID: 62c6b3ba-9944-11eb-b73f-0050569116f7 Authorized-sender: niklas.soderlund@fsdn.se Received: from bismarck.berto.se (p54ac5521.dip0.t-ipconnect.de [84.172.85.33]) by bin-vsp-out-03.atm.binero.net (Halon) with ESMTPA id 62c6b3ba-9944-11eb-b73f-0050569116f7; Fri, 09 Apr 2021 17:00:59 +0200 (CEST) From: =?utf-8?q?Niklas_S=C3=B6derlund?= To: libcamera-devel@lists.libcamera.org Date: Fri, 9 Apr 2021 17:00:35 +0200 Message-Id: <20210409150037.1440033-1-niklas.soderlund@ragnatech.se> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v5 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. 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. The tool also needs to grows a better structure for how to organize tests on file and selection to fit its execution environment. There are also many areas where the internal helpers can be refined. All in all this is an just a starting point that triggers some problems in our library that can be built upon and hopefully help us to avoid repeating the mistakes of our past. Niklas Söderlund (2): lc-compliance: Add a libcamera compliance tool lc-compliance: Add test stopping single stream with requests queued meson.build | 1 + meson_options.txt | 5 + src/lc-compliance/main.cpp | 148 ++++++++++++++++++ src/lc-compliance/meson.build | 27 ++++ src/lc-compliance/results.cpp | 75 ++++++++++ src/lc-compliance/results.h | 47 ++++++ src/lc-compliance/simple_capture.cpp | 214 +++++++++++++++++++++++++++ src/lc-compliance/simple_capture.h | 68 +++++++++ src/lc-compliance/single_stream.cpp | 97 ++++++++++++ src/lc-compliance/tests.h | 16 ++ src/meson.build | 2 + 11 files changed, 700 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 Tested-by: Jean-Michel Hautbois