From patchwork Mon Jun 27 12:28:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Semkowicz X-Patchwork-Id: 16376 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 0CCBABD808 for ; Mon, 27 Jun 2022 12:28:16 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 6F381633A7; Mon, 27 Jun 2022 14:28:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1656332895; bh=59EeeMiGWBEXSd6TybLr7Wnc4yYEGDNWPn5o4IfJMJ0=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=xoi7uvNsJwDqyMs7mZdHYuih67vHJWHylwpoRh6LPO1CzYlMZLcn/+C6f0HOhTs5g ZngG7UDcdzKGj++53iGEelrh50QK1AutVxdU41qWysqDpXhPr7ij4Wz2f0lQQp/P7e +dv56O68l02uC0stDl7lONX9EuIzWXrXvNPMbw/GvOv61hESZjj19v8QAYKMLgOxba Y7cXLDX47q7zfnsM8dRpa4tZ5DWV4fq9msAZdRU0UhK7EtqYDeoBKYscSoKi3KZgAO Xc4kry3rveOl0Elat6PUOv6SaAA8WrkcjykUMQqmwEMOWVi4MewjzkpFo/KLCM8zS4 NNnHr4jikwsrA== Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 78AAC6059B for ; Mon, 27 Jun 2022 14:28:13 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=thaumatec-com.20210112.gappssmtp.com header.i=@thaumatec-com.20210112.gappssmtp.com header.b="gRKDVtgH"; dkim-atps=neutral Received: by mail-wr1-x42c.google.com with SMTP id k22so12828994wrd.6 for ; Mon, 27 Jun 2022 05:28:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thaumatec-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=yB9q2v8+frBv64KUH2rOWbNuQmrP6aKTbUKnt+SpatA=; b=gRKDVtgHFZdvGCpcZA6nO/7+EkWSeDtPSZq1jkLaB+3bmBwev7/bUV1Hz8VYT622Ck 9bH0fMB2qc9ZfQ1dpxG+0OfmA5/ObyPUaz1XLlGlHECiKVGtetHqwYx3M4U8EV+1Vx+Y UvBXgCOYbmYXgjQLfcD3cpH2l26uN4+K2OuXmmBJk9hqHb3UH/6Vinlq282XWaOco+Yb V5PkSbWpZvxCVtW3B4QBsiPpSZ/XGpaM/3kPxXgdYPqjdiduyNRUTgKKgJzGlKNByEbF //tw1ROAIex30sT/P/QP3IH1sKMMxqbltn2HiH/GugQUJSmS17z2yBYzDFejrznaN+5I FnxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=yB9q2v8+frBv64KUH2rOWbNuQmrP6aKTbUKnt+SpatA=; b=kBoJKpsxraLdmgfgCt67aEJS0uob0iUIWxoGbEg6fB6kauGkCbCHAL95RSuqZnXAsC loSCWUz11BmJjZJ6kInPfvrax3cGpqJ/Q72mFub/DrXBH9dCYYwM6gFyRuFs8DIE/xWA bxPOxXLke9gzcKVYeg+7aycn7oJKm8ixDZUISUp3fP4WxP66ue5hxXBk2OqUuWONTdJY sbIA8PD/Q6rKPe+yULtbKP3vVWg4oPqqh+Dk8eKyPf35cnTT0TngExSnGkDK1NnhTlAb xFdruEpdNHULXneFY4n/oQaBpkzBEUw6GvY4XTVbdC6zGNpMEYeQ84jkds1RQk7M6I5H XlTQ== X-Gm-Message-State: AJIora8kSm8QNsJS0lvhm+8lQK8BTT3cDAZmclk+uY7DXW7nm9m7gPK1 Xomrr8vMOsXeNk+t+fOmxK4sKkvzb5ZoTQ== X-Google-Smtp-Source: AGRyM1uet3uzLXDqXH4f+jnI9d1E8L4oiW+2Z75mZMVCstSV/LcCr7C+0oxtCN+zDL3aYOawQY6Q3w== X-Received: by 2002:adf:e4c9:0:b0:21b:9336:16b9 with SMTP id v9-20020adfe4c9000000b0021b933616b9mr12358617wrm.696.1656332893144; Mon, 27 Jun 2022 05:28:13 -0700 (PDT) Received: from localhost.localdomain (ip092042140082.rev.nessus.at. [92.42.140.82]) by smtp.gmail.com with ESMTPSA id m18-20020a05600c4f5200b0039748be12dbsm17836401wmq.47.2022.06.27.05.28.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jun 2022 05:28:12 -0700 (PDT) To: libcamera-devel@lists.libcamera.org Date: Mon, 27 Jun 2022 14:28:04 +0200 Message-Id: <20220627122806.29586-1-dse@thaumatec.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v3 0/2] cam: Add Rectangle type parsing in capture script 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: Daniel Semkowicz via libcamera-devel From: Daniel Semkowicz Reply-To: Daniel Semkowicz Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Changes vs v3: - Add parsing of single array - Fix missing dots in comments Best regards Daniel Daniel Semkowicz (2): cam: Add Rectangle type parsing in capture script cam: capture_script: Check parseFrames() return value for errors src/cam/capture_script.cpp | 149 ++++++++++++++++++++++++++++++++++--- src/cam/capture_script.h | 7 +- 2 files changed, 142 insertions(+), 14 deletions(-)