Wim Taymans [Mon, 4 Jul 2011 08:19:13 +0000 (10:19 +0200)]
video: More video helper library improvements
Make a new GstVideoFormatinfo structure that contains the specific information
related to a format such as the number of planes, components, subsampling,
pixel stride etc. The result is that we are now able to introduce the concept of
components again in the API.
Use tables to specify the formats and its properties.
Use macros to get information about the video format description.
Move code to set strides, offsets and size into one function.
Remove methods that are not handled with the structures.
Add methods to retrieve pointers and strides to the components in the video.
Mark Nauwelaerts [Tue, 28 Jun 2011 17:03:23 +0000 (19:03 +0200)]
playsink: only unset initialized GValue
Tim-Philipp Müller [Sun, 26 Jun 2011 22:17:03 +0000 (23:17 +0100)]
videoconvert: fix unused-but-set-variable compiler warning
Tim-Philipp Müller [Sun, 26 Jun 2011 22:16:08 +0000 (23:16 +0100)]
gst, sys: remove GstImplementsInterface usage
Tim-Philipp Müller [Sun, 26 Jun 2011 21:58:17 +0000 (22:58 +0100)]
alsa: don't use GstImplementsInterface
Tim-Philipp Müller [Sun, 26 Jun 2011 20:46:08 +0000 (21:46 +0100)]
gst-libs: remove GstImplementsInterface usage
Will need to add replacement API for some of these.
Tim-Philipp Müller [Sun, 26 Jun 2011 20:27:28 +0000 (21:27 +0100)]
Merge remote-tracking branch 'origin/master' into 0.11
Tim-Philipp Müller [Sun, 26 Jun 2011 00:06:58 +0000 (01:06 +0100)]
docs: minor addition to decodebin2 design doc
Tim-Philipp Müller [Sun, 26 Jun 2011 00:06:19 +0000 (01:06 +0100)]
tests: the navigation interface isn't GstImplementsInterface-wrapped
Tim-Philipp Müller [Sat, 25 Jun 2011 23:49:46 +0000 (00:49 +0100)]
interfaces: GstStreamVolume isn't wrapped by GstImplementsInterface
This interface depends on properties and isn't per-instance.
Tim-Philipp Müller [Sat, 25 Jun 2011 23:40:20 +0000 (00:40 +0100)]
rtsp: GstRTSPExtension isn't wrapped by GstImplementsInterface
Fix copy'n'paste error in headers, GstRTSPExtension isn't
something that's per-instance.
Tim-Philipp Müller [Sat, 25 Jun 2011 23:36:36 +0000 (00:36 +0100)]
tag: GstXmpWriter doesn't use the GstImplementsInterface
No need for per-instance checking of interface implementation here,
presumably just a copy'n'paste issue.
Jonathan Matthew [Sat, 11 Jun 2011 09:03:57 +0000 (19:03 +1000)]
encoding-target: set names on audio and video profiles
https://bugzilla.gnome.org/show_bug.cgi?id=652342
David Schleef [Thu, 23 Jun 2011 18:28:04 +0000 (11:28 -0700)]
Automatic update of common submodule
From 69b981f to 605cd9a
Wim Taymans [Thu, 23 Jun 2011 16:02:40 +0000 (18:02 +0200)]
theoradec: use cropping metadata
Wim Taymans [Thu, 23 Jun 2011 14:31:21 +0000 (16:31 +0200)]
x11: let upstream know we support cropping
Wim Taymans [Thu, 23 Jun 2011 10:55:13 +0000 (12:55 +0200)]
x11: add image cropping
Use the cropping metadata to crop the image.
Remove deprecated display-region property to set a clipping rectangle.
Wim Taymans [Thu, 23 Jun 2011 07:55:27 +0000 (09:55 +0200)]
meta: add some docs
Wim Taymans [Thu, 23 Jun 2011 07:30:19 +0000 (09:30 +0200)]
meta: add video crop metadata
Wim Taymans [Wed, 22 Jun 2011 17:35:16 +0000 (19:35 +0200)]
xvimagesink: handle unknown formats
Wim Taymans [Wed, 22 Jun 2011 14:38:48 +0000 (16:38 +0200)]
fix for uri changes
Wim Taymans [Wed, 22 Jun 2011 13:38:24 +0000 (15:38 +0200)]
x11: use frame copy functions
Wim Taymans [Wed, 22 Jun 2011 13:25:35 +0000 (15:25 +0200)]
video: add video copy function
Add a function to copy a video frame, taking care of source and destination
strides.
Wim Taymans [Wed, 22 Jun 2011 10:57:46 +0000 (12:57 +0200)]
seek: wait for the spinbutton widget
Wait for the spinbutton widget before trying to update it when the volume
changed callback is called.
Wim Taymans [Wed, 22 Jun 2011 09:45:58 +0000 (11:45 +0200)]
rtp: fix for allocator name change
Wim Taymans [Tue, 21 Jun 2011 16:17:59 +0000 (18:17 +0200)]
audio: clean up headers
Wim Taymans [Tue, 21 Jun 2011 16:13:48 +0000 (18:13 +0200)]
audio: clean up audiosink headers
Wim Taymans [Tue, 21 Jun 2011 16:08:12 +0000 (18:08 +0200)]
audio: clean up ringbuffer header
Wim Taymans [Tue, 21 Jun 2011 15:57:56 +0000 (17:57 +0200)]
Merge branch 'master' into 0.11
Conflicts:
configure.ac
docs/plugins/inspect/plugin-gnomevfs.xml
Wim Taymans [Tue, 21 Jun 2011 15:33:27 +0000 (17:33 +0200)]
videotestsrc: port to video helpers
Port videotestsrc to use the video helper functions to parse caps and handle
video frames.
Enable GstMetaVideo to make us handle strided video.
Wim Taymans [Tue, 21 Jun 2011 15:31:17 +0000 (17:31 +0200)]
video: use gint to make parsing easier
Use gint for with/height etc to make it easier to pass the variables to various
caps and structure parsing functions.
Wim Taymans [Tue, 21 Jun 2011 10:52:23 +0000 (12:52 +0200)]
videotestsrc: small cleanups
Wim Taymans [Mon, 20 Jun 2011 15:49:13 +0000 (17:49 +0200)]
videoscale: activate Video meta
Configure the allocator with GstMetaVideo because we can handle that using the
GstVideoFrame helpers.
Wim Taymans [Mon, 20 Jun 2011 15:36:24 +0000 (17:36 +0200)]
x11: delay pool activation
don't activate the pool we return in the ALLOCATION query because upstream might
still want to configure it
Wim Taymans [Mon, 20 Jun 2011 15:34:57 +0000 (17:34 +0200)]
videoconvert: use new allocation setup
Add setup_allocation to configure video metadata in the negotiated bufferpool.
Mark Nauwelaerts [Mon, 20 Jun 2011 13:43:57 +0000 (15:43 +0200)]
configure.ac: bump required GLib to 2.26
Wim Taymans [Mon, 20 Jun 2011 11:30:07 +0000 (13:30 +0200)]
theoradec: enable video metadata in the bufferpool
Enable the video metadata in the bufferpool.
Wim Taymans [Mon, 20 Jun 2011 11:28:12 +0000 (13:28 +0200)]
x11: handle new bufferpool metadata api
Provide a method to list the supported metadata apis.
Activate the video metadata on buffers when a downstream element configured the
bufferpool to support that api.
Wim Taymans [Mon, 20 Jun 2011 09:25:58 +0000 (11:25 +0200)]
video: remove intermediate Plane structure
Remove the GstVideoPlane structure and move the fields directly into the
GstVideoInfo structure. This makes things a little easier to read and also makes
it more likely that we can pass the stride array to external libraries.
Tim-Philipp Müller [Sat, 18 Jun 2011 12:32:17 +0000 (13:32 +0100)]
Bump git version after unplanned 0.10.35 release
Merge branch '0.10.35'
Conflicts:
configure.ac
docs/plugins/inspect/plugin-adder.xml
docs/plugins/inspect/plugin-alsa.xml
docs/plugins/inspect/plugin-app.xml
docs/plugins/inspect/plugin-audioconvert.xml
docs/plugins/inspect/plugin-audiorate.xml
docs/plugins/inspect/plugin-audioresample.xml
docs/plugins/inspect/plugin-audiotestsrc.xml
docs/plugins/inspect/plugin-cdparanoia.xml
docs/plugins/inspect/plugin-decodebin.xml
docs/plugins/inspect/plugin-encoding.xml
docs/plugins/inspect/plugin-ffmpegcolorspace.xml
docs/plugins/inspect/plugin-gdp.xml
docs/plugins/inspect/plugin-gio.xml
docs/plugins/inspect/plugin-gnomevfs.xml
docs/plugins/inspect/plugin-libvisual.xml
docs/plugins/inspect/plugin-ogg.xml
docs/plugins/inspect/plugin-pango.xml
docs/plugins/inspect/plugin-playback.xml
docs/plugins/inspect/plugin-subparse.xml
docs/plugins/inspect/plugin-tcp.xml
docs/plugins/inspect/plugin-theora.xml
docs/plugins/inspect/plugin-typefindfunctions.xml
docs/plugins/inspect/plugin-uridecodebin.xml
docs/plugins/inspect/plugin-videorate.xml
docs/plugins/inspect/plugin-videoscale.xml
docs/plugins/inspect/plugin-videotestsrc.xml
docs/plugins/inspect/plugin-volume.xml
docs/plugins/inspect/plugin-vorbis.xml
docs/plugins/inspect/plugin-ximagesink.xml
docs/plugins/inspect/plugin-xvimagesink.xml
gst-libs/gst/audio/Makefile.am
gst/subparse/gstsubparse.c
win32/common/_stdint.h
win32/common/config.h
Edward Hervey [Sat, 18 Jun 2011 09:16:19 +0000 (11:16 +0200)]
discoverer: Allow GError* argument to be NULL
This is how other methods taking GError* arguments behave.
Fixes #652838
Wim Taymans [Fri, 17 Jun 2011 15:54:52 +0000 (17:54 +0200)]
x11: use GstVideoInfo to parse caps
Use GstVideoInfo to keep track of the configured format.
Add GstMetaVideo to buffers, disabled by default for now until we can have it
enabled with a property on the bufferpool configuration.
Wim Taymans [Fri, 17 Jun 2011 15:44:56 +0000 (17:44 +0200)]
metavideo: small fixes
Set the buffer as a field in the metadata so that we can use it to map the
buffer data.
Fix wrong assert.
Wim Taymans [Fri, 17 Jun 2011 15:27:22 +0000 (17:27 +0200)]
x11: make function static
Don't export buffer creation function, we need to use the bufferpool
now.
Wim Taymans [Fri, 17 Jun 2011 14:47:25 +0000 (16:47 +0200)]
video: use metadata to set up strides
Use the GstMetaVideo when we can to map the buffers and set up the strides.
Wim Taymans [Fri, 17 Jun 2011 13:48:19 +0000 (15:48 +0200)]
Merge branch 'master' into 0.11
Conflicts:
tests/examples/Makefile.am
Wim Taymans [Fri, 17 Jun 2011 13:31:59 +0000 (15:31 +0200)]
-base: port to GstVideoFrame API
Wim Taymans [Fri, 17 Jun 2011 13:29:50 +0000 (15:29 +0200)]
video: Add GstVideoFrame helper structure
The videoframe structure can be used to easily parse the contents of video
buffers.
Wim Taymans [Fri, 17 Jun 2011 07:21:27 +0000 (09:21 +0200)]
video: port to new API
Add support for palette again.
Rewrite setup code for videoconvert using the new video methods.
Wim Taymans [Thu, 16 Jun 2011 17:35:27 +0000 (19:35 +0200)]
video: rework part 2
Update docs.
Add method to get number of components.
Implement method to calculate defaults from format and dimensions.
Improve caps parsing.
Implement GstVideoInfo to caps conversion.
Wim Taymans [Thu, 16 Jun 2011 14:27:31 +0000 (16:27 +0200)]
video: rework part 1
Add GstVideoFlags similar to the flags on the metadata. The idea is to replace
the metadata flags with the GstVideoFlags.
Move VideoPlane to video.h, it contains the information for a plane.
Add GstVideoInfo structure that holds the current configuration of a video
format.
Add methods to parse caps into GstVideoInfo.
Wim Taymans [Thu, 16 Jun 2011 11:41:25 +0000 (13:41 +0200)]
test: port some more tests
Wim Taymans [Thu, 16 Jun 2011 10:48:33 +0000 (12:48 +0200)]
-base: port elements to new video caps
Wim Taymans [Thu, 16 Jun 2011 10:43:54 +0000 (12:43 +0200)]
video: add methods to parse X11 visuals
Add method to convert X11 visual description to GstVideoFormat
Wim Taymans [Wed, 15 Jun 2011 14:16:02 +0000 (16:16 +0200)]
video: update video caps
Jan Schmidt [Thu, 16 Jun 2011 04:23:25 +0000 (14:23 +1000)]
Remove deleted playbin/decodebin files from POTFILES.in
Tim-Philipp Müller [Wed, 15 Jun 2011 18:29:48 +0000 (19:29 +0100)]
Release 0.10.35
This is an ad-hoc release that is almost identical to 0.10.34:
* work around GLib atomic ops API change
* don't use G_CONST_RETURN in public headers
* subparse: typefinding fixes for subtitles in non-UTF8 charsets
Wim Taymans [Wed, 15 Jun 2011 16:08:32 +0000 (18:08 +0200)]
some more ffmpegcolorspace to videoconvert changes
Wim Taymans [Wed, 15 Jun 2011 16:01:04 +0000 (18:01 +0200)]
ffmpegcolorspace: remove plugin
Wim Taymans [Wed, 15 Jun 2011 15:49:21 +0000 (17:49 +0200)]
videoconvert: renamed from colorspace
Wim Taymans [Wed, 15 Jun 2011 14:52:52 +0000 (16:52 +0200)]
colorspace: fix caps negotiation
Wim Taymans [Wed, 15 Jun 2011 14:28:44 +0000 (16:28 +0200)]
colorspace: port to 0.11
Wim Taymans [Wed, 15 Jun 2011 14:28:30 +0000 (16:28 +0200)]
colorspace: add to build
Tim-Philipp Müller [Sat, 30 Apr 2011 18:46:40 +0000 (19:46 +0100)]
[MOVED FROM BAD 68/68] Update orc-generated disted C backup code to orc 0.4.14
Tim-Philipp Müller [Wed, 27 Apr 2011 23:00:09 +0000 (00:00 +0100)]
[MOVED FROM BAD 67/68] 0.10.21.3 pre-release
Tim-Philipp Müller [Sun, 17 Apr 2011 00:09:33 +0000 (01:09 +0100)]
[MOVED FROM BAD 66/68] ext, gst: update disted orc backup files
Tim-Philipp Müller [Thu, 14 Apr 2011 23:09:14 +0000 (00:09 +0100)]
[MOVED FROM BAD 65/68] Fix some unused-but-set-variable warnings with gcc 4.6
Thibault Saunier [Mon, 11 Apr 2011 04:36:35 +0000 (00:36 -0400)]
[MOVED FROM BAD 64/68] android: make it ready for androgenizer
Remove the android/ top dir
Fixe the Makefile.am to be androgenized
To build gstreamer for android we are now using androgenizer which generates the needed Android.mk files.
Androgenizer can be found here: http://git.collabora.co.uk/?p=user/derek/androgenizer.git
David Schleef [Sat, 26 Feb 2011 03:59:05 +0000 (19:59 -0800)]
[MOVED FROM BAD 63/68] colorspace: set dithering enum directly
David Schleef [Sat, 26 Feb 2011 03:57:47 +0000 (19:57 -0800)]
[MOVED FROM BAD 62/68] colorspace: Add support for r210
David Schleef [Mon, 21 Feb 2011 07:01:30 +0000 (23:01 -0800)]
[MOVED FROM BAD 61/68] colorspace: Fix YUV->RGB matrixing
David Schleef [Mon, 21 Feb 2011 06:43:56 +0000 (22:43 -0800)]
[MOVED FROM BAD 60/68] colorspace: Add dithering
Dithering only happens when a 16-bit-per-channel format is
involved.
David Schleef [Sun, 20 Feb 2011 22:14:27 +0000 (14:14 -0800)]
[MOVED FROM BAD 59/68] colorspace: fix a few formats
David Schleef [Sat, 19 Feb 2011 21:12:41 +0000 (13:12 -0800)]
[MOVED FROM BAD 58/68] colorspace: Add 16-bit-per-channel handling
David Schleef [Sat, 19 Feb 2011 21:13:13 +0000 (13:13 -0800)]
[MOVED FROM BAD 57/68] colorspace: Fix memleak
David Schleef [Wed, 16 Feb 2011 02:12:02 +0000 (18:12 -0800)]
[MOVED FROM BAD 56/68] colorspace: Fix memory leak
David Schleef [Mon, 3 Jan 2011 00:13:56 +0000 (16:13 -0800)]
[MOVED FROM BAD 55/68] colorspace: Disable matrixing on big-endian
It's broken until someone writes better Orc code. Fixes #631232.
David Schleef [Mon, 22 Nov 2010 07:11:19 +0000 (23:11 -0800)]
[MOVED FROM BAD 54/68] colorspace: remove incorrect check
Sebastian Dröge [Fri, 5 Nov 2010 09:56:51 +0000 (10:56 +0100)]
[MOVED FROM BAD 53/68] colorspace: Update generated ORC sources
Sebastian Dröge [Thu, 4 Nov 2010 13:18:29 +0000 (14:18 +0100)]
[MOVED FROM BAD 52/68] colorspace: Inverse -base version check logic to actually make sense
Sebastian Dröge [Wed, 3 Nov 2010 14:37:48 +0000 (15:37 +0100)]
[MOVED FROM BAD 51/68] colorspace: Add support for IYU1
Sebastian Dröge [Wed, 3 Nov 2010 14:12:42 +0000 (15:12 +0100)]
[MOVED FROM BAD 50/68] colorspace: First version of YUV9 and YVU9 implementation
Sebastian Dröge [Wed, 3 Nov 2010 08:20:15 +0000 (09:20 +0100)]
[MOVED FROM BAD 49/68] colorspace: Use GST_CHECK_PLUGINS_BASE_VERSION() instead of other hacks
Tim-Philipp Müller [Tue, 2 Nov 2010 16:54:59 +0000 (16:54 +0000)]
[MOVED FROM BAD 48/68] colorspace: fix build with current git of gst-plugins-base
ifdef tests don't work so well if we define them in the code
above in case they aren't defined.
Sebastian Dröge [Tue, 2 Nov 2010 15:05:37 +0000 (16:05 +0100)]
[MOVED FROM BAD 47/68] colorspace: Add support for 8 bit paletted RGB
This needs the 8 bit paletted support from -base
which will be committed after release. Without this
the 8 bit parts are disabled.
Tim-Philipp Müller [Mon, 1 Nov 2010 15:53:52 +0000 (15:53 +0000)]
[MOVED FROM BAD 46/68] cog, colorspace: update orc backup functions for latest changes
Should fix build on systems without the latest orc.
Sebastian Dröge [Sun, 31 Oct 2010 22:46:27 +0000 (23:46 +0100)]
[MOVED FROM BAD 45/68] colorspace: Add support for RGB15 and BGR15
Sebastian Dröge [Sun, 31 Oct 2010 22:44:20 +0000 (23:44 +0100)]
[MOVED FROM BAD 44/68] colorspace: Add support for RGB16 and BGR16
Sebastian Dröge [Sun, 31 Oct 2010 22:25:57 +0000 (23:25 +0100)]
[MOVED FROM BAD 43/68] colorspace: Add support for Y16
Sebastian Dröge [Sun, 31 Oct 2010 22:25:40 +0000 (23:25 +0100)]
[MOVED FROM BAD 42/68] colorspace: Fix Y800 ORC getline implementation
Sebastian Dröge [Sun, 31 Oct 2010 22:07:43 +0000 (23:07 +0100)]
[MOVED FROM BAD 41/68] colorspace: Add support for A420
Sebastian Dröge [Sun, 31 Oct 2010 22:00:07 +0000 (23:00 +0100)]
[MOVED FROM BAD 40/68] colorspace: Add support for Y41B
Sebastian Dröge [Sun, 31 Oct 2010 21:39:38 +0000 (22:39 +0100)]
[MOVED FROM BAD 39/68] colorspace: Add support for SDTV/HDTV YUV conversions
Sebastian Dröge [Sun, 31 Oct 2010 21:21:35 +0000 (22:21 +0100)]
[MOVED FROM BAD 38/68] colorspace: Add comment for the A420 getline/putline table row
Sebastian Dröge [Sun, 31 Oct 2010 19:40:09 +0000 (20:40 +0100)]
[MOVED FROM BAD 37/68] colorspace: Add const to the source arrays and the getline/putline table
Sebastian Dröge [Sun, 31 Oct 2010 18:42:30 +0000 (19:42 +0100)]
[MOVED FROM BAD 36/68] colorspace: Make fast-path transform table const
Sebastian Dröge [Sun, 31 Oct 2010 18:39:33 +0000 (19:39 +0100)]
[MOVED FROM BAD 35/68] colorspace: Only do the I420->YUY2 conversion once per scanline in the fast path
David Schleef [Wed, 22 Sep 2010 01:13:37 +0000 (18:13 -0700)]
[MOVED FROM BAD 34/68] colorspace: quiet a GST_ERROR
Tim-Philipp Müller [Wed, 15 Sep 2010 20:47:09 +0000 (21:47 +0100)]
[MOVED FROM BAD 33/68] colorspace: add orc-dist files
Should fix build without orc or too old orc.
David Schleef [Tue, 14 Sep 2010 01:49:43 +0000 (18:49 -0700)]
[MOVED FROM BAD 32/68] colorspace: Add conversion code
Work in progress. Colorspace handles most format conversion using
3-stage getline/matrix/putline process using an AYUV or ARGB
intermediate, with most functions handled by Orc. There is also
a table of single-pass conversions, all handled by Orc. The plan
is to add optional stages for various chroma upsampling/downsampling
algorithms, dithering, and float/int16 intermediates, and then have
Orc create multi-stage functions at runtime.