gstreamer/sys/v4l2
Wim Taymans b90e11a094 sys/v4l2/: Fix pass at code cleanups, move errors cases out of the normal flow for additional code clarity.
Original commit message from CVS:
* sys/v4l2/gstv4l2object.c: (gst_v4l2_class_probe_devices),
(gst_v4l2_probe_needs_probe),
(gst_v4l2_object_install_properties_helper), (gst_v4l2_object_new),
(gst_v4l2_object_destroy), (gst_v4l2_object_set_property_helper),
(gst_v4l2_object_get_property_helper), (gst_v4l2_set_defaults),
(gst_v4l2_object_start), (gst_v4l2_object_stop):
* sys/v4l2/gstv4l2object.h:
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_class_init),
(gst_v4l2src_init), (gst_v4l2src_dispose),
(gst_v4l2src_set_property), (gst_v4l2src_get_property),
(gst_v4l2src_fixate), (gst_v4l2src_get_caps),
(gst_v4l2src_set_caps), (gst_v4l2src_get_read),
(gst_v4l2src_get_mmap), (gst_v4l2src_create):
* sys/v4l2/v4l2_calls.c: (gst_v4l2_get_capabilities),
(gst_v4l2_open), (gst_v4l2_close), (gst_v4l2_get_norm),
(gst_v4l2_set_norm), (gst_v4l2_get_frequency),
(gst_v4l2_set_frequency), (gst_v4l2_signal_strength),
(gst_v4l2_get_attribute), (gst_v4l2_set_attribute),
(gst_v4l2_get_input), (gst_v4l2_set_input):
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_fill_format_list),
(gst_v4l2src_queue_frame), (gst_v4l2src_grab_frame),
(gst_v4l2src_get_capture), (gst_v4l2src_set_capture),
(gst_v4l2src_capture_init), (gst_v4l2src_capture_start),
(gst_v4l2src_capture_stop), (gst_v4l2src_capture_deinit),
(gst_v4l2src_get_size_limits), (gst_v4l2src_set_fps),
(gst_v4l2src_get_fps), (gst_v4l2src_buffer_finalize),
(gst_v4l2src_buffer_new):
Fix pass at code cleanups, move errors cases out of the normal
flow for additional code clarity.
2006-09-26 11:06:17 +00:00
..
.gitignore add cvsignores 2003-09-11 19:17:02 +00:00
gstv4l2.c sys/v4l2/: Whitespace cleanups, dashify property-names. 2006-09-02 14:45:04 +00:00
gstv4l2colorbalance.c sys/v4l2/: Whitespace cleanups, dashify property-names. 2006-09-02 14:45:04 +00:00
gstv4l2colorbalance.h sys/v4l2/: Cleanup error messages and unify header comments 2006-09-02 14:28:55 +00:00
gstv4l2object.c sys/v4l2/: Fix pass at code cleanups, move errors cases out of the normal flow for additional code clarity. 2006-09-26 11:06:17 +00:00
gstv4l2object.h sys/v4l2/: Fix pass at code cleanups, move errors cases out of the normal flow for additional code clarity. 2006-09-26 11:06:17 +00:00
gstv4l2src.c sys/v4l2/: Fix pass at code cleanups, move errors cases out of the normal flow for additional code clarity. 2006-09-26 11:06:17 +00:00
gstv4l2src.h The test application and the plgind error messages has been improved. 2006-09-15 19:11:00 +00:00
gstv4l2tuner.c sys/v4l2/: Cleanup error messages and unify header comments 2006-09-02 14:28:55 +00:00
gstv4l2tuner.h sys/v4l2/: Cleanup error messages and unify header comments 2006-09-02 14:28:55 +00:00
gstv4l2vidorient.c Add Video Orientation interface support to v4l2src. 2006-09-19 13:08:35 +00:00
gstv4l2vidorient.h Add Video Orientation interface support to v4l2src. 2006-09-19 13:08:35 +00:00
gstv4l2xoverlay.c The test application and the plgind error messages has been improved. 2006-09-15 19:11:00 +00:00
gstv4l2xoverlay.h sys/v4l2/: Cleanup error messages and unify header comments 2006-09-02 14:28:55 +00:00
Makefile.am Add Video Orientation interface support to v4l2src. 2006-09-19 13:08:35 +00:00
README - update links to v4l[12] API docs 2004-05-31 20:36:07 +00:00
v4l2_calls.c sys/v4l2/: Fix pass at code cleanups, move errors cases out of the normal flow for additional code clarity. 2006-09-26 11:06:17 +00:00
v4l2_calls.h sys/v4l2/: Cleanup error messages and unify header comments 2006-09-02 14:28:55 +00:00
v4l2src_calls.c sys/v4l2/: Fix pass at code cleanups, move errors cases out of the normal flow for additional code clarity. 2006-09-26 11:06:17 +00:00
v4l2src_calls.h sys/v4l2/: Cleanup error messages and unify header comments 2006-09-02 14:28:55 +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/.