gstreamer/sys/v4l2
Oleksij Rempel (Alexey Fisher) 4cd9255f0a v4l2src: fix v4l2_munmap() for compressed formats
Make sure we always call munmap() with the same size we called mmap()
with before.

Current v4l2src uses the same structure for VIDIOC_QUERYBUF, VIDIOC_QBUF
and v4l2_munmap calls. The problem is that the video buffer size (length)
may vary for compressed or emulated bufs. VIDIOC_QBUF will change it if
we pass the pointer of a v4l2_buffer. This is why we should avoid using
same variable for mmap and video buffers.

https://bugzilla.gnome.org/show_bug.cgi?id=671126
2012-03-03 13:07:40 +00:00
..
.gitignore add cvsignores 2003-09-11 19:17:02 +00:00
gstv4l2.c v4l2: new v4l2radio element to control analog radio devices 2011-03-27 20:29:43 +01:00
gstv4l2bufferpool.c v4l2src: fix v4l2_munmap() for compressed formats 2012-03-03 13:07:40 +00:00
gstv4l2bufferpool.h v4l2src: fix v4l2_munmap() for compressed formats 2012-03-03 13:07:40 +00:00
gstv4l2colorbalance.c sys/v4l2/Makefile.am: Fix makefile, list libs in stack order. 2006-09-26 13:18:06 +00:00
gstv4l2colorbalance.h Add -Wmissing-declarations -Wmissing-prototypes warning flags 2010-03-17 18:23:28 +01:00
gstv4l2object.c Suppress deprecation warnings in selected files, for g_value_array_* mostly 2012-02-27 14:47:25 +01:00
gstv4l2object.h v4l2: add norm property 2011-05-24 10:47:26 +02:00
gstv4l2radio.c v4l2radio: Free videodev string before replacing it 2011-04-14 13:38:30 +02:00
gstv4l2radio.h docs: fix docuemntation warnings (and reindent) 2011-04-05 12:06:55 +03:00
gstv4l2sink.c various: fix pad template leaks 2011-11-28 13:30:27 +00:00
gstv4l2sink.h v4l2sink: add navigation support 2010-12-29 11:46:42 -06:00
gstv4l2src.c v4l2src: fix caps leak 2012-01-13 17:25:59 +00:00
gstv4l2src.h docs: fix docuemntation warnings (and reindent) 2011-04-05 12:06:55 +03:00
gstv4l2tuner.c v4l2: add norm property 2011-05-24 10:47:26 +02:00
gstv4l2tuner.h v4l2: add norm property 2011-05-24 10:47:26 +02:00
gstv4l2vidorient.c sys/v4l2/: Fix compilation with newer GIT kernels that deprecated 2008-06-09 08:42:49 +00:00
gstv4l2vidorient.h Add -Wmissing-declarations -Wmissing-prototypes warning flags 2010-03-17 18:23:28 +01:00
gstv4l2xoverlay.c Work around deprecated thread API in glib master 2011-12-12 09:46:27 +00:00
gstv4l2xoverlay.h v4l2sink: add navigation support 2010-12-29 11:46:42 -06:00
Makefile.am v4l2: new v4l2radio element to control analog radio devices 2011-03-27 20:29:43 +01:00
README Fix level for multi-channel case. 2007-02-22 14:35:28 +00:00
v4l2_calls.c v4l2src: failure to query some optional controls is not a fatal error 2012-02-16 13:10:47 +00:00
v4l2_calls.h v4l2: remove unnecessary linux/videodev.h include 2011-03-03 17:37:19 +00:00
v4l2src_calls.c v4l2src: make this work more than once in a row 2011-08-26 10:33:10 +02:00
v4l2src_calls.h v4l2: add interlaced support 2010-12-29 11:46:42 -06:00

v4l2 plugins
============

The idea is a bit the same as the idea for the v4l1 plugins. We want
one generic v4l2element, and a few child objects (probably only two:
v4l2src and v4l2sink):

                /-------- v4l2src
v4l2element ---=
                \-------- v4l2sink

Both v4l2src and v4l2sink have a uncompressed and a compressed
recording-/playback-mode. Since this is all part of v4l2, the 'client'
of these elements, i.e. an application using v4l2src/v4l2sink, will
hardly notice this. All capsnego stuff is done inside, and the plugin
knows which formats are compressed and which are not.

Please note that the v4l1 and the v4l2 plugins are *not* compatible
concerning properties. Naming has been kept the same where possible,
but in some cases, properties had to be removed or added to make
full use of v4l2.

V4L2 API: http://linux.bytesex.org/v4l2/.
          http://v4l2spec.bytesex.org/
          /usr/include/linux/videodev2.h or

Kernel patches available from
          http://dl.bytesex.org/patches/.

Articles:
          http://lwn.net/Articles/203924/