From patchwork Fri Aug 12 12:46:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Utkarsh Tiwari X-Patchwork-Id: 17107 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 CE54EBE173 for ; Fri, 12 Aug 2022 12:47:29 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 7FDE86332F; Fri, 12 Aug 2022 14:47:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1660308449; bh=T++GkxDL3UJZAfQWu3JPt2kiIPUYDr2fxuQdBZ+OLxs=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=nKDoEaJufrJQBT96fCLQk7jLZ4d+7I2VuU6T+e5G3LUXFxVawxJwZ8sV9Ccvuclcf 2tGKX6rDrZUXdfgrzk2BtgZAVaf15shC2ZDVLgft6Nymf5bL8F29s/0OTyfO9Nghlg mxdrUoO/7bQS3MtKkowRSejpLzdB9N4tv2jXIedUhzQ9UksfiNutgul4LZXHHW9mla tGdeaPk3Nn+yOJeCdHun2N8Wf0RgI9E3Gt0usc06p1CcAFDvpiL2Aw0K3qtoJCfrnc +TWVQd7dmMVR5TFx9ePY4QTRIkKuyjsTk6vPE0cM7UwPwP9MjggGFkZwDt6PB42Aaz WoDFGJfGqaEGA== 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 89CAE6333C for ; Fri, 12 Aug 2022 14:47:26 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Ddj0dE7e"; dkim-atps=neutral Received: by mail-pf1-x429.google.com with SMTP id q19so861064pfg.8 for ; Fri, 12 Aug 2022 05:47:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=5/HXw9ImJB2umPS6J+EtU65f7nMmfoqQchYu/6IodcM=; b=Ddj0dE7e4b05Pl0Vc7UWv8mGmpC/81sT/ASY3DoCw3EkXxNkigkxjHaCUKi2OG8FZh ExMkurkt8ZWb5yqguxP84zEG7j+bXboNWoGVoG9DWeUf2UtXrP4hTEVQkbV4o6ag8fBg CxaYr12JRMGET1qfF55/jOMNxcB7jAB5Ja1MZ+e5qC6bZCUUwfLg1E2GvNE7IOB2s0g2 eiThXWvrLFO/iGMfhbypDh4udGlkj5UNa29T1CqpPJaZ6M5o9dAC3gj5CPHcrkBXtkmg pZLlk6tcXSRXLON+yxndKwSJnGctq2jQwBP2J2E1JCHshrQfJKTQm0PySDanPogLTtgg uK/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=5/HXw9ImJB2umPS6J+EtU65f7nMmfoqQchYu/6IodcM=; b=1lr0zo0iLhR4xFtUng3hG+5xhfjgHzGdrJViR+qK24vi0fhoWuQBwZOnqsWYmrvf75 mjBVGCyvaii+KJ3xrfnitY0f48I8vzE/p3zJQ6IT0VoTpi4vzXgmCcLu+K64iC+nFzC4 QIHxN3Wx0dmcqGKteuKR78FqAwoMZfsNVI6Sb2ww/179kYDsA24qvO7L8qbPYwAhDOJd xVwKnzgyz9UYMLmJ15gxSh0rz/DspuVB+cd3P/0G7DEUCC976p0IgFAvyYjRZTQdbksh Ck++NcZrOFWPM4AOVSVcLV2EMwWB5Wzmtiijg991GsjqRgTvR3cEW0r//3ixx3PMO3t5 vpZg== X-Gm-Message-State: ACgBeo1CtRNIw5LwQK5pFi7cj2d+mMLbuOgKuWdwc71A1jjsC1R/zciA bH/jndJvzYCpXZUnG5V1qIDb59lZOO0= X-Google-Smtp-Source: AA6agR6+mQSQpWRhO91wZPIRQys1b1aQrf1a/+Ld+tGjO2LV2adfIB84itbF8B7TPBvKqy6zznc7xw== X-Received: by 2002:a05:6a00:855:b0:52e:f01d:723a with SMTP id q21-20020a056a00085500b0052ef01d723amr3752911pfk.31.1660308444810; Fri, 12 Aug 2022 05:47:24 -0700 (PDT) Received: from localhost.localdomain ([2404:bd00:3:dc0d:d8e:96a2:2dbe:5a83]) by smtp.gmail.com with ESMTPSA id e6-20020a17090a728600b001f069352d73sm1431785pjg.25.2022.08.12.05.47.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Aug 2022 05:47:24 -0700 (PDT) To: libcamera-devel@lists.libcamera.org Date: Fri, 12 Aug 2022 18:16:51 +0530 Message-Id: <20220812124651.27496-12-utkarsh02t@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220812124651.27496-1-utkarsh02t@gmail.com> References: <20220812124651.27496-1-utkarsh02t@gmail.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 11/11] qcam: ControlFrame: Implement Current Values for integer types 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" Display the Current values for ControlTypeInteger32 and ControlTypeInteger64. Signed-off-by: Utkarsh Tiwari --- src/qcam/settings/control_frame.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/qcam/settings/control_frame.cpp b/src/qcam/settings/control_frame.cpp index d9c294a2..45846ba2 100644 --- a/src/qcam/settings/control_frame.cpp +++ b/src/qcam/settings/control_frame.cpp @@ -144,6 +144,12 @@ void ControlFrame::setCurrentValue(const libcamera::ControlValue controlValue) case ControlTypeFloat: currentValue_->setText(QString::number(controlValue.get())); break; + case ControlTypeInteger32: + currentValue_->setText(QString::number(controlValue.get())); + break; + case ControlTypeInteger64: + currentValue_->setText(QString::number(controlValue.get())); + break; default: break; }