If you only intend to capture a single frame then using only one buffer is OK.
Regards, Paulo 2010/11/3 linux newbie <linux.newbi...@gmail.com>: > Hi, > > Thanks for your reply. > > From your explanation I understand that having many buffers will be > helpful in case of streaming as we do not want to loose frames. But my > application is acting as still camera and in this case having one > buffer should be fine. Is my understanding correct? > > Thanks > > On Wed, Nov 3, 2010 at 8:49 PM, Paulo Assis <pj.as...@gmail.com> wrote: >> Hi, >> have you tried increasing the work load on your system ? >> >> If for some reason your application can't dequeue the buffers fast >> enough the driver will be forced to drop frames, with a larger buffer >> count you will have a "comfort zone", even if at some point your >> application can't catch up with the hardware frame rate, you will >> always be able to recover later without losing frames. >> >> Of curse even this may not be enough if the application is to slow, >> but if the cpu load only increases momentarily then having more than >> one buffer will be very advantageous. >> >> Reagards, >> Paulo >> >> 2010/11/2 linux newbie <linux.newbi...@gmail.com>: >>> Hi, >>> >>> What is the advantage / disadvantage of having reqbuf's (struct >>> v4l2_requestbuffers) count to be 4? My application is working fine >>> with count value of 1. >>> >>> Thanks >>> _______________________________________________ >>> Linux-uvc-devel mailing list >>> Linux-uvc-devel@lists.berlios.de >>> https://lists.berlios.de/mailman/listinfo/linux-uvc-devel >>> >> > _______________________________________________ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel