Thread (3 messages) 3 messages, 2 authors, 2011-08-25

dma buffers for camera

From: Jan Pohanka <hidden>
Date: 2011-08-25 12:35:20
Also in: linux-media

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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help