From patchwork Fri Jul 15 19:14: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: 16666 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 94E26BE173 for ; Fri, 15 Jul 2022 19:14:28 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 4D48C63328; Fri, 15 Jul 2022 21:14:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1657912468; bh=/JCMD0mwYyA2QECknrNwTcd4lGH7281d5bwgsp2FC9g=; 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=D9SW6qEAsDw7XxJ1BU6b7n9xM+L3GrwdQsAJL/4ZZLNUVWqmYF6IiOzxXzKFzgKHp l+MqpEpLgyqH/x5dOgd1OvaoCxaMxmTXykjw9THQCXegHIagUpV0rjp+EC6E1t+6Bg A/DiPebSJ2rsCmT4kqilIdD3Yit60sg6UNHaQoPbGglfplL96UPS+Zafv9wQ9neA2/ rWZ8a2N469J3EPvhYTj7oo1rNgu7sDEMLby2oBRAlTTiaZE3FiwBH5T4memMmuck4X x3rHGVrHs0lZ+XD6j3LBNh4P4tRxw2mesvGkuFNmpxFqR6zZTpG7VdvMqaRNCdA6Rh 4kTxYB07E5Dew== Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 13C5363324 for ; Fri, 15 Jul 2022 21:14:25 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="IZopM592"; dkim-atps=neutral Received: by mail-pg1-x535.google.com with SMTP id 23so5209940pgc.8 for ; Fri, 15 Jul 2022 12:14:25 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=IGJijfawr5Y5FiaVYzXJ8nbkbwI0CYU0bLaNr1QCpOM=; b=IZopM592l8SPUQUkc1ENJ+O7bMKdJTMX+IRbjpB5H/oxeJMt4HNs7lU9mkPV2xWqzR TDIAbdkRZ3ruECszg7HzyHWwTH6nlUvfcS9WY77T2FgdiilBdqzh/OaBJ1Qo7apnf+SK sTQ1pBFT5xhvSZ3Ejz19KXJAQcWPsUvG+e2afpGjOT2EtrEtJVXg+QkWOOBmucE7WLUK B/Km9udD3BsRgzQKBBoGZxy0alDLvsFo/rWJuU8doN9HdNieqYdEqhjs4Ar3Vh2IYwSS DrJOeLOknYw6CpfZvx76K5azPWuuzuSM+OAve0+nNvFGtjQFBeQrr/dZTEs9k1cJS9DO dMKg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=IGJijfawr5Y5FiaVYzXJ8nbkbwI0CYU0bLaNr1QCpOM=; b=Fye/zPN2AjcT9ufEgl0mTPPenHJyss768Ie4c/hMj14R61BkafBr9WUW1UK7Ix/ldK F+67KJw6gXiN6JLmFL4OW5oxo1VYSqhtVeR4ruHZrCi1KtQ9sZMp/tFTvMruVG2AJ2kW Pg/xJzFoLX/3D2tBnel3Niqa2pV4aIg5i42WArYzWLOeVbL0C5DHuOvq3+Bdm9uyOvTL /4TWKh2lroC6dxoBEnNVV/aJxCu9bG3NtR88R3RuodDCc75vrn3a/hSzqKMFn8+6q+MT CmP410m7AANEOvIn0n8wQ/BakBrxCQPNEIfdSN0JlBL+Yai76qq/AgtxtvhFJMi6G2Rp HsMg== X-Gm-Message-State: AJIora8x0WqqzfMPz5pi+aPiuqphGkmOhcVQmf2jDsUh8/iKaXXBFGr0 OuxmWUD7CFudQ7Y3X0adl4P/J0i3dv1Giw== X-Google-Smtp-Source: AGRyM1sffzI3A8eWI4U/FhidUYbD1zS3wQX8OFb8ms+6uaGBu9L4wHmW1X3yVvS276INaQuPezbv+Q== X-Received: by 2002:a05:6a00:238c:b0:52a:dcad:7847 with SMTP id f12-20020a056a00238c00b0052adcad7847mr15680279pfc.8.1657912463495; Fri, 15 Jul 2022 12:14:23 -0700 (PDT) Received: from localhost.localdomain ([2406:3003:2005:1c27:d8e8:f9ac:919c:9ac8]) by smtp.gmail.com with ESMTPSA id s10-20020a170903214a00b0016be834d544sm3834315ple.237.2022.07.15.12.14.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jul 2022 12:14:23 -0700 (PDT) To: libcamera-devel@lists.libcamera.org Date: Sat, 16 Jul 2022 03:14:00 +0800 Message-Id: <20220715191400.890976-12-utkarsh02t@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220715191400.890976-1-utkarsh02t@gmail.com> References: <20220715191400.890976-1-utkarsh02t@gmail.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 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 5a3258d6..928807b8 100644 --- a/src/qcam/settings/control_frame.cpp +++ b/src/qcam/settings/control_frame.cpp @@ -145,6 +145,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; }