Re: V4L2_CID_AUTO_FOCUS_START VS V4L2_CID_FOCUS_AUTO

2014-12-30 Thread Sakari Ailus
Hi Ben,

On Fri, Dec 19, 2014 at 11:48:58AM +0800, Bin Chen wrote:
 Hi,
 
 Can anyone explain what is the difference between setting control
 V4L2_CID_FOCUS_AUTO to 1 and and issuing V4L2_CID_AUTO_FOCUS_START?
 Confused...

V4L2_CID_AUTO_FOCUS_START starts a single-pass AF algorithm which ends after
reaching focus (or failing in trying that), whereas enabling the
V4L2_CID_FOCUS_AUTO control enables a contiguous AF algorithm.

-- 
Regards,

Sakari Ailus
e-mail: sakari.ai...@iki.fi XMPP: sai...@retiisi.org.uk
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


V4L2_CID_AUTO_FOCUS_START VS V4L2_CID_FOCUS_AUTO

2014-12-18 Thread Bin Chen
Hi,

Can anyone explain what is the difference between setting control
V4L2_CID_FOCUS_AUTO to 1 and and issuing V4L2_CID_AUTO_FOCUS_START?
Confused...


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