gstreamer/sys/v4l2
Tim-Philipp Müller 2e0d8e8b93 sys/v4l2/v4l2src_calls.c: Turns out we don't always get the frame sizes in a predefined order from lowest to highest ...
Original commit message from CVS:
* sys/v4l2/v4l2src_calls.c:
(gst_v4l2src_probe_caps_for_format_and_size), (sort_by_frame_size),
(gst_v4l2src_probe_caps_for_format):
Turns out we don't always get the frame sizes in a predefined
order from lowest to highest resolution, so let's just sort the
list by frame size once we've queried the possible resolutions
rather than assume any particular order. Fixes probed caps for
the camera in my HP2133 mini notebook and makes v4l2src default
to a decent size.
2008-11-17 14:04:20 +00:00
..
.gitignore add cvsignores 2003-09-11 19:17:02 +00:00
gstv4l2.c sys/v4l2/gstv4l2.c: Give it a primary rank for autovideosrc. 2008-11-14 15:42:32 +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 configure.ac: Detect video4linux headers on Solaris too. 2008-01-21 19:35:58 +00:00
gstv4l2object.c sys/v4l2/: Fix memory leaks. Small code cleanups : No need for empty _init(). No need to memset instance structures. ... 2008-08-26 12:27:11 +00:00
gstv4l2object.h sys/v4l2/gstv4l2object.h: Getting the Class from an instance is not just a matter of casting it to the class struct b... 2008-10-03 11:32:47 +00:00
gstv4l2src.c sys/: Fix some spelling mistakes. Fixes #556802. 2008-11-13 17:45:59 +00:00
gstv4l2src.h sys/v4l2/: Fix memory leaks. Small code cleanups : No need for empty _init(). No need to memset instance structures. ... 2008-08-26 12:27:11 +00:00
gstv4l2tuner.c sys/v4l2/gstv4l2tuner.c: v4l2src doesn't have a property named "norm" so don't try to notify about changes to that pr... 2008-08-23 15:43:49 +00:00
gstv4l2tuner.h sys/v4l2/gstv4l2tuner.*: Fix _set_channel(): remove useless g_object_notify() for "channel" property that doesn't exi... 2006-10-18 11:04:09 +00:00
gstv4l2vidorient.c sys/v4l2/: Fix compilation with newer GIT kernels that deprecated 2008-06-09 08:42:49 +00:00
gstv4l2vidorient.h sys/v4l2/Makefile.am: Fix makefile, list libs in stack order. 2006-09-26 13:18:06 +00:00
gstv4l2xoverlay.c sys/v4l2/gstv4l2xoverlay.*: Fix build as per the patch in #338818 comment 36. 2006-10-09 07:01:19 +00:00
gstv4l2xoverlay.h sys/v4l2/gstv4l2xoverlay.*: Fix build as per the patch in #338818 comment 36. 2006-10-09 07:01:19 +00:00
Makefile.am Optionally use libv4l to access v4l2 devices. Fixes bug #545033. 2008-11-04 12:32:48 +00:00
README Fix level for multi-channel case. 2007-02-22 14:35:28 +00:00
v4l2_calls.c sys/: Fix some spelling mistakes. Fixes #556802. 2008-11-13 17:45:59 +00:00
v4l2_calls.h Optionally use libv4l to access v4l2 devices. Fixes bug #545033. 2008-11-04 12:32:48 +00:00
v4l2src_calls.c sys/v4l2/v4l2src_calls.c: Turns out we don't always get the frame sizes in a predefined order from lowest to highest ... 2008-11-17 14:04:20 +00:00
v4l2src_calls.h sys/v4l2/v4l2_calls.c: Treat ENOTTY (driver does not implement ioctl) the same as 2008-01-31 16:12:28 +00: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/