Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752701AbcD2WOG (ORCPT ); Fri, 29 Apr 2016 18:14:06 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:37495 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752492AbcD2WOC (ORCPT ); Fri, 29 Apr 2016 18:14:02 -0400 Date: Sat, 30 Apr 2016 00:13:59 +0200 From: Pavel Machek To: Hans Verkuil Cc: pali.rohar@gmail.com, sre@kernel.org, kernel list , linux-arm-kernel , linux-omap@vger.kernel.org, tony@atomide.com, khilman@kernel.org, aaro.koskinen@iki.fi, ivo.g.dimitrov.75@gmail.com, patrikbachan@gmail.com, serge@hallyn.com, sakari.ailus@iki.fi, tuukkat76@gmail.com, mchehab@osg.samsung.com, linux-media@vger.kernel.org Subject: camera application for testing (was Re: v4l subdevs without big device) Message-ID: <20160429221359.GA29297@amd> References: <20160428084546.GA9957@amd> <20160429071525.GA4823@amd> <57230DE7.3020701@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <57230DE7.3020701@xs4all.nl> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1729 Lines: 40 Hi! What is reasonable camera application for testing? N900 looks like a low-end digital camera. I have now have the hardware working (can set focus to X cm using command line), but that's not going to be useful for taking photos. In particular, who is going to do computation neccessary for autofocus, whitebalance and exposure/gain? There's http://fcam.garage.maemo.org/gettingStarted.html that should work on maemo, but a) it is not in Debian, b) it has non-trivial dependencies and c) will be a lot of fun to get working... (and d), will not be too useful, anyway, due to 1sec shutter lag: Fast resolution switching (less shutter lag) FCam is built on top of V4L2, which doesn't handle rapidly varying resolutions. When a Shot with a different resolution to the previous one comes down the pipeline, FCam currently flushes the entire V4L2 pipeline, shuts down and restarts the whole camera subsystem, then starts streaming at the new resolution. This takes a long time (nearly a second), and is the cause of the horrible shutter lag on the N900. A brave kernel hacker may be able to reduce this time by fiddling with the FCam ISP kernel modules and the guts of the FCam library source (primarily Daemon.cpp). Anyone who solves this one will have our undying gratitude. An ideal solution would be able to insert a 5MP capture into a stream of 640x480 frames running at 30fps, without skipping more than the frame time of the 5MP capture. That is, the viewfinder would effectively stay live while taking a photograph. ) Any other application I should look at? Thanks, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html