From patchwork Fri Apr 19 13:25:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 1086 Return-Path: Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id C89DA60B2E for ; Fri, 19 Apr 2019 15:24:43 +0200 (CEST) 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 relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 43A1F20004; Fri, 19 Apr 2019 13:24:43 +0000 (UTC) From: Jacopo Mondi To: libcamera-devel@lists.libcamera.org Date: Fri, 19 Apr 2019 15:25:23 +0200 Message-Id: <20190419132531.17856-1-jacopo@jmondi.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v8 0/8] libcamera: ipu3: Multiple streams support 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: Fri, 19 Apr 2019 13:24:44 -0000 The 8th version introduced those two changes: 3/8 -> remove cfg_ from IPU3Stream to avoid storing a reference to an object whose lifetime is not under the library control 4/8 -> rework stream assignement, use a switch statement and improve error handling as suggested by Laurent. 3/8 and 4/8 are the last two patches missing a tag. Once I have received it, I would push the series to master. Thanks j Jacopo Mondi (8): libcamera: stream: Document protected members libcamera: camera: Reset basefield to decimal libcamera: ipu3: Create camera with 2 streams libcamera: ipu3: Use roles in stream configuration libcamera: ipu3: Add multiple stream memory management libcamera: ipu3: Queue requests for multiple streams libcamera: ipu3: Connect viewfinder's BufferReady signal [HACK] still capture every 10 frames src/cam/main.cpp | 46 +++- src/libcamera/camera.cpp | 2 +- src/libcamera/pipeline/ipu3/ipu3.cpp | 374 ++++++++++++++++++++------- src/libcamera/stream.cpp | 18 ++ 4 files changed, 344 insertions(+), 96 deletions(-) --- 2.21.0