From patchwork Wed Jun 22 16:02:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Semkowicz X-Patchwork-Id: 16330 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 10F76BE173 for ; Wed, 22 Jun 2022 16:02:34 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 8E60765635; Wed, 22 Jun 2022 18:02:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1655913753; bh=wcIPANII0vIgf+o1qacq0R//aK90DrOyZUuCo/RNwbQ=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=YM7H09TOZk5yXRSvKEJnMHI5jHvKcdAOorNWmfov4U82/pr0Q2kVNYCpvqRSEywzs t/KqSNWDoctvhlezirffY7wvrZl2qWoMXpMD0i+3rlWYUhy1ePV8nGCWn5ZBWQ/LIW MLswxsCvAA3vk3i07v14BDHg3I9M7MNxhRe+Fx8oZD1N6/yJYtNSS4JuAglXPYgCQb txHm7eM9kepwBiPgtZ0UufYZaaDu5Y2obK3+yo+nbTmm6106l616EMyujwrwNTp/+a v9woAgRIzB1hM77ZvptsNywbTH2BpS6FiDyPytIaphLCcUzPGJ8OQiyX2OneBbQvAo ie8y8X9a6T9uQ== Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id D8C9961FB2 for ; Wed, 22 Jun 2022 18:02:31 +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="aacOs+f5"; dkim-atps=neutral Received: by mail-ej1-x62a.google.com with SMTP id v1so35180387ejg.13 for ; Wed, 22 Jun 2022 09:02:31 -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=jf7lof8atFwqiQaS2LYXPlZqcK4g6b8s6I1jV0vtZAk=; b=aacOs+f5A/Gx2oGHCqZT5OzqefhCTfeVVCBFuDUpH8e4xt51SyVedO3A/Ih5dRtgE/ AmgofQs1CiU5lOFYavr9Gfe3sxTjyfeNtYWS6KEYY3DosMZ8cft7jfa++gJqJId56Va0 AY+rjgMXPOnYZ8l9oLSFT5AFhwb34SwC2NMf4fpNDRz4jRjvblP/st1+GqN6HgqkjFMM d1KW3ow2UvGpAaPv/sg5L8FvDmWNHb3WQIH4Q7CBo+IivXfKtU5E+HYC3o3HVxXdLuwb 0dqvt3TeLcVU3qy9Gvvx9HALXMyLh1MkKgMfMceFl87cGsHrTmjEY+rbcqJBHsgaMUNb yGWw== 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=jf7lof8atFwqiQaS2LYXPlZqcK4g6b8s6I1jV0vtZAk=; b=L6GXL3LOnLrNPcmsPyC1nnhFhzQIv3MEgT8Jqez8qnvVqFY5pV32uxkqa3BzBYFXGl rl6uwPfcO9Nslj/Hx31QY7q8F5KZGwvxdZi3sRECTmSyxNIzBgzqI6hd7TyNRK7Bk1Dz vSMg6iD/dcZZ+DKLxxRrmturP69MqhnqcmYaBkBre1RZYqol4k4i1v1if46arvkh9Nmx FOctEdjvV6fu7qIUOLUDnToQruroGFwNkHiHU8bgLg5nTKfOq08VhFI+zXzBydbFrO6N gGfgkD/dGxUaR8v6u01K0p7f0e7sxQ70O0ehWe6lQWWUWxgw/S2pWA4c4/VdG1ycNqnu s6Mg== X-Gm-Message-State: AJIora9CuZoH7ILFp1uzEaKIRpgiycgc9Rh/n632ZnwfNv6IKcQaX8ef ZuHutWo9yIgLAmE62p63bl7DlcxqPTQW6g== X-Google-Smtp-Source: AGRyM1vJms2xE0+vKpAr8YygO82H/vQytENpE/Xhi+XAWcwiw5c5zWlb2Q9Q0Gd27RnkiZKKPvPnRQ== X-Received: by 2002:a17:906:8d6:b0:723:42c3:657 with SMTP id o22-20020a17090608d600b0072342c30657mr6425eje.657.1655913751472; Wed, 22 Jun 2022 09:02:31 -0700 (PDT) Received: from localhost.localdomain (ip092042140082.rev.nessus.at. [92.42.140.82]) by smtp.gmail.com with ESMTPSA id q3-20020a056402248300b004356894a3f8sm11651350eda.89.2022.06.22.09.02.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jun 2022 09:02:31 -0700 (PDT) To: libcamera-devel@lists.libcamera.org Date: Wed, 22 Jun 2022 18:02:25 +0200 Message-Id: <20220622160226.42220-1-dse@thaumatec.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/1] 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" Hi, This change adds the Rectangle type parsing in capture script. This allows usage of controls that use rectangle, for example AfWindows. Example usage in capture script: frames: - 10: AfWindows: - [ 10, 20, 100, 200 ] - [ 500, 500, 100, 100 ] or frames: - 10: AfWindows: [[ 10, 20, 100, 200 ]] Best regards Daniel Semkowicz Daniel Semkowicz (1): cam: Add Rectangle type parsing in capture script src/cam/capture_script.cpp | 104 +++++++++++++++++++++++++++++++++---- src/cam/capture_script.h | 9 +++- 2 files changed, 102 insertions(+), 11 deletions(-)