Commit graph

81 commits

Author SHA1 Message Date
Wim Taymans
225e98d623 Merge branch 'master' into 0.11
Conflicts:
	ext/flac/gstflacenc.c
	ext/jack/gstjackaudioclient.c
	ext/jack/gstjackaudiosink.c
	ext/jack/gstjackaudiosrc.c
	ext/pulse/plugin.c
	ext/shout2/gstshout2.c
	gst/matroska/matroska-mux.c
	gst/rtp/gstrtph264pay.c
2012-02-10 16:23:14 +01:00
Vincent Penquerc'h
e967e27c36 videobox: avoid wrapping opaque to transparent 2012-01-28 13:05:09 +00:00
Tim-Philipp Müller
66f6e12888 Work around deprecated thread API in glib master
Add private replacements for deprecated functions such as
g_mutex_new(), g_mutex_free(), g_cond_new() etc., mostly
to avoid the deprecation warnings. We'll change these
over to the new API once we depend on glib >= 2.32.
2011-12-12 09:46:27 +00:00
Vincent Penquerc'h
c0e101e93f various: fix pad template leaks
https://bugzilla.gnome.org/show_bug.cgi?id=662664
2011-11-28 13:30:27 +00:00
Stefan Sauer
fb162c8eb4 controller: port to new controller location and api 2011-11-04 20:15:48 +01:00
Tim-Philipp Müller
19216e7218 matroska, videobox, videofilter: fix compiler warnings when debugging is disabled in gstreamer
Fixes unused variable warnings when GStreamer's debugging system has been disabled.
2010-06-24 16:34:03 +01:00
Sebastian Dröge
7e0ea232d0 videobox: Fix negotiation for I420/YV12
We don't support conversion into *all* YUV
formats for them, only into I420/YV12/AYUV.

Fixes bug #622501.
2010-06-23 20:30:11 +02:00
David Schleef
4e84ab1f87 videobox: liboil to orc conversion 2010-06-08 17:25:35 -07:00
Sebastian Dröge
ad9ffeed03 videobox: Fix floating point to integer conversion for the alpha values
Fixes bug #619835.
2010-05-27 18:33:35 +02:00
Sebastian Dröge
e2eb012a41 videobox: Add support for Y444, Y42B and Y41B 2010-04-29 19:28:23 +02:00
Sebastian Dröge
d20306b699 videobox: Add support for YVYU and reorder template caps 2010-04-29 19:28:23 +02:00
Sebastian Dröge
4e836d3271 videobox: Translate navigation events to make sense again upstream 2010-04-29 19:28:23 +02:00
Sebastian Dröge
a105bf49e3 videobox: Properly handle ranges/lists of width or height when transforming caps
Code partly taken from the videocrop element.
2010-04-29 19:28:23 +02:00
Sebastian Dröge
90058bc076 videobox: Sync properties to the controller in before_transform 2010-04-29 19:28:22 +02:00
Sebastian Dröge
9fa14f8c37 videobox: Add support for YUY2 and UYUV 2010-04-29 19:28:22 +02:00
Sebastian Dröge
a904edfaf5 videobox: Use libgstvideo to get the order of RGB 2010-04-19 14:43:41 +02:00
Sebastian Dröge
386169b9fe videobox: Fix I420->I420 copying
Fixes bug #615143.
2010-04-16 15:27:56 +02:00
Sebastian Dröge
e6dd1fc3db videobox: Fix AYUV->I420 copying 2010-04-16 15:27:56 +02:00
Edward Hervey
146e50455b videobox: transform_caps : We can only convert AYUV to xRGB
We were previously stating that we could convert AYUV/I420/YV12 to xRGB.
2010-04-14 18:27:52 +02:00
Sebastian Dröge
37e3d2d9d5 videobox: Fix I420->AYUV copying 2010-04-12 11:43:49 +02:00
Sebastian Dröge
9da4f2906f videobox: Correctly clamp frame/background alphas to [0,255] before writing them 2010-04-12 11:27:40 +02:00
Sebastian Dröge
4e277ebe7b videobox: Add support for YV12, including conversion support for I420/AYUV 2010-04-07 17:43:56 +02:00
Sebastian Dröge
b4e3532c1f videobox: Add support for grayscale input/output
This doesn't do any conversion and is the next step to
replacing videocrop by supporting all remaining formats
in passthrough mode.
2010-04-07 17:27:12 +02:00
Sebastian Dröge
02a4a150e8 videobox: Add support for filling the background with red, yellow and white 2010-04-07 16:24:38 +02:00
Sebastian Dröge
a0fd92dfc1 videobox: Add support for direct RGB<->AYUV conversion 2010-04-07 16:12:51 +02:00
Sebastian Dröge
84ce6f2a2b videobox: Fix RGB24 filling 2010-04-07 16:12:51 +02:00
Sebastian Dröge
3c1940c187 videobox: Fix conversion from 3 byte RGB to ARGB 2010-04-05 17:31:36 +02:00
Sebastian Dröge
687ff84592 videobox: Add support for 3 byte RGB formats and refactor RGB code a bit 2010-04-05 17:08:15 +02:00
Sebastian Dröge
d0ad28ad54 videobox: Add support for all 32 bit RGB formats
...including conversion between them.
2010-04-05 15:52:11 +02:00
Sebastian Dröge
2873c3ad6b videobox: Fix AYUV->I420 frame copying 2010-03-26 13:45:46 +01:00
Sebastian Dröge
3bdd50c93b videobox: Always fill the complete frame if borders should be added
This makes sure that we don't get any gaps between rectangles because
of chroma subsampling for example.
2010-03-26 13:28:53 +01:00
Sebastian Dröge
298f1c3202 videobox: Refactor boxing to reduce code duplication 2010-03-26 13:28:53 +01:00
Sebastian Dröge
cd6b4214a6 videobox: Add const qualifier to the source frame data 2010-03-26 13:28:53 +01:00
Sebastian Dröge
42ff597f41 videobox: Fix autocropping for odd width/height differences 2010-03-09 21:03:18 +00:00
Sebastian Dröge
1819fcb4a5 videobox: Use libgstvideo for format specific stuff 2010-03-09 21:03:18 +00:00
Sebastian Dröge
4381b9296f videobox: Make properties controllable 2010-03-09 21:03:18 +00:00
Sebastian Dröge
7dcb294b54 videobox: Some cleanup 2010-03-09 21:03:18 +00:00
Sebastian Dröge
a9909c1abf videobox: Fix AYUV->I420 conversion
For this fix the averaging of the chroma values. It should't be (a/2 + b)/2
but just (a + b)/2.

