Commit graph

2832 commits

Author SHA1 Message Date
Tim-Philipp Müller dd56714b14 ffmpegcolorspace -> videoconvert 2011-07-07 23:59:59 +01:00
Wim Taymans 26cc33cb62 Merge branch 'master' into 0.11
Conflicts:
	gst-libs/gst/tag/gstxmptag.c
	gst/encoding/gststreamsplitter.c
2011-07-07 11:10:39 +02:00
Wim Taymans 43bee0022a audioconvert: update orc dist files 2011-07-07 10:28:08 +02:00
Wim Taymans d051f3cb5b audioconvert: don't use .init function
Don't use the .init function but compile all functions when needed instead of
when the plugin is registered.
2011-07-07 10:24:55 +02:00
Wim Taymans ddce68a5c2 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.
2011-07-04 16:01:14 +02:00
Luis de Bethencourt bf816fe816 encodebin: fix compiler warning
cspace and cspace2 may run uninitialized.
2011-06-30 19:57:22 +01:00
Robert Swain 7ad1ba6fba encodebin: Add flags to disable conversion elements
Add a flags property and two flags to allow one to disable the
conversion elements within encodebin. Doing so insists that the
uncompressed input to encodebin for the appropriate stream type is
sufficient to meet the caps requirements of the encoders, muxers and
encodebin target.

This is mostly beneficial to bypass slow caps negotiations in the
conversion elements.
2011-06-30 00:59:18 +02:00
Robert Swain dc79c42484 streamsplitter: Fix getcaps src pad caps merge
Caps returned from gst_pad_peer_get_caps_reffed () may not be writable.
If they are not is should cause an assertion in gst_caps_merge (),
however, sometimes assertions are disabled in binary builds of -base and
it's safer to just be sure the caps are writable. Also, check that the
reffed caps pointer is not NULL.
2011-06-29 11:57:52 +02:00
Mark Nauwelaerts ebfd6acde1 playsink: only unset initialized GValue 2011-06-28 19:03:23 +02:00
Philip Jägenstedt f3e65f1c93 typefind: NULL check in degas_type_find
The length check isn't sufficient, an source might
report the correct length, but then still fail to
read the requested number of bytes for some reason.

