Re: [PATCH/RFC][DRAFT] V4L: Add camera auto focus controls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Laurent,

On 03/01/2012 11:30 PM, Laurent Pinchart wrote:
> One option would be to disable the focus area control when the focus distance
> is set to a value different than normal (or the other way around). Control
> change events could be used to report that to userspace. Would that work with
> your hardware ?

What would work, would be disabling the focus distance control when the focus 
area is set to a value different than "all".

I have also been considering adding an extra menu entry for the focus distance 
control, indicating some "neutral" state, but disabling the other control
sounds like a better idea. I couldn't find anything reasonable, as there was 
already the focus distance "normal" menu entry.

Then, after the focus are is set to, for instance, "spot", transition to 
the focus distance "macro" would be only possible through focus area "all"
(where the focus distance is enabled again). I guess it's acceptable.

It's only getting a bit harder for applications to present a single list 
of the focus modes to the user, since they would, for instance, grey out 
the entries corresponding to disabled control. It shouldn't be a big deal 
though.


--
Regards,
Sylwester
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux