webcam drivers and V4L2_MEMORY_USERPTR support

2009-06-01 Thread Stefan Kost
hi, I have implemented support for V4L2_MEMORY_USERPTR buffers in gstreamers v4l2src [1]. This allows to request shared memory buffers from xvideo, capture into those and therefore save a memcpy. This works great with the v4l2 driver on our embedded device. When I was testing this on my desktop,

Re: webcam drivers and V4L2_MEMORY_USERPTR support

2009-06-01 Thread Stefan Kost
Trent Piepho schrieb: On Mon, 1 Jun 2009, Stefan Kost wrote: I have implemented support for V4L2_MEMORY_USERPTR buffers in gstreamers v4l2src [1]. This allows to request shared memory buffers from xvideo, capture into those and therefore save a memcpy. This works great with the v4l2

Re: webcam drivers and V4L2_MEMORY_USERPTR support

2009-06-02 Thread Stefan Kost
Laurent Pinchart schrieb: Hi Stefan, On Monday 01 June 2009 09:26:10 Stefan Kost wrote: hi, I have implemented support for V4L2_MEMORY_USERPTR buffers in gstreamers v4l2src [1]. This allows to request shared memory buffers from xvideo, capture into those and therefore save a memcpy

Re: webcam drivers and V4L2_MEMORY_USERPTR support

2009-06-05 Thread Stefan Kost
Hans de Goede schrieb: On 06/01/2009 09:58 AM, Trent Piepho wrote: On Mon, 1 Jun 2009, Stefan Kost wrote: I have implemented support for V4L2_MEMORY_USERPTR buffers in gstreamers v4l2src [1]. This allows to request shared memory buffers from xvideo, capture into those and therefore save

Re: [OT] preferred video apps?

2010-06-14 Thread Stefan Kost
On 01.05.2010 03:48, Mauro Carvalho Chehab wrote: Randy Dunlap wrote: Hi, Sorry for a non-kernel question, but I'd like to get some suggestions on video recording and editing software, please. If it matters, this is mostly for recording editing sports events (matches). Reply

Re: [PATCH] Fix VIDIOC_QBUF compat ioctl32

2010-01-26 Thread Stefan Kost
Arnaud Patard wrote: When using VIDIOC_QBUF with memory type set to V4L2_MEMORY_MMAP, the v4l2_buffer buffer gets unmodified on drivers like uvc (well, only bytesused field is modified). Then some apps like gstreamer are reusing the same buffer later to call munmap (eg passing the buffer