Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1425700

Re: [PATCH 1/1] v4l: Add camera voice coil lens control class, current control

From Pavel Machek <pavel@ucw.cz>
Newsgroups linux.kernel
Subject Re: [PATCH 1/1] v4l: Add camera voice coil lens control class, current control
Date 2016-06-18 13:30 +0200
Message-ID <rLmBP-3nI-1@gated-at.bofh.it> (permalink)
References <rDx1o-8ea-11@gated-at.bofh.it> <rJlqz-5ve-59@gated-at.bofh.it> <rLahk-3W9-19@gated-at.bofh.it> <rLaAF-447-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi!

> If someone has analyzed the existing voice coil lens controllers and could 
> share the result, in term of what parameters need to be controlled by the 
> system and how they should be controlled, that would be very appreciated. Even 
> better would be a real userspace implementation of a voice coil lens control 
> algorithm.

Userspace implementation exists, it is called fcam-dev. What it
does... Starts capture, selects focus speed, makes it go through focus
range, looks for the sharpest image in the stream.

Then it computes time when the image was sharpest and thus lens
position, and goes back there.

So for ad5820, we need basically focus position and focus speed. (And
some 16/64 option).

Other coil drivers also have PWM vs. linear option.

Best regards,

									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/1] v4l: Add camera voice coil lens control class, current control Sakari Ailus <sakari.ailus@linux.intel.com> - 2016-06-12 22:50 +0200
  Re: [PATCH 1/1] v4l: Add camera voice coil lens control class,  current control Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com> - 2016-06-12 23:50 +0200
    Re: [PATCH 1/1] v4l: Add camera voice coil lens control class,  current control Pavel Machek <pavel@ucw.cz> - 2016-06-18 00:20 +0200
      Re: [PATCH 1/1] v4l: Add camera voice coil lens control class, current control Laurent Pinchart <laurent.pinchart@ideasonboard.com> - 2016-06-18 00:40 +0200
        Re: [PATCH 1/1] v4l: Add camera voice coil lens control class,  current control Pavel Machek <pavel@ucw.cz> - 2016-06-18 13:30 +0200
  Re: [PATCH 1/1] v4l: Add camera voice coil lens control class,  current control Pavel Machek <pavel@ucw.cz> - 2016-06-18 00:10 +0200

csiph-web