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
Dejan Sakelšak
82a509fdfd
gst/videobox/gstvideobox.c: Add AYUV->AYUV and AYUV->I420 formats.
...
Original commit message from CVS:
Based on patch by: Dejan Sakelšak <sakdean at gmail dot com>
* gst/videobox/gstvideobox.c: (gst_video_box_class_init),
(gst_video_box_set_property), (gst_video_box_transform_caps),
(video_box_recalc_transform), (gst_video_box_set_caps),
(gst_video_box_get_unit_size), (gst_video_box_apply_alpha),
(gst_video_box_ayuv_ayuv), (gst_video_box_clear), (UVfloor),
(UVceil), (gst_video_box_ayuv_i420), (gst_video_box_i420_ayuv),
(gst_video_box_i420_i420), (gst_video_box_transform),
(plugin_init):
Add AYUV->AYUV and AYUV->I420 formats.
Fix negotiation and I420->AYUV conversion.
Fixes #429329 .
2007-05-28 15:01:33 +00:00
Tim-Philipp Müller
f41376624b
gst/videobox/gstvideobox.c: Minor clean-ups: const-ify static array, remove trailing comma from use GST_DEBUG_FUNCPTR.
...
Original commit message from CVS:
* gst/videobox/gstvideobox.c: (gst_video_box_class_init):
Minor clean-ups: const-ify static array, remove trailing comma from
last enum (gcc-2.9x trips over that), use GST_DEBUG_FUNCPTR.
2006-11-19 16:30:19 +00:00
Stefan Kost
eb1b7236f3
More G_OBJECT macro fixing.
...
Original commit message from CVS:
* ext/flac/gstflactag.c:
* gst/alpha/gstalpha.c:
* gst/debug/breakmydata.c:
* gst/debug/negotiation.c:
* gst/debug/testplugin.c:
* gst/effectv/gstaging.c:
* gst/effectv/gstdice.c:
* gst/effectv/gstedge.c:
* gst/effectv/gstquark.c:
* gst/effectv/gstrev.c:
* gst/effectv/gstshagadelic.c:
* gst/effectv/gstvertigo.c:
* gst/effectv/gstwarp.c:
* gst/multipart/multipartdemux.c:
* gst/multipart/multipartmux.c:
* gst/videobox/gstvideobox.c:
* gst/videofilter/gstgamma.c:
* gst/videofilter/gstvideotemplate.c:
* gst/videomixer/videomixer.c:
* sys/sunaudio/gstsunaudiosrc.h:
More G_OBJECT macro fixing.
2006-09-16 21:57:29 +00:00
Stefan Kost
f9dd03ca3b
use g_assert in _get_unit_size
...
Original commit message from CVS:
* ext/gdk_pixbuf/pixbufscale.c: (gst_pixbufscale_get_unit_size):
* gst/videobox/gstvideobox.c: (gst_video_box_get_unit_size):
use g_assert in _get_unit_size
2006-08-20 13:09:51 +00:00