mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
580121964c
Original commit message from CVS: Added pthread software sync for improved timestamps and pthread queue and sync control to make sure that frames are queued if we sync on them
30 lines
1.1 KiB
Text
30 lines
1.1 KiB
Text
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. mjpegsink is still
|
|
todo.
|
|
|
|
* 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
|
|
http://roadrunner.swansea.uk.linux.org/v4l.shtml
|
|
V4L2 API : http://www.thedirks.org/v4l2/
|
|
BSD/Meteor API: /usr/include/machine/ioctl_meteor.h
|
|
mjpegtools : http://www.sourceforge.net/projects/mjpeg
|