Fixes bug #594599.
2009-09-09 16:28:53 +02:00
Sebastian Dröge
867b8c9d15 videobox: Split declarations into a header file and add autocrop stuff to the docs 2009-08-31 08:19:25 +02:00
Sebastian Dröge
6976f3d39a videobox: Reconfigure basetransform if something changes again
For this invent a new lock and don't abuse the basetransform lock,
otherwise we'll end up in deadlocks.
2009-08-31 08:19:25 +02:00
Stephen Jungels
041ddd6f8f videobox: Add support for autocropping according to the caps
Fixes bug #582238.
2009-08-31 08:19:25 +02:00
Wim Taymans
9ea2c113ba videobox: draw the complete U and V planes
Round up the scaled U and V width and height so that we always draw the correct
amount of pixels to fill the complete image.

Fixes #569611
2009-05-04 11:26:56 +02:00
Edward Hervey
971fbb246b videbox: Remove dead assignments.
These variables are never read after this point.
2009-04-18 18:51:28 +02:00
Edward Hervey
0cb5b42d54 Remove trivial unused variables detected by CLang static analyzer. 2009-04-18 18:51:28 +02:00
Stefan Kost
a99d3f8769 Update and add documentation for plugins with no deps (gst).
Link to properties. Correct titles for examples. Document a few trivial cases. Keep lists in section file and docs/plugins/Makefile.am alphabetically ordered.
2009-01-28 12:32:59 +02:00
Wim Taymans
8508561fcc gst/videobox/gstvideobox.c: support dynamically changing properties in videobox
Original commit message from CVS:
* gst/videobox/gstvideobox.c:
support dynamically changing properties in videobox
Fixed: #557085
Patch By: Wim Taymans <wim.taymans@collabora.co.uk>
2008-10-21 12:38:35 +00:00
Wim Taymans
3033108c05 gst/videobox/gstvideobox.c: Use new basetransform method to renegotiate. Fixes #544956.
Original commit message from CVS:
* gst/videobox/gstvideobox.c: (gst_video_box_set_property):
Use new basetransform method to renegotiate. Fixes #544956.
* tests/icles/Makefile.am:
* tests/icles/videobox-test.c: (make_pipeline), (main):
Add videobox renegotiation example.
2008-08-20 10:59:52 +00:00
Arek Korbik
3a005c9579 gst/videobox/gstvideobox.c: Initialise liboil in plugin_init()
Original commit message from CVS:
Patch by: Arek Korbik <arkadini@gmail.com>

* gst/videobox/gstvideobox.c: (plugin_init):
Initialise liboil in plugin_init()
2007-11-29 11:40:15 +00:00
Michael Smith
cf57faff63 gst/videobox/gstvideobox.c: Render right border in the correct location.
Original commit message from CVS:
* gst/videobox/gstvideobox.c: (gst_video_box_ayuv_i420):
Render right border in the correct location.
2007-08-08 17:47:05 +00:00
Tim-Philipp Müller
37e3097981 gst/videobox/gstvideobox.c: Printf fixes in debug statements; use LOG level for debug statements that are printed for...
Original commit message from CVS:
* gst/videobox/gstvideobox.c: (gst_video_box_ayuv_i420):
Printf fixes in debug statements; use LOG level for debug statements
that are printed for each and every frame; convert c++ comments to
C-style comments; not much point using g_try_malloc() if we then not
even check the return value.
2007-06-06 08:53:12 +00:00