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

Re: V4l2 state transition

2014-12-18 Thread Bin Chen
Nicolas, On 8 December 2014 at 22:31, Nicolas Dufresne nicolas.dufre...@collabora.com wrote: Le 2014-12-08 09:29, Nicolas Dufresne a écrit : Le 2014-12-08 00:19, Bin Chen a écrit : Can anyone comment is following state transition diagram for V4l2 user space program make sense? Do you see

V4l2 state transition

2014-12-07 Thread Bin Chen
Hi, Can anyone comment is following state transition diagram for V4l2 user space program make sense? Do you see any issues if we were to enforce this constraint? Sorry for not being able to paste the ascii diagram correctly in gmail. So please check following link to view the diagram.

Re: Add controls to query camera read only paramters

2014-11-10 Thread Bin Chen
Hi Guennadi, On 10 November 2014 19:46, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: Hi Bin, On Sat, 8 Nov 2014, Bin Chen wrote: Hi Everyone, I need suggestions with regard to adding controls to query camera read only parameters (e.g maxZoom/maxExposureCompensation) as needed

Add controls to query camera read only paramters

2014-11-07 Thread Bin Chen
Hi Everyone, I need suggestions with regard to adding controls to query camera read only parameters (e.g maxZoom/maxExposureCompensation) as needed by Android Camera API[1]. What is in my mind is to add a customized camera control ID for each parameter I want to query and return EACCES when