dma buffers for camera

Jan Pohanka xhpohanka at gmail.com
Thu Aug 25 08:35:16 EDT 2011


Hi Guennadi,

>
> The mx2_camera driver is allocating one "discard" buffer of the same  
> size,
> as regular buffers for cases, when the user is not fast enough to queue
> new buffers for the running capture. Arguably, this could be aliminated
> and the last submitted buffer could be re-used until either more buffers
> are available or the streaming is stopped. Otherwise, it could also be
> possible to stop capture until buffers are available again. In any case,
> this is the current driver implementation. As for 2 buffers instead of  
> one
> for the actual capture, I think, gstreamer defines 2 as a minimum number
> of buffers, which is actually also required for any streaming chance.
>

Thank you for clarification...

regards
Jan



-- 
Tato zpráva byla vytvořena převratným poštovním klientem Opery:  
http://www.opera.com/mail/



More information about the linux-arm-kernel mailing list