summaryrefslogtreecommitdiffstats
path: root/sys/v4l2/v4l2_calls.c
AgeCommit message (Collapse)AuthorFilesLines
2006-09-27sys/v4l2/: Renamed some properties to match the tuner interface naming.Wim Taymans1-11/+12
Original commit message from CVS: * sys/v4l2/gstv4l2object.c: (gst_v4l2_object_install_properties_helper), (gst_v4l2_object_new), (gst_v4l2_object_set_property_helper), (gst_v4l2_object_get_property_helper), (gst_v4l2_set_defaults): * sys/v4l2/gstv4l2object.h: * sys/v4l2/gstv4l2src.c: (gst_v4l2src_class_init), (gst_v4l2src_create): * sys/v4l2/gstv4l2tuner.c: (gst_v4l2_tuner_contains_channel), (gst_v4l2_tuner_list_channels), (gst_v4l2_tuner_set_channel_and_notify), (gst_v4l2_tuner_get_channel), (gst_v4l2_tuner_contains_norm), (gst_v4l2_tuner_list_norms), (gst_v4l2_tuner_set_norm_and_notify), (gst_v4l2_tuner_get_norm): * sys/v4l2/v4l2_calls.c: (gst_v4l2_get_capabilities), (gst_v4l2_fill_lists), (gst_v4l2_empty_lists): * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_get_fps): Renamed some properties to match the tuner interface naming.
2006-09-27Small cleanups.Wim Taymans1-17/+17
Original commit message from CVS: * sys/v4l2/gstv4l2object.c: (gst_v4l2_object_set_property_helper), (gst_v4l2_set_defaults): * sys/v4l2/gstv4l2src.c: (gst_v4l2src_get_read), (gst_v4l2src_create): * sys/v4l2/gstv4l2xoverlay.c: (gst_v4l2_xoverlay_open): * sys/v4l2/v4l2_calls.c: (gst_v4l2_get_capabilities), (gst_v4l2_fill_lists), (gst_v4l2_open), (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_grab_frame), (gst_v4l2src_get_capture), (gst_v4l2src_set_capture), (gst_v4l2src_capture_init), (gst_v4l2src_capture_start), (gst_v4l2src_capture_stop), (gst_v4l2src_buffer_new): * tests/icles/v4l2src-test.c: (my_bus_callback), (main): Small cleanups. Fix error messages. Use locks when getting timestamps. Fix leaks in test. Add licensing header to tests.
2006-09-27Some cleanups and comments.Edgard Lima1-147/+73
Original commit message from CVS: Some cleanups and comments.
2006-09-26sys/v4l2/: Fix pass at code cleanups, move errors cases out of the normal ↵Wim Taymans1-95/+154
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-15The test application and the plgind error messages has been improved.Edgard Lima1-64/+68
Original commit message from CVS: The test application and the plgind error messages has been improved.
2006-09-02sys/v4l2/: Cleanup error messages and unify header commentsStefan Kost1-7/+10
Original commit message from CVS: * sys/v4l2/gstv4l2.c: * sys/v4l2/gstv4l2colorbalance.c: * sys/v4l2/gstv4l2colorbalance.h: * sys/v4l2/gstv4l2object.c: * sys/v4l2/gstv4l2object.h: * sys/v4l2/gstv4l2src.c: * sys/v4l2/gstv4l2src.h: * sys/v4l2/gstv4l2tuner.c: * sys/v4l2/gstv4l2tuner.h: * sys/v4l2/gstv4l2xoverlay.c: (gst_v4l2_xoverlay_open): * sys/v4l2/gstv4l2xoverlay.h: * sys/v4l2/v4l2_calls.c: (gst_v4l2_get_capabilities), (gst_v4l2_open): * sys/v4l2/v4l2_calls.h: * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_queue_frame), (gst_v4l2src_capture_init): * sys/v4l2/v4l2src_calls.h: Cleanup error messages and unify header comments
2006-08-28sys/v4l2/v4l2_calls.c: add comments and more debug loggingStefan Kost1-4/+16
Original commit message from CVS: * sys/v4l2/v4l2_calls.c: (gst_v4l2_fill_lists): add comments and more debug logging
2006-05-11Changes proposed by Wingo in bug #338818.Edgard Lima1-187/+217
Original commit message from CVS: Changes proposed by Wingo in bug #338818.
2006-05-05Some changes proposed by wingo in bug #338818 (but not everything yet). ↵Martin Rubli1-112/+12
Patch from Martin Rubli to fix framerate dete... Original commit message from CVS: Some changes proposed by wingo in bug #338818 (but not everything yet). Patch from Martin Rubli to fix framerate detection.
2006-05-01Few improvements to move to good.Edgard Lima1-22/+31
Original commit message from CVS: Few improvements to move to good.
2006-03-25Just make few things more robust and also some identation.Edgard Lima1-15/+33
Original commit message from CVS: Just make few things more robust and also some identation.
2006-03-11V4L2 ported to 0.10.Edgard Lima1-118/+124
Original commit message from CVS: V4L2 ported to 0.10.
2005-12-06expand tabsThomas Vander Stichele1-3/+3
Original commit message from CVS: expand tabs
2004-10-24sys/v4l2/gstv4l2element.c: Flag typo.Ronald S. Bultje1-8/+11
Original commit message from CVS: * sys/v4l2/gstv4l2element.c: (gst_v4l2element_get_property): Flag typo. * sys/v4l2/v4l2_calls.c: (gst_v4l2_set_defaults): No warnings.
2004-05-31gst-libs/gst/tuner/tunerchannel.h: - add a freq_multiplicator field to make ↵Stéphane Loeuillet1-4/+12
the conversion between internal frequency... Original commit message from CVS: * gst-libs/gst/tuner/tunerchannel.h: - add a freq_multiplicator field to make the conversion between internal frequency unit and Hz * sys/v4l/gstv4lelement.c: * sys/v4l2/gstv4l2element.c: - change default video device to /dev/video0 * sys/v4l/v4l_calls.c: * sys/v4l2/v4l2_calls.c: - we only expose frequency to the user in Hz instead of bastard v4lX unit (either 62.5kHz or 62.5Hz)
2004-03-15don't mix tabs and spacesThomas Vander Stichele1-116/+116
Original commit message from CVS: don't mix tabs and spaces
2004-03-14gst-indentThomas Vander Stichele1-486/+456
Original commit message from CVS: gst-indent
2004-02-02change NULL to (NULL) for GST_ELEMENT_ERRORThomas Vander Stichele1-20/+20
Original commit message from CVS: change NULL to (NULL) for GST_ELEMENT_ERROR Make sure errors end with "."
2004-01-29GST_ELEMENT_ERRORThomas Vander Stichele1-20/+20
Original commit message from CVS: GST_ELEMENT_ERROR
2004-01-19putting i18n in place for pluginsThomas Vander Stichele1-18/+18
Original commit message from CVS: putting i18n in place for plugins
2004-01-19updating v4l2 for new error handlingThomas Vander Stichele1-60/+63
Original commit message from CVS: updating v4l2 for new error handling
2004-01-12sys/v4l2/: add norm, channel and frequency properties.Benjamin Otte1-1/+47
Original commit message from CVS: 2004-01-12 Benjamin Otte <in7y118@public.uni-hamburg.de> * sys/v4l2/gstv4l2element.c: (gst_v4l2element_class_init), (gst_v4l2element_dispose), (gst_v4l2element_set_property), (gst_v4l2element_get_property): * sys/v4l2/v4l2_calls.c: (gst_v4l2_set_defaults), (gst_v4l2_open): add norm, channel and frequency properties. * sys/v4l2/gstv4l2tuner.c: fixes for tuner interface changes * sys/v4l2/gstv4l2element.h: * sys/v4l2/gstv4l2src.c: * sys/v4l2/gstv4l2src.h: * sys/v4l2/v4l2src_calls.c: * sys/v4l2/v4l2src_calls.h: rework v4l2src to work with saa1734 cards and allow mmaped buffers.
2003-11-10Proper device-capabilities check when openingRonald S. Bultje1-0/+11
Original commit message from CVS: Proper device-capabilities check when opening
2003-10-26Oops, input <-> output confusionRonald S. Bultje1-1/+1
Original commit message from CVS: Oops, input <-> output confusion
2003-10-10Some interface implementations for video4linux/video4linux2 plugins: a Tuner ↵Ronald S. Bultje1-273/+206
interface, with which one can select inp... Original commit message from CVS: Some interface implementations for video4linux/video4linux2 plugins: * a Tuner interface, with which one can select inputs and stations. Audio work is underway here, but unfinished. * A Xoverlay interface with which one can do simple overlay. Similar to the API of the v4l/Xv XFree86 extension. Widget implementation for GTK-2.0 coming up in the sandbox. * Colorbalance - for adapting colors (brightness, contrast, etc.) - pretty basic and maybe somewhat overdesigned. But it'll do for now. Apart from these interfaces, there's also a loadable library 'xwindowlistener' that listenes to X for the movement of a window and the overlap of other windows. This is partly copied from xawtv (and thus partly GPL :(), but it's needed for the xoverlay interface implementation in the v4l/v4l2 elements. Lastly, some small changes to remove redundant properties from the v4l/v4l2 elements since these can be done much simpler. Comments appreciated!
2003-07-03Fix missing config.h and unistd.h includes which were apparently removed ↵Ronald S. Bultje1-0/+1
from gst/gst.h recently Original commit message from CVS: Fix missing config.h and unistd.h includes which were apparently removed from gst/gst.h recently
2003-06-29compatibility fix for new GST_DEBUG stuff.Benjamin Otte1-1/+1
Original commit message from CVS: compatibility fix for new GST_DEBUG stuff. Includes fixes for missing includes for config.h and unistd.h I only ensured for plugins I can build that they work, so if some of them are still broken, you gotta fix them yourselves unfortunately.
2003-03-02Unification of the way to speak to v4l2 and v4l elements... Also fix a ↵Ronald S. Bultje1-153/+91
segfautl when doing gst-inspect v4l2src Original commit message from CVS: Unification of the way to speak to v4l2 and v4l elements... Also fix a segfautl when doing gst-inspect v4l2src
2002-11-13v4l plugins: add open/close signals v4l2 plugins: add open/close signals ↵Ronald S. Bultje1-81/+86
move source format enumeration from v4l2elem... Original commit message from CVS: v4l plugins: * add open/close signals v4l2 plugins: * add open/close signals * move source format enumeration from v4l2element to v4l2src * adapt to the final v4l2 API in kernel 2.5 (patches for 2.4 on http://bytesex.org/patches) * small tweaks
2002-10-26Let's use g_strerror() instead of strerror()Ronald S. Bultje1-19/+19
Original commit message from CVS: Let's use g_strerror() instead of strerror()
2002-10-24Use strerror() instead of sys_errlist[] (deprecated)Ronald S. Bultje1-19/+19
Original commit message from CVS: Use strerror() instead of sys_errlist[] (deprecated)
2002-09-28I'm such an idiot - these files should have been in a week agoRonald S. Bultje1-10/+0
Original commit message from CVS: I'm such an idiot - these files should have been in a week ago
2002-09-17This fixes the video4linux/video4linux2 debug output, which had one \n too muchRonald S. Bultje1-1/+1
Original commit message from CVS: This fixes the video4linux/video4linux2 debug output, which had one \n too much
2002-09-09this adds video4linux2 source and element plugins. The division in v4l2* ↵Ronald S. Bultje1-0/+863
plugins is the same as for v4l1 - i.e. an el... Original commit message from CVS: this adds video4linux2 source and element plugins. The division in v4l2* plugins is the same as for v4l1 - i.e. an element, a src and a sink, but there won't be separate encoding plugins (like v4lmjpegsrc) - all functionality is (thanks to video4linux2) integrated in one plugin: v4l2src. v4l2sink is still to be done, that'll come later.