From patchwork Wed Jun 22 13:16:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Utkarsh Tiwari X-Patchwork-Id: 16317 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 2762EBD808 for ; Wed, 22 Jun 2022 13:17:25 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 4EE0065635; Wed, 22 Jun 2022 15:17:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1655903844; bh=vxzZULf7ymv1Y0KKHeX/vX4W2fGjeg8cYxC9+7iCWhU=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=qzEtzBFj39dkTeK1JGKoNmv02skLwxCYpFimxe6aICwuOFF3VzW4OKbXYXx9owMxj TXA3S4q5e0KlqLJgBatLrmUFTkoL8cLaHEuvy4Eps/1NuWZowTA+wS4+BsMHztm9kW 5ad0va6chHlppYHULttDLE+jp8TWrj9W/AcvxGhd+519eenh4V56hnKMe8tA65c0qZ gBKICV+iA1k1N7nSTw4Nu5ak7x9p+Uppe5cGJuoqQalxbJtlR4JtJKursmLgPTCwN5 0ia06N9wxeyTGaff1kWiaPF6gByPA1Bueu0BY2xL5c70i1pQ4gFWC+E+qBgeDpdpvI fgxPNUNwp3/1A== Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 94B8C61FB2 for ; Wed, 22 Jun 2022 15:17:22 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="RYJO25Sn"; dkim-atps=neutral Received: by mail-pl1-x631.google.com with SMTP id k14so3891505plh.4 for ; Wed, 22 Jun 2022 06:17:22 -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=DuZv+L/9f2rEboVJ8O0P5cvlrBxBOv9GzBtyiyu/gXk=; b=RYJO25SnI/SxzRra8oD242sgZrAAC31IpW6cMfs9cqzB1XUoFPa6toPB5zaDg92UME gjOXFJc/AwK0OOO8+8JmRGq1AzjDjcoR91XrF5tKYIDi9HbMSh6wjlX9vBDIWNHIk21t KcJ62t6Q74FzQQQ5c5TSvypJrt2/4PoQ8wGYCNPkQiWbVQWvv+kuz/I8F/mgaTU8lRzI XmvBblqdb7JF4llSzyYShBEyR3tTgddqr0035fP6Ik9PFCCpa2bkf7Uq+gho/Gh4JMrj nBZIsDP6myFzqekSlrAlxIgf7h0QTRlWtlLBMJgWc+aqTO4+AAfzvSYpxk46SCePCTWl FAiA== 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=DuZv+L/9f2rEboVJ8O0P5cvlrBxBOv9GzBtyiyu/gXk=; b=tjZ91DNhlzNkuyRbQDKmSPMRvpaYmXRDbHpdU28V6wDynn2HmXtnmfrEsnlMHA5dMJ vj5cttJlSyCEr8lEWgNXHVpx0vmsinjq0di2V+IqOuaPFtRzT+b+7RWNStdpLiQRY5Dv t4YrYjrXEbdDHQ2Kbd1jHA1GGN1atVS8qL3m6tvEW9WZln6N4o1i5/CKBQKFxBDpJmQC ExKDb3eqY33P8tlNUpSVMeIARSCfgNpaUOqMPIWd3NAKIV+uyap1I1WZTrQ/iVAoPfLK nQr9MJ20mkjYEgYXpmkglf2VUx/6XWMne6oCaM+AGNpx+zcRrhePSP3rpqOrMNKzbssv zSOg== X-Gm-Message-State: AJIora/TYUv75q6EEaqsHnevImucqlF5iADf2X1j88+HSk3dPpDuIzL5 4jP5vKUPy2InwfTAl+45+bonJS2eAOY= X-Google-Smtp-Source: AGRyM1tfdblH8zKffTvda6FV3KFgboSqHiZ50msA71UvXwqg8l1rhs8Rtk3aNPsBLdDPgJYdC4pZ+A== X-Received: by 2002:a17:902:8a82:b0:168:ec21:56b4 with SMTP id p2-20020a1709028a8200b00168ec2156b4mr33287128plo.104.1655903840888; Wed, 22 Jun 2022 06:17:20 -0700 (PDT) Received: from localhost.localdomain ([2406:3003:2005:1f6b:fd12:eca1:fe45:bbdb]) by smtp.gmail.com with ESMTPSA id x82-20020a627c55000000b0052089e1b88esm7124540pfc.192.2022.06.22.06.17.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jun 2022 06:17:20 -0700 (PDT) To: libcamera-devel@lists.libcamera.org Date: Wed, 22 Jun 2022 21:16:35 +0800 Message-Id: <20220622131638.79122-1-utkarsh02t@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 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" 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 | 85 +++++++++++++++++-- src/qcam/main_window.h | 11 ++- src/qcam/meson.build | 2 + 5 files changed, 97 insertions(+), 6 deletions(-)