From patchwork Fri Apr 19 10:18:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 1073 Return-Path: Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id A316760004 for ; Fri, 19 Apr 2019 12:17:51 +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 relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 1E048FF803; Fri, 19 Apr 2019 10:17:50 +0000 (UTC) From: Jacopo Mondi To: libcamera-devel@lists.libcamera.org Date: Fri, 19 Apr 2019 12:18:31 +0200 Message-Id: <20190419101839.10337-1-jacopo@jmondi.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v7 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 10:17:51 -0000 Hello, version 7, which includes comments from Laurent. This version is still based on master and does not include Laurent's patches to print a streamConfiguration. Depending on what gets in first, the other will need a reabase. Changelog here below: 1/8, 2/8 -> new patches; 1/8 reviewed already, 2/8 is a fix for a recently noted small issue 3/8 -> re-introduce active_ flag instead of storing a reference to application provided stream configuration 4/8 -> round the requested viewfinder sizes to the IPU3 alignment and the sensor resolution 5/8 -> use active_ in place of cfg_ 6/8 -> update commit message, s/ret/error s/status/ret 7/8 -> update commit message, simplify the request completion handling I hope we're close to get this in finally. 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 | 1 + src/libcamera/pipeline/ipu3/ipu3.cpp | 371 ++++++++++++++++++++------- src/libcamera/stream.cpp | 18 ++ 4 files changed, 338 insertions(+), 98 deletions(-) --- 2.21.0