From patchwork Wed Mar 10 15:44:12 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: 11542 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 18BE0BD80C for ; Wed, 10 Mar 2021 15:44:26 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 7AFD268A9F; Wed, 10 Mar 2021 16:44:25 +0100 (CET) Received: from bin-mail-out-06.binero.net (bin-mail-out-06.binero.net [195.74.38.229]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 0322260106 for ; Wed, 10 Mar 2021 16:44:23 +0100 (CET) X-Halon-ID: 7a5cf4a7-81b7-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 7a5cf4a7-81b7-11eb-b73f-0050569116f7; Wed, 10 Mar 2021 16:44:22 +0100 (CET) From: =?utf-8?q?Niklas_S=C3=B6derlund?= To: libcamera-devel@lists.libcamera.org Date: Wed, 10 Mar 2021 16:44:12 +0100 Message-Id: <20210310154414.3560115-1-niklas.soderlund@ragnatech.se> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v3 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 | 212 +++++++++++++++++++++++++++ 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, 680 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 Acked-by: Kieran Bingham Tested-by: Kieran Bingham