https://bugzilla.gnome.org/show_bug.cgi?id=652642
2011-06-26 23:31:33 +01:00
Tim-Philipp Müller 92a85024de videoconvert: fix unused-but-set-variable compiler warning 2011-06-26 23:17:39 +01:00
Tim-Philipp Müller 8cede4ae6a gst, sys: remove GstImplementsInterface usage 2011-06-26 23:16:08 +01:00
Wim Taymans 2732300adc 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.
2011-06-21 17:36:21 +02:00
Wim Taymans b43121e061 videotestsrc: small cleanups 2011-06-21 12:52:23 +02:00
Wim Taymans 97567606e2 videoscale: activate Video meta
Configure the allocator with GstMetaVideo because we can handle that using the
GstVideoFrame helpers.
2011-06-20 17:49:13 +02:00
Wim Taymans 426ec86be0 videoconvert: use new allocation setup
Add setup_allocation to configure video metadata in the negotiated bufferpool.
2011-06-20 17:39:05 +02:00
Wim Taymans 6d9e76f2de 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.
2011-06-20 11:25:58 +02:00
Wim Taymans d93129d8da -base: port to GstVideoFrame API 2011-06-17 15:41:31 +02:00
Wim Taymans 6a254de438 video: port to new API
Add support for palette again.
Rewrite setup code for videoconvert using the new video methods.
2011-06-17 15:39:50 +02:00
Wim Taymans d06f599193 -base: port elements to new video caps 2011-06-16 12:52:13 +02:00
Wim Taymans d700111396 some more ffmpegcolorspace to videoconvert changes 2011-06-15 18:08:32 +02:00
Wim Taymans 35bec59536 ffmpegcolorspace: remove plugin 2011-06-15 18:01:04 +02:00
Wim Taymans db0a2f51b8 videoconvert: renamed from colorspace 2011-06-15 17:49:21 +02:00
Wim Taymans b94f979317 colorspace: fix caps negotiation 2011-06-15 16:52:52 +02:00
Wim Taymans edf33ec985 colorspace: port to 0.11 2011-06-15 16:28:44 +02:00
Tim-Philipp Müller e5a873db9d [MOVED FROM BAD 68/68] Update orc-generated disted C backup code to orc 0.4.14 2011-06-15 16:12:56 +02:00
Tim-Philipp Müller c68739369f [MOVED FROM BAD 67/68] 0.10.21.3 pre-release 2011-06-15 16:12:56 +02:00
Tim-Philipp Müller 23336a573f [MOVED FROM BAD 66/68] ext, gst: update disted orc backup files 2011-06-15 16:12:56 +02:00
Tim-Philipp Müller 003abf00d9 [MOVED FROM BAD 65/68] Fix some unused-but-set-variable warnings with gcc 4.6 2011-06-15 16:12:56 +02:00
Thibault Saunier f4eb67718f [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
2011-06-15 16:12:56 +02:00
David Schleef 18c312473a [MOVED FROM BAD 63/68] colorspace: set dithering enum directly 2011-06-15 16:12:56 +02:00
David Schleef 18b568725a [MOVED FROM BAD 62/68] colorspace: Add support for r210 2011-06-15 16:12:56 +02:00
David Schleef 321cdc1340 [MOVED FROM BAD 61/68] colorspace: Fix YUV->RGB matrixing 2011-06-15 16:12:56 +02:00
David Schleef f53d15156b [MOVED FROM BAD 60/68] colorspace: Add dithering
Dithering only happens when a 16-bit-per-channel format is
involved.
2011-06-15 16:12:56 +02:00
David Schleef 1b3697cfe3 [MOVED FROM BAD 59/68] colorspace: fix a few formats 2011-06-15 16:12:56 +02:00
David Schleef 88a08599df [MOVED FROM BAD 58/68] colorspace: Add 16-bit-per-channel handling 2011-06-15 16:12:56 +02:00
David Schleef 4ae30538dc [MOVED FROM BAD 57/68] colorspace: Fix memleak 2011-06-15 16:12:56 +02:00
David Schleef 3c73b42cee [MOVED FROM BAD 56/68] colorspace: Fix memory leak 2011-06-15 16:12:56 +02:00
David Schleef be7f42f0ac [MOVED FROM BAD 55/68] colorspace: Disable matrixing on big-endian
It's broken until someone writes better Orc code.  Fixes #631232.
2011-06-15 16:12:56 +02:00
David Schleef 02ab743f36 [MOVED FROM BAD 54/68] colorspace: remove incorrect check 2011-06-15 16:12:55 +02:00
Sebastian Dröge 530279424f [MOVED FROM BAD 53/68] colorspace: Update generated ORC sources 2011-06-15 16:12:55 +02:00
Sebastian Dröge 45fc6162b5 [MOVED FROM BAD 52/68] colorspace: Inverse -base version check logic to actually make sense 2011-06-15 16:12:55 +02:00
Sebastian Dröge 660b1af2dc [MOVED FROM BAD 51/68] colorspace: Add support for IYU1 2011-06-15 16:12:55 +02:00
Sebastian Dröge 03d440668e [MOVED FROM BAD 50/68] colorspace: First version of YUV9 and YVU9 implementation 2011-06-15 16:12:55 +02:00
Sebastian Dröge 34cb2fa4a5 [MOVED FROM BAD 49/68] colorspace: Use GST_CHECK_PLUGINS_BASE_VERSION() instead of other hacks 2011-06-15 16:12:55 +02:00
Tim-Philipp Müller e857835fe8 [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.
2011-06-15 16:12:55 +02:00
Sebastian Dröge 3c106bad31 [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.
2011-06-15 16:12:55 +02:00
Tim-Philipp Müller 93862e63d8 [MOVED FROM BAD 46/68] cog, colorspace: update orc backup functions for latest changes
Should fix build on systems without the latest orc.
2011-06-15 16:12:55 +02:00
Sebastian Dröge 85b0252c5e [MOVED FROM BAD 45/68] colorspace: Add support for RGB15 and BGR15 2011-06-15 16:12:55 +02:00
Sebastian Dröge 5c3ec3819d [MOVED FROM BAD 44/68] colorspace: Add support for RGB16 and BGR16 2011-06-15 16:12:55 +02:00