Sebastian Dröge
da4e79bb6b
ffmpegcolorspace: Optimize transform_caps()
...
If the second and next caps structures are a subset of the already existing
transformed caps we can safely skip them because we would transform them to
the same caps again.
2011-05-27 14:34:37 +02:00
Sebastian Dröge
d8e0af1fc1
gst: Update for the GstBaseTransform::transform_caps() changes
2011-05-27 12:13:14 +02:00
Sebastian Dröge
a78bf729a9
ffmpegcolorspace: Update for negotiation related API changes
2011-05-16 15:35:40 +02:00
Sebastian Dröge
f10a8f0986
gst: Use G_DEFINE_TYPE instead of GST_BOILERPLATE
2011-04-19 11:35:53 +02:00
Sebastian Dröge
352edd1dd9
Merge branch 'master' into 0.11
2011-04-16 09:12:31 +02:00
Tim-Philipp Müller
f14c73cbfd
ffmpegcolorspace: fix unused-but-set-variable warnings with gcc 4.6
...
https://bugzilla.gnome.org/show_bug.cgi?id=647294
2011-04-13 23:19:51 +01:00
Wim Taymans
6e160bed3d
Merge branch 'master' into 0.11
...
Conflicts:
android/alsa.mk
android/app.mk
android/app_plugin.mk
android/audio.mk
android/audioconvert.mk
android/decodebin.mk
android/decodebin2.mk
android/gdp.mk
android/interfaces.mk
android/netbuffer.mk
android/pbutils.mk
android/playbin.mk
android/queue2.mk
android/riff.mk
android/rtp.mk
android/rtsp.mk
android/sdp.mk
android/tag.mk
android/tcp.mk
android/typefindfunctions.mk
android/video.mk
2011-04-11 11:37:51 +02:00
Alessandro Decina
030f639a8e
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-04-11 07:23:21 +02:00
Wim Taymans
3b03e23559
plugins: port some plugins to the new memory API
2011-03-27 16:35:28 +02:00
Sebastian Dröge
1469453cb9
ffmpegcolorspace: Fix IYU1 support
...
Fix conversions to IYU1, they allocated infinite amounts of memory before
because no conversion to IYU1 was actually implemented and it was running
into an infinite loop trying to find suitable intermediate formats.
Also fix the stride and sizes used for IYU1.
2010-11-03 10:49:35 +01:00
Sebastian Dröge
d8c1044fbd
ffmpegcolorspace: Add support for A420
2010-10-15 11:12:38 +02:00
Sebastian Dröge
cd5527fa4e
ffmpegcolorspace: Add back support for 8 bit paletted RGB
...
This was removed by 3a00a97fd2
while making the pad template caps more compact.
Fixes bug #626629 .
2010-08-19 18:51:25 +02:00
Tim-Philipp Müller
2dab0a8928
ffmpegcolorspace: remove chroma-site and color-matrix fields from RGB caps
2010-08-12 11:46:39 +01:00
Sebastian Dröge
6e9deae749
ffmpegcolorspace: Use correct Y offset for YVYU -> RGB conversions
...
Fixes bug #623530 .
2010-07-04 17:40:11 +02:00
Sebastian Dröge
d774b46077
ffmpegcolorspace: Use correct Y offset for the YUY2 -> RGB conversions
...
Fixes bug #623530 .
2010-07-04 17:40:11 +02:00
Sebastian Dröge
263201d9e7
ffmpegcolorspace: Fix conversion of packed 4:2:2 YUV to 8 bit grayscale
...
The last pixel wasn't written before for odd widths.
Fixes bug #623418 .
2010-07-02 20:09:58 +02:00
Sebastian Dröge
9c9f97251a
ffmpegcolorspace: Fix conversion of packed 4:2:2 YUV to RGB
...
The last pixel wasn't written before.
Fixes bug #623384 .
2010-07-02 14:58:37 +02:00
Sebastian Dröge
ef4165f08b
ffmpegcolorspace: Fix invalid memory accesses with odd widths/heights during subsampling
...
Fixes bug #623375 .
2010-07-02 13:59:55 +02:00
Edward Hervey
3a00a97fd2
ffmpegcolorspace: Use a more concise pad template
...
Speeds up caps nego 2 fold
https://bugzilla.gnome.org/show_bug.cgi?id=622696
2010-06-25 17:07:12 +02:00
Sebastian Dröge
cff70878b6
ffmpegcolorspace: Add YUY2/YVYU to all RGB formats conversions
2010-06-17 17:21:01 +02:00
Sebastian Dröge
21cb7fd0ff
ffmpegcolorspace: Fix Y42B to YUY2/YVYU/UYVY conversion for odd widths
2010-06-17 17:21:01 +02:00
Sebastian Dröge
bd56c3c44f
ffmpegcolorspace: Fix YUY2/YVYU/UYVY to Y42B conversion for odd widths
2010-06-17 17:21:00 +02:00
Edward Hervey
801cab604d
ffmpegcolorspace: Use Quarks for structure name/field checking
2010-06-14 13:28:54 +02:00
Edward Hervey
3f1f8f66ed
ffmpegcolorspace: Speed up _remove_format_info
...
Instead of copying full caps, use the fact that the provided caps only have
one structure and only copy around structures.
2010-06-14 13:28:54 +02:00
Edward Hervey
19f5fda87d
ffmpegcolorspace: Transfer structures instead of copying them
...
Avoids many expensive structure copies
2010-06-14 13:28:50 +02:00
Sebastian Dröge
cef0bc9657
ffmpegcolorspace: Fix Y16 from/to GRAY8 conversion
2010-06-12 16:51:41 +02:00
Sebastian Dröge
398c1c5fc8
ffmpegcolorspace: Don't crash when doing gray YUV to GRAY conversion
2010-06-12 16:31:49 +02:00
Sebastian Dröge
39b68dc2a8
ffmpegcolorspace: Map "Y8 " and "GREY" to "Y800" and add it to the template caps
2010-06-07 08:31:53 +02:00
Martin Bisson
4c0b39b680
ffmpegcolorspace: Add support for Y800 and Y16
...
Fixes bug #620441 .
2010-06-07 08:18:04 +02:00
Edward Hervey
37e975b8cc
ffmpegcolorspace : whooops
2010-05-07 19:49:57 +02:00
Edward Hervey
516c824687
ffmpegcolorspace: more minor cleanups
2010-05-07 19:21:13 +02:00
Edward Hervey
0d451ad9cb
ffmpegcolorspace: speedup caps transformation
...
* don't re-create our possible caps every single time, just use the
template caps.
* don't intersect the caps against the template, basetransform has already
done that for us.
62% speedup of _transform_caps() (instruction calls, measured with callgrind)
2010-05-07 17:38:46 +02:00
Sebastian Dröge
bd64568bf4
ffmpegcolorspace: Use GST_BOILERPLATE and use GstVideoFilter as base class
...
This gives automatic QoS handling.
2010-04-29 18:21:21 +02:00
Sebastian Dröge
b5853bf8ba
ffmpegcolorspace: Fix Y41B->Y444 conversion
...
...which is the intermediate conversion for conversion to all
other formats.
Fixes bug #616545 .
2010-04-22 20:58:29 +02:00
Tim-Philipp Müller
58a92964c6
build: Makefile.am fixes
...
Mostly just add missing $(GST_BASE_CFLAGS), but also fix up order
of flags (see docs/random/moving-plugins).
2010-03-19 01:00:36 +00:00
Benjamin Otte
5e21fa5e0e
gst_element_class_set_details => gst_element_class_set_details_simple
...
Also change my email from the old university one to the current one.
2010-03-16 17:41:50 +01:00
Benjamin Otte
43b1683421
Add -Wmissing-declarations -Wmissing-prototypes to warning flags
...
Includes all the fixes necessary to make stuff compile again.
2010-03-11 13:50:31 +01:00
Sebastian Dröge
8b1e42f272
ffmpegcolorspace: Add conversions from all ARGB formats to AYUV and back
2010-02-12 11:00:08 +01:00
Thijs Vermeir
48aa1959c8
ffmpegcolorspace: rename performance category
...
rename the performance category to ffmpegcolorspace_performance
as there is already a global GST_CAT_PERFORMANCE in core
2010-01-21 19:34:33 +01:00
Sebastian Dröge
1fe9f49691
ffmpegcolorspace: Prefer transforming alpha formats to alpha formats and the other way around
...
Fixes bug #602834 and #350748 .
2009-11-25 16:18:37 +01:00
Tim-Philipp Müller
6f4c1ac583
Remove GST_DEBUG_FUNCPTR where they're pointless
...
There's not much point in using GST_DEBUG_FUNCPTR with GObject
virtual functions such as get_property, set_propery, finalize and
dispose, since they'll never be used by anyone anyway. Saves a
few bytes and possibly a sixteenth of a polar bear.
2009-10-28 00:59:35 +00:00
Stefan Kost
e81303b733
ffmpegcolorspace: chwck formats just once per _chain()
2009-10-08 18:10:08 +03:00
Stefan Kost
f2d1c9b0b7
ffmpegcolorspace: add perf-log-category and log suboptimal operation
...
Log if we use an intermediate colorspace for conversion.
2009-10-08 18:09:52 +03:00
Benjamin Otte
9d6eb19453
[ffmpegcolorspace] Fix NV12 and NV21 with odd width and height
2009-10-07 09:54:08 +02:00
Jan Schmidt
f58a2b71b5
ffmpegcolorspace: Use the ffmpegcolorspace debug category
...
Move gstffmpegcodecmap debug to the ffmpegcolorspace category
2009-10-06 20:37:42 +01:00
Benjamin Otte
8939bc6c82
ffmpegcolorspace: Handle YVU9/YUV9 conversion with odd widths
...
A green border could be visible when converting to Y444 or RGB, because
the last chroma samples weren't copied correctly
2009-09-10 10:56:29 +02:00
David Schleef
0e9bc5125a
Remove Ronald Bultje from Authors field
...
Replaced with "GStreamer maintainers
<gstreamer-devel@lists.sourceforge.net>" or just removed,
depending on the number of other authors.
2009-08-24 11:37:01 -07:00
Edward Hervey
8cd1b5209b
gst: Remove dead assignments and resulting unused variables
2009-08-08 15:54:02 +02:00
Siarhei Siamashka
720a927f38
ffmpegcolorspace: support for direct conversion from uyvy422 to rgb formats
2009-08-06 15:09:44 +03:00
Sebastian Dröge
6b63053be1
ffmpegcolorspace: Fix indention of template header
2009-08-06 06:43:34 +02:00