From patchwork Tue Jul 26 19:38:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Utkarsh Tiwari X-Patchwork-Id: 16808 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 17E7AC3275 for ; Tue, 26 Jul 2022 19:39:17 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 5341363312; Tue, 26 Jul 2022 21:39:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1658864356; bh=RUp5MsxqckxQiSF/Y4WdvZD7gkfdonoLY0Weh9l7QNk=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=B/3qRucuW3y4Fg56oWnpwuowdzKglFKvbLFVsB7z5bEKDogcwV94/tI2itx/9Ez07 Tsc724n/fWCvp0rBFYyKxE/oY/JaSOnO88NH3c19MUshafLAy4+k2EhScJyfLTe19Z 6supBoO8Lcrm45SgEksOiCRgbQeqhb1bQ/UiUn7qu7zlyLqoeLmu/WiOASziq9oT2w goxL4rfqyKmEuDHFteSvJsjBtUYNr0PoosXlR/4XTBaTY+GrAuMUuQcleLcvUmULt+ QbxBfdHCGNrTimcWAy6JqPXFTgNBjmxrcJjSXVIPd2SjVK4k/qMH18w2JvLfeGjJ3f P9F6NJFQrez5g== Received: from mail-pg1-x536.google.com (mail-pg1-x536.google.com [IPv6:2607:f8b0:4864:20::536]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id E1EB460487 for ; Tue, 26 Jul 2022 21:39:14 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="bKDF+C8e"; dkim-atps=neutral Received: by mail-pg1-x536.google.com with SMTP id s206so14001821pgs.3 for ; Tue, 26 Jul 2022 12:39:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=8xs+QqmjnVBj8zZTuug6KhgieYjBvZojft4K7zBprbc=; b=bKDF+C8eDqThczXAVuJJoIz6ZNnyBNGYiFWgpj3IypFdDr+vWLDyheC0zPt5FcFHkH t6N5BJSm0knecyVv3ABY84sqsWYVX4JsDTBZY4JHHgQx/3Fy3I+efU+m9+Q/cPTKUMxQ NITP/ihmK0xhGW/Bh5AL8Qv1sC3zkrBaA/9Gnz8adGcTL3Y9eKGSEAVKOxwvo3slIH1r u85kXrXvRSHbLL1KBhrVk7qFU9hy/XD2ojE8Oj/Q2STirjNSS1+BF1vEdFRPGEYnijoL 6AZ/TrsHO5DvKeAIFaf0Rx4o1XsXwIFHECmcyPVZbFgvYnhMxqhAR4Qo8wSamBQ4E3hm v7rg== 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=8xs+QqmjnVBj8zZTuug6KhgieYjBvZojft4K7zBprbc=; b=ffearrxCfj+GYTwPyxS28qDg4TsaKkml2bUf5x0eAz8bm2Sxc4RR/ercsgco235IW/ 0G+SexIxTsv6sYFr73PIlFfWqb4Z35iVhC9T06udGgMbRlecAb9hLhJRjXmdzS/MHVxX pjqH5/BiKE9fKbeDdrVan8aTwCjUnnkckdB/LSXKW4VtOPvKDcCUZxR5X5X8fg0nUV1W 5Ys4ayKgPAI2J6is+XZyaVKam87N461Z++uNxCWNsz8x3zpCN9qxPZ1LMgOKJwjIW9Zv A87LacFeEJMqIdwQEWx3l3B7GhpUs2V5isxzjBbjoOphl+ZoqmZS/4LxjaS3oR6ITIma nT0w== X-Gm-Message-State: AJIora9sWkHLO02xwNHGBfwkXzmUt1chgz4MMfjMJ7n1D176s5Kcl70A cEiOIpxVOsKFvpZVfu+L9kkzxoONofI= X-Google-Smtp-Source: AGRyM1vO+p71lutpvbaZ+iKAfShynhhDT1Oi0RIG7nf1whg82Q1RGtsjavCav5ocGpM11u1qwm1iwA== X-Received: by 2002:a05:6a00:1797:b0:52a:f2e9:ddd2 with SMTP id s23-20020a056a00179700b0052af2e9ddd2mr18459339pfg.12.1658864353159; Tue, 26 Jul 2022 12:39:13 -0700 (PDT) Received: from localhost.localdomain ([2404:bd00:3:d6bf:24ea:3f52:4c78:7bd8]) by smtp.gmail.com with ESMTPSA id f16-20020a17090a9b1000b001ef7eb39be1sm11176120pjp.55.2022.07.26.12.39.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jul 2022 12:39:12 -0700 (PDT) To: libcamera-devel@lists.libcamera.org Date: Wed, 27 Jul 2022 01:08:56 +0530 Message-Id: <20220726193859.169581-1-utkarsh02t@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v5 0/3] Introduce capture scripts to qcam 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: Utkarsh Tiwari via libcamera-devel From: Utkarsh Tiwari Reply-To: Utkarsh Tiwari Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Hi, v5 rewords the second commit in the series and changes how we handle invalid scripts. We already got the ability to load capture scripts to run the capture sessions in cam. This is patch series introduces both a GUI way and a cmdline way to load the capture script in qcam. With this we get the ability to load a capture script and to stop a running one. It utilizes the parser in cam. Utkarsh Tiwari (3): qcam: Queue requests only through MainWindow::queueRequest() qcam: Add a GUI way to use capture script qcam: Add --script to load capture script src/qcam/assets/feathericons/feathericons.qrc | 2 + src/qcam/main.cpp | 3 + src/qcam/main_window.cpp | 102 +++++++++++++++++- src/qcam/main_window.h | 10 +- src/qcam/meson.build | 2 + 5 files changed, 113 insertions(+), 6 deletions(-)