* V4l2 state transition
@ 2014-12-08 5:19 Bin Chen
2014-12-08 14:29 ` Nicolas Dufresne
0 siblings, 1 reply; 4+ messages in thread
From: Bin Chen @ 2014-12-08 5:19 UTC (permalink / raw)
To: linux-media
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.
http://pastebin.com/nZNh6uF0
Thanks.
--
Regards,
Bin
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: V4l2 state transition
2014-12-08 5:19 V4l2 state transition Bin Chen
@ 2014-12-08 14:29 ` Nicolas Dufresne
2014-12-08 14:31 ` Nicolas Dufresne
0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Dufresne @ 2014-12-08 14:29 UTC (permalink / raw)
To: Bin Chen, linux-media
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 any issues if we were to enforce
> this constraint?
I think you should request some buffers before streamon. If in capture,
you should also queue the minimum amount of buffers.
Nicolas
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: V4l2 state transition
2014-12-08 14:29 ` Nicolas Dufresne
@ 2014-12-08 14:31 ` Nicolas Dufresne
2014-12-19 3:50 ` Bin Chen
0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Dufresne @ 2014-12-08 14:31 UTC (permalink / raw)
To: Bin Chen, linux-media
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 any issues if we were to enforce
>> this constraint?
> I think you should request some buffers before streamon. If in
> capture, you should also queue the minimum amount of buffers.
I forgot, setting input and format isn't strictly required. Driver
should have decent default configured.
Nicolas
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: V4l2 state transition
2014-12-08 14:31 ` Nicolas Dufresne
@ 2014-12-19 3:50 ` Bin Chen
0 siblings, 0 replies; 4+ messages in thread
From: Bin Chen @ 2014-12-19 3:50 UTC (permalink / raw)
To: Nicolas Dufresne; +Cc: linux-media
Nicolas,
On 8 December 2014 at 22:31, Nicolas Dufresne
<nicolas.dufresne@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 any issues if we were to enforce
>>> this constraint?
>>
>> I think you should request some buffers before streamon. If in capture,
>> you should also queue the minimum amount of buffers.
> I forgot, setting input and format isn't strictly required. Driver should
> have decent default configured.
>
Thanks for all the explaining.
> Nicolas
--
Regards,
Bin
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-12-19 3:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-08 5:19 V4l2 state transition Bin Chen
2014-12-08 14:29 ` Nicolas Dufresne
2014-12-08 14:31 ` Nicolas Dufresne
2014-12-19 3:50 ` Bin Chen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.