Re: dma buffers for camera

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux