gstreamer/sys/v4l
Andy Wingo 84761c6a82 sys/v4l/v4lsrc_calls.*: Remove sync-related stuff.
Original commit message from CVS:
2005-07-07  Andy Wingo  <wingo@pobox.com>

* sys/v4l/v4lsrc_calls.h:
* sys/v4l/v4lsrc_calls.c: Remove sync-related stuff.
(gst_v4lsrc_get_fps_list): Moved here from gstv4lsrc.c.
(gst_v4lsrc_buffer_new): Totally derive from GstBuffer.

* sys/v4l/v4l_calls.h: Cast to V4lElement.
* sys/v4l/v4l_calls.c: Header loc fixen, don't load mjpeg, all
v4lelements are sources.

* sys/v4l/gstv4lxoverlay.h:
* sys/v4l/gstv4lxoverlay.c:
* sys/v4l/gstv4ltuner.h:
* sys/v4l/gstv4ltuner.c: Header loc fixen.

* sys/v4l/gstv4lsrc.h:
* sys/v4l/gstv4lsrc.c: Crucial GPL update. Clean up a bit, port to
PushSrc/BaseSrc. Removed most sync-related properties, videorate
or something should handle that. Made a live source.

* sys/v4l/gstv4lelement.h:
* sys/v4l/gstv4lelement.c: Derive from GstPushSrc. No more
signals. Some cleanups.

* sys/v4l/gstv4lcolorbalance.h: Interface header update.

* sys/v4l/gstv4l.c: Don't register v4lelement, or the jpeg/mjpeg
stuff.

* sys/v4l/Makefile.am: Build everything except the jpeg/mjpeg
stuff.

* sys/Makefile.am (SUBDIRS): Hit the V4L crack pipe.
2005-07-07 11:29:29 +00:00
..
.gitignore add cvsignores 2003-09-11 19:17:01 +00:00
gstv4l.c sys/v4l/v4lsrc_calls.*: Remove sync-related stuff. 2005-07-07 11:29:29 +00:00
gstv4lcolorbalance.c compile fixes for --disable-gst-debug, G_DISABLE_ASSERT and friends 2004-08-03 16:06:08 +00:00
gstv4lcolorbalance.h sys/v4l/v4lsrc_calls.*: Remove sync-related stuff. 2005-07-07 11:29:29 +00:00
gstv4lelement.c sys/v4l/v4lsrc_calls.*: Remove sync-related stuff. 2005-07-07 11:29:29 +00:00
gstv4lelement.h sys/v4l/v4lsrc_calls.*: Remove sync-related stuff. 2005-07-07 11:29:29 +00:00
gstv4ljpegsrc.c sys/v4l/: Add new v4ljpegsrc for handling the ov51x hacky "I'll give you jpeg inside rgb frames" driver. 2005-02-03 18:23:17 +00:00
gstv4ljpegsrc.h sys/v4l/: Add new v4ljpegsrc for handling the ov51x hacky "I'll give you jpeg inside rgb frames" driver. 2005-02-03 18:23:17 +00:00
gstv4lmjpegsink.c Many files: Null if we got it.... 2005-07-05 11:08:56 +00:00
gstv4lmjpegsink.h paranoia cleanups and a sync fix 2004-06-15 09:11:06 +00:00
gstv4lmjpegsrc.c sys/v4l/gstv4lmjpegsrc.c: Switch to list instead of range, since MJPEG-devices really just support decimations, not a... 2005-02-05 16:18:15 +00:00
gstv4lmjpegsrc.h ext/ogg/gstoggmux.c: Basic pad template which accepts OGM tracks, speex, flac, vorbis and theora. Any is incorrect. 2004-10-24 13:41:18 +00:00
gstv4lsrc.c sys/v4l/v4lsrc_calls.*: Remove sync-related stuff. 2005-07-07 11:29:29 +00:00
gstv4lsrc.h sys/v4l/v4lsrc_calls.*: Remove sync-related stuff. 2005-07-07 11:29:29 +00:00
gstv4ltuner.c sys/v4l/v4lsrc_calls.*: Remove sync-related stuff. 2005-07-07 11:29:29 +00:00
gstv4ltuner.h sys/v4l/v4lsrc_calls.*: Remove sync-related stuff. 2005-07-07 11:29:29 +00:00
gstv4lxoverlay.c sys/v4l/v4lsrc_calls.*: Remove sync-related stuff. 2005-07-07 11:29:29 +00:00
gstv4lxoverlay.h sys/v4l/v4lsrc_calls.*: Remove sync-related stuff. 2005-07-07 11:29:29 +00:00
Makefile.am sys/v4l/v4lsrc_calls.*: Remove sync-related stuff. 2005-07-07 11:29:29 +00:00
README - update links to v4l[12] API docs 2004-05-31 20:36:07 +00:00
TODO Remove all references to xvideosink, fix examples (#140845). 2005-01-09 14:53:59 +00:00
v4l_calls.c sys/v4l/v4lsrc_calls.*: Remove sync-related stuff. 2005-07-07 11:29:29 +00:00
v4l_calls.h sys/v4l/v4lsrc_calls.*: Remove sync-related stuff. 2005-07-07 11:29:29 +00:00
v4lmjpegsink_calls.c paranoia cleanups and a sync fix 2004-06-15 09:11:06 +00:00
v4lmjpegsink_calls.h paranoia cleanups and a sync fix 2004-06-15 09:11:06 +00:00
v4lmjpegsrc_calls.c ext/ogg/gstoggmux.c: Basic pad template which accepts OGM tracks, speex, flac, vorbis and theora. Any is incorrect. 2004-10-24 13:41:18 +00:00
v4lmjpegsrc_calls.h paranoia cleanups and a sync fix 2004-06-15 09:11:06 +00:00
v4lsrc_calls.c sys/v4l/v4lsrc_calls.*: Remove sync-related stuff. 2005-07-07 11:29:29 +00:00
v4lsrc_calls.h sys/v4l/v4lsrc_calls.*: Remove sync-related stuff. 2005-07-07 11:29:29 +00:00
videodev_mjpeg.h LICENSE_readme: typo 2004-05-01 15:40:08 +00:00

General Idea:
=============

                            _____/ gstv4lsrc.[ch]
                      _____/     \ v4lsrc_calls.[ch]
                     /
gstv4lelement.[ch] _/____________/ gstv4lmjpegsrc.[ch]
v4l_calls.[ch]      \            \ v4lmjpegsrc_calls.[ch]
                     \_____
                           \_____/ gstv4lmjpegsink.[ch]
                                 \ v4lmjpegsink_calls.[ch]

I.e., all the files on the right are child classes of
the v4lelement 'parent' on the left.

* v4lelement handles generic v4l stuff (picture settings,
    audio, norm/input setting, open()/close())
* v4lsrc, v4lmjpegsrc handle the capture specific
    functions. Maybe we'd need a v4lmpegsrc too
* v4lmjpegsink handles mjpeg hardware playback of video

Useful Documentation:
=====================
MJPEG/V4L API : ./videodev_mjpeg.h

V4L API       : /usr/include/linux/videodev.h or
                /usr/src/linux/Documentation/video4linux/API.html or
                http://linux.bytesex.org/v4l2/API.html

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

BSD/Meteor API: /usr/include/machine/ioctl_meteor.h

mjpegtools    : http://www.sourceforge.net/projects/mjpeg