From patchwork Wed Jul 22 13:30:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kaaira Gupta X-Patchwork-Id: 8924 X-Patchwork-Delegate: kieran.bingham@ideasonboard.com 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 46F62BDB1B for ; Wed, 22 Jul 2020 13:30:46 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 1361760948; Wed, 22 Jul 2020 15:30:46 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=es-iitr-ac-in.20150623.gappssmtp.com header.i=@es-iitr-ac-in.20150623.gappssmtp.com header.b="SpPcLVcM"; dkim-atps=neutral Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id EADE46093F for ; Wed, 22 Jul 2020 15:30:43 +0200 (CEST) Received: by mail-pf1-x442.google.com with SMTP id a14so1299048pfi.2 for ; Wed, 22 Jul 2020 06:30:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=es-iitr-ac-in.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=EqcWv8qYz3kuHeRR9zuZ9xcSIRNdKfabdektmmDvWmg=; b=SpPcLVcMg+U5DAUXYPe2mcPTGEf7gZwiFgL3sFSnk/N7XN0/tgcVBmKmSl3bpxm+nS J8QgjOyjQh/mGHn0Kdw95D6fDCcAEHh2LrSHjQccuYVn+DUxN6KIKo7q9pDRe7jy2CKA fVLd3VdKIULaOV8WVvDRF6CH5EfFX6TY8RgG4xfi4S4x8vfRzW+eIKKSqqp9oaJhFTVS lt5xN8B4qigNPk4vtv5U6UrSM6BaAOlItbJlf1gbnQKDYWCH/WxYVMQJmr1i9mEA8fvM oYljHeVr57VjwogG6WIVkI6SLE1LTjhEYELZKoY3oW1FTLpUOvTYuQ0WLh+uxTsiDF3p mdQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=EqcWv8qYz3kuHeRR9zuZ9xcSIRNdKfabdektmmDvWmg=; b=pgt1zgfLqXDOM6bWBBbL3Y1Y+R0pmDMGBb3kfO9pPhqiVStHI1HZGwZd8EHWII9z35 faxYmTvwnlBf3LulTj72r9i31gM4EO2n+yLGBf2D1uRfRtSHAhtkBeC06AE5nrfPq1ec 2caF3vBz7kk2GLBSBTs4/Z85Ifj+lwGXMLAdSsLXU+2or/hK3/vVjAuJOfCa235PsSFP V6qXJeALZBib6HGFZpreJqmGOgMn3UDAgC1sUKdUCM+Z5W57T/tPOtcHmLuUEreRe1n0 ZVPq9d04drBg5ig+ZA3V2tnhyhCqZNWBG3o7dgiKm68HPyhWSWCZvqptS3g8cHtV+c1T dBDA== X-Gm-Message-State: AOAM530U569JEDAQYQR3TmmbMMW/B8bAH4FLAmXkSJyyahHlWPtS4PW5 2LwkgwUhaMOKtxhh3RQaBtFefqcYvTo= X-Google-Smtp-Source: ABdhPJzls9BtwhjpXYDnAkbP1xob4V4ZCAfcEG1u3m/YaFxO7Cv/i5yRr0tQAppcUPhntgwivl4hXQ== X-Received: by 2002:aa7:9e4e:: with SMTP id z14mr28707347pfq.256.1595424642621; Wed, 22 Jul 2020 06:30:42 -0700 (PDT) Received: from kaaira-HP-Pavilion-Notebook ([103.113.213.178]) by smtp.gmail.com with ESMTPSA id g10sm6299678pjs.20.2020.07.22.06.30.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jul 2020 06:30:42 -0700 (PDT) From: Kaaira Gupta To: libcamera-devel@lists.libcamera.org, Kieran Bingham Date: Wed, 22 Jul 2020 19:00:09 +0530 Message-Id: <20200722133009.26528-8-kgupta@es.iitr.ac.in> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200722133009.26528-1-kgupta@es.iitr.ac.in> References: <20200722133009.26528-1-kgupta@es.iitr.ac.in> Subject: [libcamera-devel] [PATCH 7/7] libcamera: pipeline: vimc: Initialise raw capture connection 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: , Cc: Kaaira Gupta MIME-Version: 1.0 Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Finally, connect RAW Capture to its bufferReady function. Signed-off-by: Kaaira Gupta --- src/libcamera/pipeline/vimc/vimc.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libcamera/pipeline/vimc/vimc.cpp b/src/libcamera/pipeline/vimc/vimc.cpp index 7e8d355..a942cb1 100644 --- a/src/libcamera/pipeline/vimc/vimc.cpp +++ b/src/libcamera/pipeline/vimc/vimc.cpp @@ -647,6 +647,8 @@ int VimcCameraData::init() if (raw_->open()) return -ENODEV; + raw_->bufferReady.connect(this, &VimcCameraData::bufferReadyRaw); + /* Initialise the supported controls. */ const ControlInfoMap &controls = sensor_->controls(); ControlInfoMap::Map ctrls;