{"id":16330,"url":"https://patchwork.libcamera.org/api/covers/16330/?format=json","web_url":"https://patchwork.libcamera.org/cover/16330/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20220622160226.42220-1-dse@thaumatec.com>","date":"2022-06-22T16:02:25","name":"[libcamera-devel,0/1] cam: Add Rectangle type parsing in capture script","submitter":{"id":126,"url":"https://patchwork.libcamera.org/api/people/126/?format=json","name":"Daniel Semkowicz","email":"dse@thaumatec.com"},"mbox":"https://patchwork.libcamera.org/cover/16330/mbox/","series":[{"id":3209,"url":"https://patchwork.libcamera.org/api/series/3209/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3209","date":"2022-06-22T16:02:25","name":"cam: Add Rectangle type parsing in capture script","version":1,"mbox":"https://patchwork.libcamera.org/series/3209/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/16330/comments/","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 10F76BE173\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 22 Jun 2022 16:02:34 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 8E60765635;\n\tWed, 22 Jun 2022 18:02:33 +0200 (CEST)","from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com\n\t[IPv6:2a00:1450:4864:20::62a])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id D8C9961FB2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 22 Jun 2022 18:02:31 +0200 (CEST)","by mail-ej1-x62a.google.com with SMTP id v1so35180387ejg.13\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 22 Jun 2022 09:02:31 -0700 (PDT)","from localhost.localdomain (ip092042140082.rev.nessus.at.\n\t[92.42.140.82]) by smtp.gmail.com with ESMTPSA id\n\tq3-20020a056402248300b004356894a3f8sm11651350eda.89.2022.06.22.09.02.30\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tWed, 22 Jun 2022 09:02:31 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1655913753;\n\tbh=wcIPANII0vIgf+o1qacq0R//aK90DrOyZUuCo/RNwbQ=;\n\th=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:\n\tList-Help:List-Subscribe:From:Reply-To:From;\n\tb=YM7H09TOZk5yXRSvKEJnMHI5jHvKcdAOorNWmfov4U82/pr0Q2kVNYCpvqRSEywzs\n\tt/KqSNWDoctvhlezirffY7wvrZl2qWoMXpMD0i+3rlWYUhy1ePV8nGCWn5ZBWQ/LIW\n\tMLswxsCvAA3vk3i07v14BDHg3I9M7MNxhRe+Fx8oZD1N6/yJYtNSS4JuAglXPYgCQb\n\ttxHm7eM9kepwBiPgtZ0UufYZaaDu5Y2obK3+yo+nbTmm6106l616EMyujwrwNTp/+a\n\tv9woAgRIzB1hM77ZvptsNywbTH2BpS6FiDyPytIaphLCcUzPGJ8OQiyX2OneBbQvAo\n\tie8y8X9a6T9uQ==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=thaumatec-com.20210112.gappssmtp.com; s=20210112;\n\th=from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=jf7lof8atFwqiQaS2LYXPlZqcK4g6b8s6I1jV0vtZAk=;\n\tb=aacOs+f5A/Gx2oGHCqZT5OzqefhCTfeVVCBFuDUpH8e4xt51SyVedO3A/Ih5dRtgE/\n\tAmgofQs1CiU5lOFYavr9Gfe3sxTjyfeNtYWS6KEYY3DosMZ8cft7jfa++gJqJId56Va0\n\tAY+rjgMXPOnYZ8l9oLSFT5AFhwb34SwC2NMf4fpNDRz4jRjvblP/st1+GqN6HgqkjFMM\n\td1KW3ow2UvGpAaPv/sg5L8FvDmWNHb3WQIH4Q7CBo+IivXfKtU5E+HYC3o3HVxXdLuwb\n\t0dqvt3TeLcVU3qy9Gvvx9HALXMyLh1MkKgMfMceFl87cGsHrTmjEY+rbcqJBHsgaMUNb\n\tyGWw=="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected)\n\theader.d=thaumatec-com.20210112.gappssmtp.com\n\theader.i=@thaumatec-com.20210112.gappssmtp.com header.b=\"aacOs+f5\"; \n\tdkim-atps=neutral","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20210112;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=jf7lof8atFwqiQaS2LYXPlZqcK4g6b8s6I1jV0vtZAk=;\n\tb=L6GXL3LOnLrNPcmsPyC1nnhFhzQIv3MEgT8Jqez8qnvVqFY5pV32uxkqa3BzBYFXGl\n\trl6uwPfcO9Nslj/Hx31QY7q8F5KZGwvxdZi3sRECTmSyxNIzBgzqI6hd7TyNRK7Bk1Dz\n\tvSMg6iD/dcZZ+DKLxxRrmturP69MqhnqcmYaBkBre1RZYqol4k4i1v1if46arvkh9Nmx\n\tFOctEdjvV6fu7qIUOLUDnToQruroGFwNkHiHU8bgLg5nTKfOq08VhFI+zXzBydbFrO6N\n\tgGfgkD/dGxUaR8v6u01K0p7f0e7sxQ70O0ehWe6lQWWUWxgw/S2pWA4c4/VdG1ycNqnu\n\ts6Mg==","X-Gm-Message-State":"AJIora9CuZoH7ILFp1uzEaKIRpgiycgc9Rh/n632ZnwfNv6IKcQaX8ef\n\tZuHutWo9yIgLAmE62p63bl7DlcxqPTQW6g==","X-Google-Smtp-Source":"AGRyM1vJms2xE0+vKpAr8YygO82H/vQytENpE/Xhi+XAWcwiw5c5zWlb2Q9Q0Gd27RnkiZKKPvPnRQ==","X-Received":"by 2002:a17:906:8d6:b0:723:42c3:657 with SMTP id\n\to22-20020a17090608d600b0072342c30657mr6425eje.657.1655913751472; \n\tWed, 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","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH 0/1] cam: Add Rectangle type parsing in\n\tcapture script","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":"Daniel Semkowicz via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>","Reply-To":"Daniel Semkowicz <dse@thaumatec.com>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Hi,\n\nThis change adds the Rectangle type parsing in capture script.\nThis allows usage of controls that use rectangle, for example AfWindows.\n\nExample usage in capture script:\n\nframes: \n  - 10:\n      AfWindows:\n        - [ 10, 20, 100, 200 ]\n        - [ 500, 500, 100, 100 ]\n      \nor\n\nframes: \n  - 10:\n      AfWindows: [[ 10, 20, 100, 200 ]]\n\nBest regards\nDaniel Semkowicz\n\nDaniel Semkowicz (1):\n  cam: Add Rectangle type parsing in capture script\n\n src/cam/capture_script.cpp | 104 +++++++++++++++++++++++++++++++++----\n src/cam/capture_script.h   |   9 +++-\n 2 files changed, 102 insertions(+), 11 deletions(-)"}