summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2015-06-12Convert gst-plugins-base to stand-alone gst-plugins-xvbo packageRussell King
We want to be a stand-alone package to support the xvboimagesink plugin, so we don't want to replicate most of gst-plugins-base code here. Delete mode of it, and rename ourselves appropriately. Signed-off-by: Russell King <rmk@arm.linux.org.uk>
2015-06-12Add gstreamer xvboimagesink supportRussell King
Add the XVBO gstreamer plugin, which works with xf86-video-armada, allowing zero-copy playback by passing the buffer by reference to the Xorg Xv backend. This is done via a mechanism similar to that employed by Intel's XvMC implementation, but a little better. A conforming implementation advertises its supported formats via the usual Xv method, but includes a special "XVBO" fourcc in the list of supported formats. This format takes two 32-bit native-endian words, which are the fourcc for the format, and the DRM global name for the buffer. The Xorg DDX recognises the XVBO fourcc, and extracts the format and global name, imports the buffer and displays it. This allows implementations that need to pass the frame directly to the GPU and/or overlay to do so without incurring expensive CPU copy or cache maintanence costs. Signed-off-by: Russell King <rmk@arm.linux.org.uk>
2009-10-07ximagesink: only start event thread if neededStefan Kost
The event thread is doing 20 wakeups per second to poll the events. If one runs ximagesink with handle-events=false and handle-expose=false then we can avoid the extra thread.
2009-10-07v4l: fix compiler warningTim-Philipp Müller
Fix 'variable may be used uninitialized' compiler warning (which is true in theory, but can't actually ever happen, since we always call the function with check=FALSE). Fixes #596313.
2009-10-07xvimagesink: only start event thread if neededStefan Kost
The event thread is doing 20 wakeups per second to poll the events. If one runs xvimagesink with handle-events=false and handle-expose=false then we can avoid the extra thread.
2009-09-08ximagesink, xvimagesink: use new GstVideoSink::show_frame() vfuncTim-Philipp Müller
2009-09-06ximagesink: fix small memory leak when setting window titleRené Stadler
2009-09-06xvimagesink: fix small memory leak when setting window titleRené Stadler
2009-09-01v4lsrc: fix timestamping for when we do not have a clock yetTim-Philipp Müller
Should fix #559049.
2009-09-01v4lsrc: don't log not-yet-initialised integer valueTim-Philipp Müller
2009-09-01v4lsrc: avoid unnecessary run-time type checks in custom buffer finalizeTim-Philipp Müller
And reflow code to be more indent friendly.
2009-08-24Remove Ronald Bultje from Authors fieldDavid Schleef
Replaced with "GStreamer maintainers <gstreamer-devel@lists.sourceforge.net>" or just removed, depending on the number of other authors.
2009-07-13v4lsrc: optional support for device probing with gudevFilippo Argiolas
Enumerate v4l devices using gudev if available. Fixes bug #583640.
2009-07-06xvimagesink: use core performance log categoryStefan Kost
2009-06-27v4l: open/close device in ready.Stefan Kost
Simillar change like in v4l2src. This allows probing feature in paused, where streaming is noit yet started.
2009-06-22x(v)imagesink: pass the xwindow along to not look at the yet unset var.Stefan Kost
When we call this from xwindow_new, x(v)imagesink->xwindow is not yet set.
2009-06-22x(v)imagesink: catch tags and show title in own windowStefan Kost
Refactor the code that sets the window title. Catch tag-events and use title metadata for the window title.
2009-06-18xvimagesink: appname might be NULLStefan Kost
Don't set title if appname is unknown.
2009-06-18xvimagesink: set window title from application nameStefan Kost
2009-04-14ximagesink: fix mouse pointer offsets in navigation event if window is ↵Hannes Bistry
smaller than the image Fixes #570768.
2009-04-04navigation/v4l: Don't use g_return_val_if_fail for computed/used values.Edward Hervey
2009-03-31xvimagesink: use xcontext->depth instead of bits in attr.max_value for colorkeyStefan Kost
According to the drivers in http://cgit.freedesktop.org/xorg/driver/ we should format the colorkey depending on xcontext->depth. This is what they will use to interprete the value. The max_value in turn is usualy a constant regardless of the depth.
2009-03-25xvimagesink: scale the colorkey components in case of 16bit visualsStefan Kost
Use a default that won't be scales to 0,0,0
2009-03-13v4lsrc: Fix some valgrind warnings about leaked memory and uninitialised data.Jan Schmidt
2009-03-05v4l: add a fixme for broken code, that someone who has a v4l tuner device ↵Stefan Kost
should fix
2009-02-26ximagesink: use GST_FLOW_NOT_NEGOTIATED for partial capsStefan Kost
2009-02-26ximagsink: do not access uninitialized height variable.Stefan Kost
Exit like in xvimagesink, if we have partial caps.
2009-02-25xvimageink: protect buffer_alloc from shutdownWim Taymans
Use the pool_lock in the buffer_alloc function to detect shutdown. Avoids crashes when the sink is shutdown.
2009-02-22x(v)imagesink: Correctly cast to GstBuffer * before passing to ↵Sebastian Dröge
gst_buffer_unref()
2009-02-05xvimagesink: do not call _xwindow_clear on ready->paused.Stefan Kost
Calling clear at that transition does things like stopping xvideo (which is not running at that time) and also clearing anything what the application might have drawn. This breaks handle-expose and autopaint-colorkey features.
2009-02-02Fix buffer_alloc in ximagesinkWim Taymans
Remove some useless debug info that reported wrong image sizes. When upstream does not accept out suggested size, fall back to allocating an image of the requested width/height instead of the currently configured size. The problem is that an image is reused from the pool because the width/height match but the caps on the new buffer are the requested caps with possibly different height/width resulting in errors.
2009-01-23Add some more debugging to the Xv stridesWim Taymans
Add some more debugging to the strides as they are received from the server and the expected strides.
2009-01-13sys/xvimage/xvimagesink.c: Don't reset the colorkey when element is reused. ↵Stefan Kost
Fixes #567511. Original commit message from CVS: * sys/xvimage/xvimagesink.c: Don't reset the colorkey when element is reused. Fixes #567511.
2008-12-12gst/playback/gsturidecodebin.c: Free the factory array when finalizing.Edward Hervey
Original commit message from CVS: * gst/playback/gsturidecodebin.c: (gst_uri_decode_bin_finalize): Free the factory array when finalizing. * sys/v4l/gstv4lsrc.c: (gst_v4lsrc_base_init): Use a GstStaticPadTemplate since the src pad caps are fixed.
2008-12-03sys/: Clear all flags on buffers returned from the image pool.Edward Hervey
Original commit message from CVS: * sys/ximage/ximagesink.c: (gst_ximagesink_buffer_alloc): * sys/xvimage/xvimagesink.c: (gst_xvimagesink_buffer_alloc): Clear all flags on buffers returned from the image pool. Fixes #563143
2008-11-14sys/v4l/gstv4l.c: Give it a minimal rank for autovideosrc.Stefan Kost
Original commit message from CVS: * sys/v4l/gstv4l.c: Give it a minimal rank for autovideosrc.
2008-11-13sys/xvimage/xvimagesink.*: Avoid typechecking when we do trivial casts.Wim Taymans
Original commit message from CVS: * sys/xvimage/xvimagesink.c: (gst_xvimage_buffer_finalize), (gst_xvimagesink_xvimage_put), (gst_xvimagesink_setcaps), (gst_xvimagesink_show_frame), (gst_xvimagesink_buffer_alloc): * sys/xvimage/xvimagesink.h: Avoid typechecking when we do trivial casts. Move error handling out of the main program flow. Sneak in the display-region caps property, not completely correct yet. Cache the width/height in buffer_alloc instead of parsing it from the caps all the time.
2008-10-22sys/: Don't mark as gtk-doc docs as they aren't public.Stefan Kost
Original commit message from CVS: * sys/ximage/ximagesink.h: * sys/xvimage/xvimagesink.h: Don't mark as gtk-doc docs as they aren't public.
2008-10-22Allow setting colorkey if possible. Implement property probe interface for ↵Stefan Kost
optional X features (autopaint-colorkey, d... Original commit message from CVS: * sys/xvimage/xvimagesink.c: * sys/xvimage/xvimagesink.h: * tests/icles/Makefile.am: * tests/icles/test-colorkey.c: Allow setting colorkey if possible. Implement property probe interface for optional X features (autopaint-colorkey, double-buffer and colorkey). Fixes #554533
2008-10-16Don't install static libs for plugins. Fixes #550851 for base.Stefan Kost
Original commit message from CVS: * ext/alsa/Makefile.am: * ext/cdparanoia/Makefile.am: * ext/gio/Makefile.am: * ext/gnomevfs/Makefile.am: * ext/libvisual/Makefile.am: * ext/ogg/Makefile.am: * ext/pango/Makefile.am: * ext/theora/Makefile.am: * ext/vorbis/Makefile.am: * gst/adder/Makefile.am: * gst/audioconvert/Makefile.am: * gst/audiorate/Makefile.am: * gst/audioresample/Makefile.am: * gst/audiotestsrc/Makefile.am: * gst/ffmpegcolorspace/Makefile.am: * gst/gdp/Makefile.am: * gst/playback/Makefile.am: * gst/subparse/Makefile.am: * gst/tcp/Makefile.am: * gst/typefind/Makefile.am: * gst/videorate/Makefile.am: * gst/videoscale/Makefile.am: * gst/videotestsrc/Makefile.am: * gst/volume/Makefile.am: * sys/v4l/Makefile.am: * sys/ximage/Makefile.am: * sys/xvimage/Makefile.am: Don't install static libs for plugins. Fixes #550851 for base.
2008-10-11sys/xvimage/xvimagesink.c: Don't assert on caps==NULL.Stefan Kost
Original commit message from CVS: * sys/xvimage/xvimagesink.c: Don't assert on caps==NULL.
2008-09-05sys/xvimage/xvimagesink.c: No really, the next release is 0.10.21 (fix ↵Tim-Philipp Müller
Since: tags in docs). Original commit message from CVS: * sys/xvimage/xvimagesink.c: (gst_xvimagesink_class_init): No really, the next release is 0.10.21 (fix Since: tags in docs).
2008-09-04sys/xvimage/xvimagesink.*: Add a "draw-border" property that can be set to ↵Stefan Kost
false to disable drawing borders. Original commit message from CVS: * sys/xvimage/xvimagesink.c: * sys/xvimage/xvimagesink.h: Add a "draw-border" property that can be set to false to disable drawing borders. * tests/icles/test-colorkey.c: * tests/icles/Makefile.am: Add new test application for the colorkey handling.
2008-08-23sys/v4l/gstv4lelement.c: Reprobe devices again instead of taking a cached ↵Mike Ruprecht
list as new devices could've been plugged i... Original commit message from CVS: Patch by: Mike Ruprecht <cmaiku at gmail dot com> * sys/v4l/gstv4lelement.c: (gst_v4l_class_probe_devices): Reprobe devices again instead of taking a cached list as new devices could've been plugged in. Fixes bug #549062.
2008-08-07Make sure gettext returns translations in UTF-8 encoding rather than in the ↵Frederic Crozat
current locale encoding (#546822). Original commit message from CVS: Patch by: Frederic Crozat <fcrozat@mandriva.org> * ext/alsa/gstalsaplugin.c: (plugin_init): * ext/cdparanoia/gstcdparanoiasrc.c: (plugin_init): * ext/gnomevfs/gstgnomevfs.c: (plugin_init): * ext/ogg/gstoggdemux.c: (gst_ogg_demux_plugin_init): * gst-libs/gst/audio/gstbaseaudiosrc.c: (_do_init): * gst-libs/gst/pbutils/pbutils.c: (gst_pb_utils_init): * gst-libs/gst/tag/tags.c: (gst_tag_register_tags_internal): * gst/playback/gstdecodebin.c: (plugin_init): * gst/playback/gstdecodebin2.c: (gst_decode_bin_plugin_init): * gst/playback/gstplayback.c: (plugin_init): * gst/playback/gstqueue2.c: (plugin_init): * gst/playback/gsturidecodebin.c: (gst_uri_decode_bin_plugin_init): * sys/v4l/gstv4l.c: (plugin_init): Make sure gettext returns translations in UTF-8 encoding rather than in the current locale encoding (#546822).
2008-07-30sys/xvimage/xvimagesink.c: Fix a "may be used uninitialized in this ↵Edward Hervey
function" which weirdly only appears on macosx (?). Original commit message from CVS: * sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support): Fix a "may be used uninitialized in this function" which weirdly only appears on macosx (?).
2008-07-29sys/xvimage/Makefile.am: floor() needs linking to $(LIBM).Stefan Kost
Original commit message from CVS: * sys/xvimage/Makefile.am: floor() needs linking to $(LIBM).
2008-07-29gst/playback/gstplaybasebin.c: Fix property doc markup (its not a signal).Stefan Kost
Original commit message from CVS: * gst/playback/gstplaybasebin.c: Fix property doc markup (its not a signal). * sys/xvimage/xvimagesink.c: Add since tag for new proeprties (also add sice tags fro the last two other additions).
2008-07-29sys/xvimage/xvimagesink.*: Add autofill/colorkey properties. Fixes #538656.Stefan Kost
Original commit message from CVS: * sys/xvimage/xvimagesink.c: * sys/xvimage/xvimagesink.h: Add autofill/colorkey properties. Fixes #538656.
2008-07-29sys/xvimage/xvimagesink.c: Fix rounding errors when converting colorbalance ↵David Schleef
values between hardware and object proper... Original commit message from CVS: * sys/xvimage/xvimagesink.c: Fix rounding errors when converting colorbalance values between hardware and object property ranges. Partial fix for #537889, however, there still seems to be a small drift problem that could be totem's fault.