From patchwork Tue Jan 8 20:47:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 190 Return-Path: Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 2A92C60B2E for ; Tue, 8 Jan 2019 21:47:32 +0100 (CET) X-Originating-IP: 2.224.242.101 Received: from uno.lan (2-224-242-101.ip172.fastwebnet.it [2.224.242.101]) (Authenticated sender: jacopo@jmondi.org) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id BCB3840008; Tue, 8 Jan 2019 20:47:31 +0000 (UTC) From: Jacopo Mondi To: libcamera-devel@lists.libcamera.org Date: Tue, 8 Jan 2019 21:47:30 +0100 Message-Id: <20190108204733.10823-1-jacopo@jmondi.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v3 0/3] libcamera: media device: Add link handling X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jan 2019 20:47:32 -0000 Third version, ideally ready to be pushed. Apart incorporating comments from Laurent, I have left out the last patch that adds tests, as this might be reworked to make proper use of device enumerator. Thanks j Jacopo Mondi (3): libcamera: Add pointer to MediaDevice to MediaObject libcamera: media_device: Add functions to get a MediaLink libcamera: Add link handling functions src/libcamera/include/media_device.h | 10 ++ src/libcamera/include/media_object.h | 8 +- src/libcamera/media_device.cpp | 159 ++++++++++++++++++++++++++- src/libcamera/media_object.cpp | 62 +++++++++-- 4 files changed, 227 insertions(+), 12 deletions(-) --- 2.20.1