From patchwork Sun Aug 7 20:32:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Utkarsh Tiwari X-Patchwork-Id: 17018 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 1B7F5BE173 for ; Sun, 7 Aug 2022 20:32:22 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 5FF216332B; Sun, 7 Aug 2022 22:32:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1659904341; bh=qXshcJpnjxSApOrlHiau6FWiyO+AdT14CYsp9/LxeQQ=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=Ot1Q2d9O9HcTA6KMXSl9dDW0lOaQktM7AZquT5adBcfQVPPss/7wz7lBbTcLI2/XE akf2IHu9CIx+rflLmuTexs58hq3zfLU5EeWUaovZCDcsD301MPIjK8e/IKfd1jfBKH JD4N6JQ2QXhBXkMrDMqcb6QKWavCwvzCpRVHgXFn8zxHoQ9ZwrcrWaRkkT7ITgmQi+ MYjMtSwiifB6z5MMC07fGaw2PvxZdQwebc9yqhRoJ2lN/qbcK1BQc6weT7/EYpqrrt HUnEoH8f5T42OYJ1oLsP9FK+P9MJI68zFt8Jr7oEeI8A0WgYvIVVNmPuY4kelV3urZ /+ZSR+a2RroqA== Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id EDA5763312 for ; Sun, 7 Aug 2022 22:32:19 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="dfuAF7HQ"; dkim-atps=neutral Received: by mail-pj1-x102a.google.com with SMTP id q9-20020a17090a2dc900b001f58bcaca95so5914663pjm.3 for ; Sun, 07 Aug 2022 13:32:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=+CzFr8uA8hxae4tV9YrA+eIR9bxKaGQZsLABfznQKUQ=; b=dfuAF7HQ/E3Ok6HTNKBEN13qryqdqvyNoghQFkp/b2sqFSOzqyeCqZcUoLJo8NRJa4 u+ezpAug8mGJefvcqSz7WRpV60kIcldJyF78nCsaqykveQ102WEygvtlkSCN0hSn3L9/ bmDIB0ydN9HIS5/Kc6EKVZddX+1i+z5S8jzZBJc7RBvGMPq+Y2CS++ScN8U43INyv/ed m3ge+bFVLXkPAclREfuny5/SHXVVkNRg8hfG3KmvcgeQaQoKAWUki0QdK4EpRf9cNGiS QDY23IYnaFky3LUvPv6LvY4gwsyMh8dfOIGWcquXKfN4eIFxNqLkYQtG6PDRPy5S4vaB fjug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=+CzFr8uA8hxae4tV9YrA+eIR9bxKaGQZsLABfznQKUQ=; b=1vPQ+nw7/xoH/s6q6ty9fB+ddaVgy9j65z1zOjbwB+chiru4sipw7PkQSD7uZeVvw/ BPBA0pl8n5y8CN+XPPk94j6E3+9wJ4ks1I9wl06FHpt/r74gxuFZhtD05faRzAbcxyto zoMYByJmawPLuNoA6i06EfOQlQbMjWpw+zaHfSg2kaN2+yk4t8f2t8Snfb/nH4kbOlwE DpKt7kvohSqzKeGtUQpNljJ4Vbx4DZXcqNYQNKWyrtKdweQFjq+Syewc00v0blDU8bKM bDDsJF9NJTebrIMEUpDBXC7TRsstAipMd/Z07B4SD2MqIKbe1pRu/NCaNOW5TxnHoX+0 l0gA== X-Gm-Message-State: ACgBeo2eNXGcKF/f96JDEnhpk2JtgU2WFez+TbX72f7QjuKq/r0O9zuZ nW5QMFl0aChWa1WswyTcprdlp8PVzyk= X-Google-Smtp-Source: AA6agR5o8V8AJkVRPDNal79b4BwhTyTqCtp8W47jv6WECkE0WzNYp5eO/D9vEX1kxyjQ3R1Y9VhkDQ== X-Received: by 2002:a17:902:d546:b0:16e:c70c:fdf5 with SMTP id z6-20020a170902d54600b0016ec70cfdf5mr16161656plf.100.1659904337842; Sun, 07 Aug 2022 13:32:17 -0700 (PDT) Received: from localhost.localdomain ([2404:bd00:3:d2bc:8eec:115d:8ea8:b700]) by smtp.gmail.com with ESMTPSA id x29-20020aa7941d000000b0052d194a6602sm7006334pfo.102.2022.08.07.13.32.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Aug 2022 13:32:17 -0700 (PDT) To: libcamera-devel@lists.libcamera.org Date: Mon, 8 Aug 2022 02:02:00 +0530 Message-Id: <20220807203204.152358-1-utkarsh02t@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v6 0/4] 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" Difference from v5: 1. Capture Script no longer has its own button it exists in CamSelectDialog 2. New patch to display the path of the script. I would be dropping any previous rb tag from all patches except from qcam: Queue requests only through MainWindow::queueRequest() patch. Normal Introduction : 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 (4): qcam: Queue requests only through MainWindow::queueRequest() qcam: CamSelectDialog: Add capture script button qcam: CamSelectDialog: Display Capture script path qcam: Add --script to load capture script src/qcam/cam_select_dialog.h | 78 +++++++++++++++++++++++++++++++++++- src/qcam/main.cpp | 3 ++ src/qcam/main_window.cpp | 75 +++++++++++++++++++++++++++++++--- src/qcam/main_window.h | 11 ++++- src/qcam/meson.build | 2 + 5 files changed, 160 insertions(+), 9 deletions(-)