From patchwork Fri Feb 3 09:44:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 18245 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 62BF8C323E for ; Fri, 3 Feb 2023 09:44:29 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id C3FFD625DD; Fri, 3 Feb 2023 10:44:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1675417468; bh=2g7vgaW4LSM3pz/Vurntbf6YncOQM3mGKU7sV5beY7s=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=vZ+k5g+fdxeyFyvaYJVs1f5pQLqsvylLv72pBaQTXO9HmFgx9MedaJeHP688Opbf4 cIxM0b85R6RkqRwWCQ4uD43aMUv5hzMCF+uXSOKjpkhSYkn3MS7TdWhd6q66s6YxlU WFw3lxIgVJkl2gic8WtvMaUMFTS63BLh97DDXuo1Q947w5HVobxII/ErC5wtoVhJrX sQyn/G3bdb/kI4MKBXkgxp/eXIINzkUc2LHCY2xSnrOfgaWogKBvH4VJJbkD0kzd/i Tso0p86MvwVYRvmxngeshA0XDWxqB6Woh4RAONaDZENux9/pR8ZsCH6la5KB2D4TAW jIjNefdEKpQkg== Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id CBDA061EF4 for ; Fri, 3 Feb 2023 10:44:27 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="Efc3b1ZC"; dkim-atps=neutral Received: by mail-wr1-x42b.google.com with SMTP id r27so285027wrr.1 for ; Fri, 03 Feb 2023 01:44:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=8yL3Y54LzAIL8MhHrY8qeClfGHeca2OgFBrPte6jYFA=; b=Efc3b1ZCY13IaVIMuRDtKpruRF12IxZ/UZoEx+QPYSYyaLWecThE4QvKeytQYDuxVz GUXHObQD6J4s+BX5OVEbKeDM7MG7sagFTReOQnMU5ejr+mTggNKh04lV7iHnE3oXUR8N kHjchU84wkR6wXsTgdYmg/nf3SqLAv9ulRhjeBDoqrglPk3BIq76iEkD/YCh5fqVnvWL IdWgdDDM9s8lgVHJv34i5mR7AjnJOeW8NJqllf8vKOoMn7ymeaum3/nOK0w8VCGe5o9m q22RIckXL0AHxc7eyVsmF+dLEdoShuTEIYC4YWZYrdL9I64msIszsTG4njn9PYmAGWSn rKqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8yL3Y54LzAIL8MhHrY8qeClfGHeca2OgFBrPte6jYFA=; b=W37AMUnhEbRDWo//xUHmQSge9HsXPMPKK59vEGZFVEV2/CbZ0cnidz2HvuvYCKkwdK 2Y1uVuuyJl8uhjautN+yq38fmIMmsc/Mg49n+M06o9sQZWm+p6X51CnxAQAwYlp9cZRv 8CkJt8V6+APr9C8N5Xc7L/15USTgPgMi4ytywYD93CsNZETe8gydYbVdvrIcgRg8YeyK rQnk+m0su7bmdOQrKsr2J+bdIsxewySQpqCbVcWJzjTvuuO3e4eJQwNcHhc3DAlqrWlg 1z7QcDfVNXu5oXvSdULSj8C84pKkqIKZ+rnjO+4cGtSF0HiTXZz0gQ5p+mFLjEBT+F9S Lr7A== X-Gm-Message-State: AO0yUKXq2CLUtWAopAkGPIbhS3nmkoWd+ypyUh140agULWSj2/iAjgGU ufVUIo4+8duqFvyaVADPq4sSJjDKMEr4XVBg7lKqQA== X-Google-Smtp-Source: AK7set+83BFFYdyysDGYG1mEUJ/bCJDKdSIdjfK61OhuVolH+LNX1eWsaNFGnmmjm/1g3lFZdYG9PA== X-Received: by 2002:a5d:6b03:0:b0:2bf:ae3f:640b with SMTP id v3-20020a5d6b03000000b002bfae3f640bmr7613029wrw.70.1675417467211; Fri, 03 Feb 2023 01:44:27 -0800 (PST) Received: from localhost.localdomain ([93.93.133.154]) by smtp.gmail.com with ESMTPSA id f17-20020a5d50d1000000b002bfe266d710sm1562503wrt.90.2023.02.03.01.44.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Feb 2023 01:44:26 -0800 (PST) To: libcamera-devel@lists.libcamera.org Date: Fri, 3 Feb 2023 09:44:16 +0000 Message-Id: <20230203094424.25243-1-naush@raspberrypi.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v1 0/8] Stream hints 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: , X-Patchwork-Original-From: Naushir Patuck via libcamera-devel From: Naushir Patuck Reply-To: Naushir Patuck Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Hi, This series is a continuation of the "Raspberry Pi: Platform configuration and buffer allocation improvements" patch set [1]. Some of the patches in that series have already been merged, and this new series collates the un-merged patches for review. There have not been any code changes since the last sumbittion of [1]. Regards, Naush [1] : https://patchwork.libcamera.org/patch/18200/ Naushir Patuck (8): libcamera: stream: Add stream hints to StreamConfiguration pipeline: raspberrypi: Handle MandatoryStream hints for Unicam Image pipeline: raspberrypi: Handle MandatoryStream hints for ISP Output0 libcamera: camera: Validate MandatoryStream in queueRequest() libcamera: apps: lcc: Make rolesMap global libcamera: apps: lcc: Add multi-stream capture test framework libcamera: apps: lcc: Add optional stream tests libcamera: apps: lcc: Add stream hints test include/libcamera/stream.h | 8 + src/apps/lc-compliance/capture_test.cpp | 136 ++++++++- src/apps/lc-compliance/meson.build | 1 + src/apps/lc-compliance/multi_capture.cpp | 288 ++++++++++++++++++ src/apps/lc-compliance/multi_capture.h | 87 ++++++ src/libcamera/camera.cpp | 12 + .../pipeline/raspberrypi/raspberrypi.cpp | 61 +++- src/libcamera/stream.cpp | 25 ++ 8 files changed, 598 insertions(+), 20 deletions(-) create mode 100644 src/apps/lc-compliance/multi_capture.cpp create mode 100644 src/apps/lc-compliance/multi_capture.h