Re: About using VIDIOC_REQBUFS

2009-05-11 Thread Dongsoo, Nathaniel Kim
Hello Mauro, Thank you for your comment, first of all. In earlier mail, my question was actually about how to capture a different pixel format data from the one configured in the first S_FMT. Like opening device configured with YUV422 pixel format and try to capture a JPEG data which comes from th

Re: About using VIDIOC_REQBUFS

2009-05-11 Thread Mauro Carvalho Chehab
Em Thu, 23 Apr 2009 19:15:14 +0900 "Dongsoo, Nathaniel Kim" escreveu: > Hello Hans, > > Is it an ordinary way to use twice reqbuf without closing and > re-opening between them? > > I mean like this, > > 1. Open device > 2. VIDIOC_REQBUFS > > 3. VIDIOC_STREAMON > > 4. VIDIOC_STREAMO

About using VIDIOC_REQBUFS

2009-04-23 Thread Dongsoo, Nathaniel Kim
Hello Hans, Is it an ordinary way to use twice reqbuf without closing and re-opening between them? I mean like this, 1. Open device 2. VIDIOC_REQBUFS 3. VIDIOC_STREAMON 4. VIDIOC_STREAMOFF 5. VIDIOC_REQBUFS 6. VIDIOC_STREAMON I suppose there should be a strict order for this.