Patch Detail
Show a patch.
GET /api/1.1/patches/19309/?format=api
{ "id": 19309, "url": "https://patchwork.libcamera.org/api/1.1/patches/19309/?format=api", "web_url": "https://patchwork.libcamera.org/patch/19309/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/1.1/projects/1/?format=api", "name": "libcamera", "link_name": "libcamera", "list_id": "libcamera_core", "list_email": "libcamera-devel@lists.libcamera.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20231212115046.102726-5-andrey.konovalov@linaro.org>", "date": "2023-12-12T11:50:43", "name": "[libcamera-devel,RFC,v2,4/7] libcamera: ipa: Soft IPA: add a Soft IPA implementation", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "75ac9cefde531df1a06300c40f3657545c5f48e4", "submitter": { "id": 25, "url": "https://patchwork.libcamera.org/api/1.1/people/25/?format=api", "name": "Andrey Konovalov", "email": "andrey.konovalov@linaro.org" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/19309/mbox/", "series": [ { "id": 4114, "url": "https://patchwork.libcamera.org/api/1.1/series/4114/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=4114", "date": "2023-12-12T11:50:39", "name": "libcamera: introduce Software ISP and Software IPA", "version": 2, "mbox": "https://patchwork.libcamera.org/series/4114/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/19309/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/19309/checks/", "tags": {}, "headers": { "Return-Path": "<libcamera-devel-bounces@lists.libcamera.org>", "X-Original-To": "parsemail@patchwork.libcamera.org", "Delivered-To": "parsemail@patchwork.libcamera.org", "Received": [ "from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id F37FABD87C\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 12 Dec 2023 11:51:27 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 8204262B40;\n\tTue, 12 Dec 2023 12:51:27 +0100 (CET)", "from mail-ej1-x629.google.com (mail-ej1-x629.google.com\n\t[IPv6:2a00:1450:4864:20::629])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id CFA5762B40\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 12 Dec 2023 12:51:24 +0100 (CET)", "by mail-ej1-x629.google.com with SMTP id\n\ta640c23a62f3a-a1f6433bc1eso851525966b.1\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 12 Dec 2023 03:51:24 -0800 (PST)", "from Lat-5310.. ([87.116.161.153]) by smtp.gmail.com with ESMTPSA\n\tid\n\ttx17-20020a1709078e9100b00a1b75e0e061sm6213188ejc.130.2023.12.12.03.51.23\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tTue, 12 Dec 2023 03:51:24 -0800 (PST)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1702381887;\n\tbh=9k6HitU/ugcAxc68F/Fkbvwoe/i4WopB9FGBeglF/sA=;\n\th=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:\n\tFrom;\n\tb=MEho6vq2tFmjPHjYF9BBwBFdsFbUL4xmNuW6F0n3MDrDYJGNdR9rz/Oe9ZTrfTe16\n\tq5mU6q5+kwZSEsV/MROwGMwQwpkknX4JzSp1mWIbRNEficviFxII9cC20YvQ8+5kDr\n\tXXsibXpxFTQy6sOEjPKu6wIQDludL78h+Muyc3GsP6nonEKv84tnBR+AZom2PtODXS\n\tIDD/EAsAGwAJqebbgV5Eg4V/ZCkIQtslLyWWCTlD18c0UjtlDhnqZktgKzLatV69pL\n\tZZDdXRJeFD8biR3l7XO9SNHDphfIm6NN5AGuOjtKrRNwOU2a4GdEcciTJIMWLzWgWR\n\tGcys3i79E8fXw==", "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=linaro.org; s=google; t=1702381884; x=1702986684;\n\tdarn=lists.libcamera.org; \n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:from:to:cc:subject:date\n\t:message-id:reply-to;\n\tbh=d7Yka9JlQsGu3JwP/jcS1RWJP5f9p2Jdc7n6scdb/kI=;\n\tb=m//Yj3SlmWYGBj4L5iIkqkbiGnS93M+C7dn8QcKZ00l2EQqCm0Mg4Zem0AgB/FVOsw\n\tuQ3PHwUXW5xZVFWurNKyM1MKmIUyubRFSKTouQV7GMN4AWsdYNR/adsfHJPfrkeMf8La\n\tbZ/3wY2hVonSgpGw3sFut2DkqzsJ6ivgoEyLRENvJdozjoM4pETPimPMaymj3bPGVUoY\n\tprPCgP5XFPDB1gHs5jz2SPMKMZIeMatWsAoI4bVyXRN3/ABbE3hkf3/BaI4zD34RD3Ix\n\tlluqE661Vw10EbRqrnbtc7d9H0XObdL92689CQzftWYwtctx4tG+P6ReMvwDsvaQRaiC\n\tsBqg==" ], "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected) header.d=linaro.org\n\theader.i=@linaro.org header.b=\"m//Yj3Sl\"; \n\tdkim-atps=neutral", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1702381884; x=1702986684;\n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n\t:subject:date:message-id:reply-to;\n\tbh=d7Yka9JlQsGu3JwP/jcS1RWJP5f9p2Jdc7n6scdb/kI=;\n\tb=GqwllAh/Pc6DqihSnZuMlo/xp5yA03ckW91aVaaIgKiG0FqKQqTIjM9Z2pzXU3budQ\n\tNIwsuxDscZsNpTv0WwLHshv1RnxvaIQTqtF1Bx++2qpozCfsMYkiBhDc8RXcNML2H1Dk\n\tcNxc2zvo/rtGup/odD4YGmwgUaKZfDBYhNOc6exUeBECXlaJs0fVSiB0B7uxsZZH9gVc\n\tAGUfCTQzmJoU5rDt3hNNg0X359oYsXoXjwCUIrpe47/bhzWicsyiIiE6gDLjoYl/0iqU\n\tG3r0fPfxfvBBqyDNLxC/9mhrjEVnSrixla9P5hLEQFrfAhM8khDIjIwVe+b6csZIyoHR\n\tSxow==", "X-Gm-Message-State": "AOJu0YysYQLXKNN0vOOaSAbhK5XB0FBVzig14KKwY4G/ZkpPa/rfcWOp\n\tGqangkirLg7NKVFG48lEseXwiqdltJhCSpkgi0Y=", "X-Google-Smtp-Source": "AGHT+IFDjZPYk8VuCtB4QIYn01OAcicXWkIJFrlySRAY/9ZSujzhwa5TEzDfVM3OSMUvKIUeQFYFLQ==", "X-Received": "by 2002:a17:906:3f12:b0:a1f:7065:1efc with SMTP id\n\tc18-20020a1709063f1200b00a1f70651efcmr5043134ejj.5.1702381884452; \n\tTue, 12 Dec 2023 03:51:24 -0800 (PST)", "To": "libcamera-devel@lists.libcamera.org", "Date": "Tue, 12 Dec 2023 14:50:43 +0300", "Message-Id": "<20231212115046.102726-5-andrey.konovalov@linaro.org>", "X-Mailer": "git-send-email 2.34.1", "In-Reply-To": "<20231212115046.102726-1-andrey.konovalov@linaro.org>", "References": "<20231212115046.102726-1-andrey.konovalov@linaro.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [RFC PATCH v2 4/7] libcamera: ipa: Soft IPA: add\n\ta Soft IPA implementation", "X-BeenThere": "libcamera-devel@lists.libcamera.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "<libcamera-devel.lists.libcamera.org>", "List-Unsubscribe": "<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>", "List-Archive": "<https://lists.libcamera.org/pipermail/libcamera-devel/>", "List-Post": "<mailto:libcamera-devel@lists.libcamera.org>", "List-Help": "<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>", "List-Subscribe": "<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>", "From": "Andrey Konovalov via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>", "Reply-To": "Andrey Konovalov <andrey.konovalov@linaro.org>", "Cc": "mripard@redhat.com, g.martti@gmail.com, t.langendam@gmail.com,\n\tsrinivas.kandagatla@linaro.org, pavel@ucw.cz,\n\tbryan.odonoghue@linaro.org, admin@dennisbonke.com", "Errors-To": "libcamera-devel-bounces@lists.libcamera.org", "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>" }, "content": "Signed-off-by: Andrey Konovalov <andrey.konovalov@linaro.org>\n---\n .../internal/software_isp/meson.build | 5 +\n .../internal/software_isp/statistics-linaro.h | 17 ++\n meson_options.txt | 3 +-\n src/ipa/simple/linaro/data/meson.build | 9 +\n src/ipa/simple/linaro/data/soft.conf | 3 +\n src/ipa/simple/linaro/meson.build | 26 +++\n src/ipa/simple/linaro/soft_linaro.cpp | 210 ++++++++++++++++++\n src/ipa/simple/meson.build | 9 +\n 8 files changed, 281 insertions(+), 1 deletion(-)\n create mode 100644 include/libcamera/internal/software_isp/meson.build\n create mode 100644 include/libcamera/internal/software_isp/statistics-linaro.h\n create mode 100644 src/ipa/simple/linaro/data/meson.build\n create mode 100644 src/ipa/simple/linaro/data/soft.conf\n create mode 100644 src/ipa/simple/linaro/meson.build\n create mode 100644 src/ipa/simple/linaro/soft_linaro.cpp", "diff": "diff --git a/include/libcamera/internal/software_isp/meson.build b/include/libcamera/internal/software_isp/meson.build\nnew file mode 100644\nindex 00000000..a24fe7df\n--- /dev/null\n+++ b/include/libcamera/internal/software_isp/meson.build\n@@ -0,0 +1,5 @@\n+# SPDX-License-Identifier: CC0-1.0\n+\n+libcamera_internal_headers += files([\n+ 'statistics-linaro.h',\n+])\ndiff --git a/include/libcamera/internal/software_isp/statistics-linaro.h b/include/libcamera/internal/software_isp/statistics-linaro.h\nnew file mode 100644\nindex 00000000..20c64e44\n--- /dev/null\n+++ b/include/libcamera/internal/software_isp/statistics-linaro.h\n@@ -0,0 +1,17 @@\n+/* SPDX-License-Identifier: LGPL-2.1-or-later */\n+/*\n+ * Copyright (C) 2023, Linaro Ltd\n+ *\n+ * statistics.h - Statistics data format used by the software ISP\n+ */\n+\n+#pragma once\n+\n+namespace libcamera {\n+\n+struct SwIspStats {\n+\tfloat bright_ratio;\n+\tfloat too_bright_ratio;\n+};\n+\n+} /* namespace libcamera */\ndiff --git a/meson_options.txt b/meson_options.txt\nindex 5fdc7be8..49939421 100644\n--- a/meson_options.txt\n+++ b/meson_options.txt\n@@ -27,7 +27,7 @@ option('gstreamer',\n \n option('ipas',\n type : 'array',\n- choices : ['ipu3', 'rkisp1', 'rpi/vc4', 'vimc'],\n+ choices : ['ipu3', 'rkisp1', 'rpi/vc4', 'simple/linaro', 'vimc'],\n description : 'Select which IPA modules to build')\n \n option('lc-compliance',\n@@ -46,6 +46,7 @@ option('pipelines',\n 'rkisp1',\n 'rpi/vc4',\n 'simple',\n+ 'simple/linaro',\n 'uvcvideo',\n 'vimc'\n ],\ndiff --git a/src/ipa/simple/linaro/data/meson.build b/src/ipa/simple/linaro/data/meson.build\nnew file mode 100644\nindex 00000000..33548cc6\n--- /dev/null\n+++ b/src/ipa/simple/linaro/data/meson.build\n@@ -0,0 +1,9 @@\n+# SPDX-License-Identifier: CC0-1.0\n+\n+conf_files = files([\n+ 'soft.conf',\n+])\n+\n+install_data(conf_files,\n+ install_dir : ipa_data_dir / 'soft',\n+ install_tag : 'runtime')\ndiff --git a/src/ipa/simple/linaro/data/soft.conf b/src/ipa/simple/linaro/data/soft.conf\nnew file mode 100644\nindex 00000000..0c70e7c0\n--- /dev/null\n+++ b/src/ipa/simple/linaro/data/soft.conf\n@@ -0,0 +1,3 @@\n+# SPDX-License-Identifier: LGPL-2.1-or-later\n+#\n+# Dummy configuration file for the soft IPA.\ndiff --git a/src/ipa/simple/linaro/meson.build b/src/ipa/simple/linaro/meson.build\nnew file mode 100644\nindex 00000000..97bf5d6f\n--- /dev/null\n+++ b/src/ipa/simple/linaro/meson.build\n@@ -0,0 +1,26 @@\n+# SPDX-License-Identifier: CC0-1.0\n+\n+ipa_name = 'ipa_soft_linaro'\n+\n+mod = shared_module(ipa_name,\n+ ['soft_linaro.cpp', libcamera_generated_ipa_headers],\n+ name_prefix : '',\n+ include_directories : [ipa_includes, libipa_includes, '..'],\n+ dependencies : libcamera_private,\n+ link_with : libipa,\n+ link_whole : soft_ipa_common_lib,\n+ install : true,\n+ install_dir : ipa_install_dir)\n+\n+if ipa_sign_module\n+ custom_target(ipa_name + '.so.sign',\n+ input : mod,\n+ output : ipa_name + '.so.sign',\n+ command : [ipa_sign, ipa_priv_key, '@INPUT@', '@OUTPUT@'],\n+ install : false,\n+ build_by_default : true)\n+endif\n+\n+subdir('data')\n+\n+ipa_names += ipa_name\ndiff --git a/src/ipa/simple/linaro/soft_linaro.cpp b/src/ipa/simple/linaro/soft_linaro.cpp\nnew file mode 100644\nindex 00000000..0b2e83bf\n--- /dev/null\n+++ b/src/ipa/simple/linaro/soft_linaro.cpp\n@@ -0,0 +1,210 @@\n+/* SPDX-License-Identifier: LGPL-2.1-or-later */\n+/*\n+ * Copyright (C) 2023, Linaro Ltd\n+ *\n+ * soft.cpp - Software Image Processing Algorithm module\n+ */\n+\n+#include <sys/mman.h>\n+\n+#include <libcamera/base/file.h>\n+#include <libcamera/base/log.h>\n+\n+#include <libcamera/control_ids.h>\n+\n+#include <libcamera/ipa/ipa_interface.h>\n+#include <libcamera/ipa/ipa_module_info.h>\n+\n+#include \"libcamera/internal/camera_sensor.h\"\n+#include \"libcamera/internal/software_isp/statistics-linaro.h\"\n+\n+#include \"common/soft_base.h\"\n+\n+namespace libcamera {\n+\n+LOG_DECLARE_CATEGORY(IPASoft)\n+\n+namespace ipa::soft {\n+\n+class IPASoftLinaro final : public IPASoftBase\n+{\n+public:\n+\tIPASoftLinaro()\n+\t\t: IPASoftBase(), ignore_updates_(0)\n+\t{\n+\t}\n+\n+\t~IPASoftLinaro()\n+\t{\n+\t\tif (stats_)\n+\t\t\tmunmap(stats_, sizeof(SwIspStats));\n+\t}\n+\n+\tint platformInit(const ControlInfoMap &sensorInfoMap) override;\n+\tint platformConfigure(const ControlInfoMap &sensorInfoMap) override;\n+\tint platformStart() override;\n+\tvoid platformStop() override;\n+\tvoid platformProcessStats(const ControlList &sensorControls) override;\n+\n+private:\n+\tvoid update_exposure(double ev_adjustment);\n+\n+\tSwIspStats *stats_;\n+\tint exposure_min_, exposure_max_;\n+\tint again_min_, again_max_;\n+\tint again_, exposure_;\n+\tint ignore_updates_;\n+};\n+\n+int IPASoftLinaro::platformInit(const ControlInfoMap &sensorInfoMap)\n+{\n+\tstats_ = static_cast<SwIspStats *>(mmap(nullptr, sizeof(SwIspStats),\n+\t\t\t\t\t\tPROT_READ | PROT_WRITE, MAP_SHARED,\n+\t\t\t\t\t\tfdStats_.get(), 0));\n+\tif (!stats_) {\n+\t\tLOG(IPASoft, Error) << \"Unable to map Statistics\";\n+\t\treturn -ENODEV;\n+\t}\n+\n+\tif (sensorInfoMap.find(V4L2_CID_EXPOSURE) == sensorInfoMap.end()) {\n+\t\tLOG(IPASoft, Error) << \"Don't have exposure control\";\n+\t\treturn -EINVAL;\n+\t}\n+\n+\tif (sensorInfoMap.find(V4L2_CID_ANALOGUE_GAIN) == sensorInfoMap.end()) {\n+\t\tLOG(IPASoft, Error) << \"Don't have gain control\";\n+\t\treturn -EINVAL;\n+\t}\n+\n+\treturn 0;\n+}\n+\n+int IPASoftLinaro::platformConfigure(const ControlInfoMap &sensorInfoMap)\n+{\n+\tconst ControlInfo &exposure_info = sensorInfoMap.find(V4L2_CID_EXPOSURE)->second;\n+\tconst ControlInfo &gain_info = sensorInfoMap.find(V4L2_CID_ANALOGUE_GAIN)->second;\n+\n+\texposure_min_ = exposure_info.min().get<int>();\n+\tif (!exposure_min_) {\n+\t\tLOG(IPASoft, Warning) << \"Minimum exposure is zero, that can't be linear\";\n+\t\texposure_min_ = 1;\n+\t}\n+\texposure_max_ = exposure_info.max().get<int>();\n+\tagain_min_ = gain_info.min().get<int>();\n+\tif (!again_min_) {\n+\t\tLOG(IPASoft, Warning) << \"Minimum gain is zero, that can't be linear\";\n+\t\tagain_min_ = 100;\n+\t}\n+\tagain_max_ = gain_info.max().get<int>();\n+\n+\tLOG(IPASoft, Info) << \"Exposure \" << exposure_min_ << \"-\" << exposure_max_\n+\t\t\t << \", gain \" << again_min_ << \"-\" << again_max_;\n+\n+\treturn 0;\n+}\n+\n+int IPASoftLinaro::platformStart()\n+{\n+\treturn 0;\n+}\n+\n+void IPASoftLinaro::platformStop()\n+{\n+}\n+\n+void IPASoftLinaro::platformProcessStats(const ControlList &sensorControls)\n+{\n+\tdouble ev_adjustment = 0.0;\n+\tControlList ctrls(sensorControls);\n+\n+\t/*\n+\t * Use 2 frames delay to make sure that the exposure and the gain set\n+\t * have applied to the camera sensor\n+\t */\n+\tif (ignore_updates_ > 0) {\n+\t\tLOG(IPASoft, Debug) << \"Skipping exposure update: \"\n+\t\t\t\t << ignore_updates_;\n+\t\t--ignore_updates_;\n+\t\treturn;\n+\t}\n+\n+\tif (stats_->bright_ratio < 0.01)\n+\t\tev_adjustment = 1.1;\n+\tif (stats_->too_bright_ratio > 0.04)\n+\t\tev_adjustment = 0.9;\n+\n+\tif (ev_adjustment != 0.0) {\n+\t\t/* sanity check */\n+\t\tif (!sensorControls.contains(V4L2_CID_EXPOSURE) ||\n+\t\t !sensorControls.contains(V4L2_CID_ANALOGUE_GAIN)) {\n+\t\t\tLOG(IPASoft, Error) << \"Control(s) missing\";\n+\t\t\treturn;\n+\t\t}\n+\n+\t\texposure_ = ctrls.get(V4L2_CID_EXPOSURE).get<int>();\n+\t\tagain_ = ctrls.get(V4L2_CID_ANALOGUE_GAIN).get<int>();\n+\n+\t\tupdate_exposure(ev_adjustment);\n+\n+\t\tctrls.set(V4L2_CID_EXPOSURE, exposure_);\n+\t\tctrls.set(V4L2_CID_ANALOGUE_GAIN, again_);\n+\n+\t\tignore_updates_ = 2;\n+\n+\t\tsetSensorControls.emit(ctrls);\n+\t}\n+}\n+\n+void IPASoftLinaro::update_exposure(double ev_adjustment)\n+{\n+\tdouble exp = (double)exposure_;\n+\tdouble gain = (double)again_;\n+\tdouble ev = ev_adjustment * exp * gain;\n+\n+\t/*\n+\t * Try to use the minimal possible analogue gain.\n+\t * The exposure can be any value from exposure_min_ to exposure_max_,\n+\t * and normally this should keep the frame rate intact.\n+\t */\n+\n+\texp = ev / again_min_;\n+\tif (exp > exposure_max_)\n+\t\texposure_ = exposure_max_;\n+\telse if (exp < exposure_min_)\n+\t\texposure_ = exposure_min_;\n+\telse\n+\t\texposure_ = (int)exp;\n+\n+\tgain = ev / exposure_;\n+\tif (gain > again_max_)\n+\t\tagain_ = again_max_;\n+\telse if (gain < again_min_)\n+\t\tagain_ = again_min_;\n+\telse\n+\t\tagain_ = (int)gain;\n+\n+\tLOG(IPASoft, Debug) << \"Desired EV = \" << ev\n+\t\t\t << \", real EV = \" << (double)again_ * exposure_;\n+}\n+\n+} /* namespace ipa::soft */\n+\n+/*\n+ * External IPA module interface\n+ */\n+extern \"C\" {\n+const struct IPAModuleInfo ipaModuleInfo = {\n+\tIPA_MODULE_API_VERSION,\n+\t0,\n+\t\"SimplePipelineHandler\",\n+\t\"soft/linaro\",\n+};\n+\n+IPAInterface *ipaCreate()\n+{\n+\treturn new ipa::soft::IPASoftLinaro();\n+}\n+\n+} /* extern \"C\" */\n+\n+} /* namespace libcamera */\ndiff --git a/src/ipa/simple/meson.build b/src/ipa/simple/meson.build\nindex 9688bbdb..14be5dc2 100644\n--- a/src/ipa/simple/meson.build\n+++ b/src/ipa/simple/meson.build\n@@ -1,3 +1,12 @@\n # SPDX-License-Identifier: CC0-1.0\n \n subdir('common')\n+\n+foreach pipeline : pipelines\n+ pipeline = pipeline.split('/')\n+ if pipeline.length() < 2 or pipeline[0] != 'simple'\n+ continue\n+ endif\n+\n+ subdir(pipeline[1])\n+endforeach\n", "prefixes": [ "libcamera-devel", "RFC", "v2", "4/7" ] }