From patchwork Sun Jul 3 04:37:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Utkarsh Tiwari X-Patchwork-Id: 16520 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 21702BD808 for ; Sun, 3 Jul 2022 04:37:16 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 2D7AF6043F; Sun, 3 Jul 2022 06:37:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1656823035; bh=/eQovy+0w+tFkO4+lD8uqePR6csqteD+ibVoGNkj5+k=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=q94pCQye18WQ3y13jHQoMDbtPBBmW+vCfbqkXJGUi8Yq+NGdc8a5/m1TXcEzS07Xi khWb6up1eY0EZJAbvqmkWYyrnf3gTtdBjXIFlKaz6G12P/mIZaQFmRao6u2OzYdWbV 2DlTo6A1MyB1OQVBry75WBb0B07txu4rPUv8/xCeZUYVPcHSCF0jKRZSR1nXe9ZOjR t6XgRE3Cqzl7d0Xuxr5Y/l9m+ze/GVnpvV+I1cwZkcOaPyDePS55ZAFGpD9onWlcDa 59bwzjpi4tqRMgXdcY01TIlaJwK3BFreaQua92jCavhwjuFwJI5jbCb+s4BNKG7vP3 BAZ9wjMK2MxcA== Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 171B06043F for ; Sun, 3 Jul 2022 06:37:13 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="elHX/1OV"; dkim-atps=neutral Received: by mail-pf1-x429.google.com with SMTP id 65so6079307pfw.11 for ; Sat, 02 Jul 2022 21:37:12 -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=ypjI9JWTGRbBtetz4TbSTulI1etVrqior007VFagzAE=; b=elHX/1OV96itR7qSIdHQd8QXggyDP7qLY0mzdIaIWE5H/NDpdUjKE4XVkm2QxP+0bF BSKWd1q3ScY45WRSfczpcJ/+kPkYEriQZdTEsNaRhYFBeiISVLyFDlSiVLNHrFDd8AfD BP5bDVuK85aoRyYx//K25udLABO9yXkhqyY9LapwFgHjwqH/uet68FA+sPE14eNY7WRT Lf1XP/Hk3KQ88ubsOS2xtzW6HzIP7tyXTNnQphlyqS2zhj11wSI7HGnefsBtmahRUED7 haH4QLCJ4oflsGWIGE2+PsuZ30rQIVhwkcyrL0tJmfZ5AfpEah/fjnysc/9cd7cAKBi+ 1aIQ== 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=ypjI9JWTGRbBtetz4TbSTulI1etVrqior007VFagzAE=; b=CLXagOFmhfbfwDMTHwRd1eCxW47eXwbYYssIvPvidWf1G18M6dXhdEfa0de/shNfaq q6EBDpDVIBcF2o3a1wexYUgm6IsCbAs2tvLyM2z2aEULNr+FipiYtVKA5QYzd9ly/X1k zriGtv8ACOpXPAPL0ACqAzDWtDhejxx74RdMB/sU1qIiLMyMAn9Zp0wfaDDcB3wm6DiA 0jHBLPNdjl+QWh/H5JzicKyarKDl8SzNddbKESOH90y7UIk5+vTzV/dNmpYeuIm1rB38 lZv4DWYtt0zQO3dE0WTIdnnysCJTT2Llnqarl7wU/2Tp8JxTAGJ3zlnR3cHNrWoVlify PQMw== X-Gm-Message-State: AJIora/ynkeIIUcaVmvhSKqCI0rueHHmXIwjKh1U/eioDJkJjkn2KYfi 7E2DpgDcn1X9NCvzpwlbGvwxc2pWTiMM/Q== X-Google-Smtp-Source: AGRyM1uJ58xGhN0wA6ux/N7KhhRHwuphlj7qd5LjF3GH+wnIfy1+WSHXZPc/HAA+Jnd4q/pYvIfFhQ== X-Received: by 2002:a65:6044:0:b0:3fc:674:8f5a with SMTP id a4-20020a656044000000b003fc06748f5amr19269936pgp.436.1656823031217; Sat, 02 Jul 2022 21:37:11 -0700 (PDT) Received: from localhost.localdomain ([2406:3003:2005:1c27:2dd0:3b05:f874:d165]) by smtp.gmail.com with ESMTPSA id me3-20020a17090b17c300b001ec84b0f199sm12122299pjb.1.2022.07.02.21.37.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Jul 2022 21:37:10 -0700 (PDT) To: libcamera-devel@lists.libcamera.org Date: Sun, 3 Jul 2022 12:37:01 +0800 Message-Id: <20220703043704.296872-1-utkarsh02t@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v4 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, v4 introduces minor fixes such as variable naming and spacing. 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 | 96 ++++++++++++++++++- src/qcam/main_window.h | 10 +- src/qcam/meson.build | 2 + 5 files changed, 107 insertions(+), 6 deletions(-)