Commit graph

9526 commits

Author SHA1 Message Date
Wim Taymans
1aa7ad7dae 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.
2011-06-17 15:37:38 +02:00
Wim Taymans
a7ae8d41aa 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.
2011-06-17 15:33:12 +02:00
Wim Taymans
3802d2365c test: port some more tests 2011-06-16 13:41:25 +02:00
Wim Taymans
d06f599193 -base: port elements to new video caps 2011-06-16 12:52:13 +02:00
Wim Taymans
3b9477e173 video: add methods to parse X11 visuals
Add method to convert X11 visual description to GstVideoFormat
2011-06-16 12:52:13 +02:00
Wim Taymans
42fa1010cb video: update video caps 2011-06-16 12:52:13 +02:00
Jan Schmidt
c1a4650394 Remove deleted playbin/decodebin files from POTFILES.in 2011-06-16 14:23:25 +10: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
Wim Taymans
0d902c6d23 colorspace: add to build 2011-06-15 16:28:30 +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
Sebastian Dröge
017f2b1d88 [MOVED FROM BAD 43/68] colorspace: Add support for Y16 2011-06-15 16:12:55 +02:00
Sebastian Dröge
09e9e55441 [MOVED FROM BAD 42/68] colorspace: Fix Y800 ORC getline implementation 2011-06-15 16:12:55 +02:00
Sebastian Dröge
ecfd247f02 [MOVED FROM BAD 41/68] colorspace: Add support for A420 2011-06-15 16:12:55 +02:00
Sebastian Dröge
395640e0e6 [MOVED FROM BAD 40/68] colorspace: Add support for Y41B 2011-06-15 16:12:54 +02:00
Sebastian Dröge
b026b621a4 [MOVED FROM BAD 39/68] colorspace: Add support for SDTV/HDTV YUV conversions 2011-06-15 16:12:54 +02:00
Sebastian Dröge
5f2f053c09 [MOVED FROM BAD 38/68] colorspace: Add comment for the A420 getline/putline table row 2011-06-15 16:12:54 +02:00
Sebastian Dröge
d75118e42f [MOVED FROM BAD 37/68] colorspace: Add const to the source arrays and the getline/putline table 2011-06-15 16:12:54 +02:00
Sebastian Dröge
dd00c712c9 [MOVED FROM BAD 36/68] colorspace: Make fast-path transform table const 2011-06-15 16:12:54 +02:00
Sebastian Dröge
2c542f083b [MOVED FROM BAD 35/68] colorspace: Only do the I420->YUY2 conversion once per scanline in the fast path 2011-06-15 16:12:54 +02:00
David Schleef
cb4a45bfbd [MOVED FROM BAD 34/68] colorspace: quiet a GST_ERROR 2011-06-15 16:12:54 +02:00
Tim-Philipp Müller
3b8ae9da70 [MOVED FROM BAD 33/68] colorspace: add orc-dist files
Should fix build without orc or too old orc.
2011-06-15 16:12:54 +02:00
David Schleef
b045ad2216 [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.
2011-06-15 16:12:54 +02:00