Sebastian Dröge
85a3e7c98c
audiofilter: Pass a const pointer to the audio format info to ::setup()
...
It is not meant to be changed by the subclass.
2011-08-19 10:06:39 +02:00
Wim Taymans
dae848818d
audio: rework audio caps.
...
Rework the audio caps similar to the video caps. Remove
width/depth/endianness/signed fields and replace with a simple string
format and media type audio/x-raw.
Create a GstAudioInfo and some helper methods to parse caps.
Remove duplicate code from the ringbuffer and replace with audio info.
Use AudioInfo in the base audio filter class.
Port elements to new API.
2011-08-18 19:15:03 +02:00
Wim Taymans
33467d9629
Merge branch 'master' into 0.11
...
Conflicts:
configure.ac
ext/pango/gsttextoverlay.c
ext/theora/gsttheoradec.c
gst/adder/gstadder.c
gst/adder/gstadder.h
gst/audioresample/gstaudioresample.c
gst/encoding/gstencodebin.c
gst/playback/gstdecodebin.c
gst/playback/gstdecodebin2.c
tests/check/elements/decodebin2.c
tests/check/elements/playbin-compressed.c
win32/common/libgsttag.def
2011-08-16 18:01:14 +02:00
Vincent Penquerc'h
c2ce145e72
volume: fix sample depth typo
...
https://bugzilla.gnome.org/show_bug.cgi?id=656022
2011-08-05 13:37:05 +02:00
Sebastian Dröge
5580dd6a4d
volume: Update disted ORC files
2011-08-05 13:06:31 +02:00
Wim Taymans
97f1d1805b
update ORC dist files
2011-08-02 12:24:37 +02:00
Tim-Philipp Müller
8cede4ae6a
gst, sys: remove GstImplementsInterface usage
2011-06-26 23:16:08 +01:00
Wim Taymans
f9967e4aac
Merge branch 'master' into 0.11
...
Conflicts:
gst-libs/gst/video/video.h
gst/playback/gstplaysinkaudioconvert.c
gst/playback/gstplaysinkvideoconvert.c
tests/check/libs/rtp.c
2011-06-02 12:18:13 +02:00
Sebastian Dröge
8f967e9e70
volume: Fix handling of volume>=4.0 for 8 and 16 bit integer formats
...
Also add a unit test for this. Previously volumes bigger than 4.0
would have resulted in overflows in the fixed point processing.
Fixes bug #649642 .
2011-05-31 11:07:11 +02:00
Sebastian Dröge
bf08ca7020
Merge branch 'master' into 0.11
2011-05-26 13:54:09 +02:00
Stefan Kost
1916eecc30
volume: use a flag for 'mute' using the controller
...
Previously we checked mute_csource to determine wheter we need to premultiply
volumes and mute values. That fails as we unrefs mute_csource and set it to
NULL after. Use an extra flag instead.
2011-05-25 14:28:18 +03:00
Sebastian Dröge
c3b778f9b1
Merge branch 'master' into 0.11
...
Conflicts:
configure.ac
2011-05-03 09:49:26 +02:00
Tim-Philipp Müller
288f8babd1
gst: update orc-generated disted C backup code to orc 0.4.14
2011-04-30 17:21:28 +01: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
0759ce8533
Merge branch 'master' into 0.11
2011-04-18 13:23:32 +02:00
Tim-Philipp Müller
82a791519c
gst: update disted orc backup code
2011-04-16 15:59:45 +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
e82835d08d
volume: Regenerate generated orc C code again with an orc fix for loading double parameters
2010-10-08 12:30:33 +02:00
Sebastian Dröge
ca5992bb29
volume: Update generated orc sources
2010-10-08 11:50:43 +02:00
Sebastian Dröge
4a0d435053
volume: Fix unit test failure for the controlled processing functions
...
Going over integer arithmetic will lead to minimal rounding errors,
leading to +/-1 changes for volume==1.0. Implement the controlled
processing with floating point arithmetic, which was already done
for the C versions anyway.
2010-10-08 11:49:09 +02:00
Sebastian Dröge
80dbf7a901
volume: Update for orc changes
...
double parameters are declared with .doubleparam now.
2010-10-08 00:01:15 +02:00
Sebastian Dröge
4e2b6ac13a
volume: Update generated orc sources
2010-10-08 00:01:15 +02:00
Sebastian Dröge
3c96cf8917
volume: Fix controlled processing via orc
2010-10-08 00:01:15 +02:00
Sebastian Dröge
d0e96cc90f
volume: Actually enable usage of the orc optimized functions
2010-10-08 00:01:15 +02:00
Sebastian Dröge
39ef36b32c
volume: Implement int32 processing with orc
2010-10-08 00:01:15 +02:00
Sebastian Dröge
c11ee1a100
volume: Implement controlled processing for int16/1-2ch and int8/1,2,4ch with orc
2010-10-08 00:01:15 +02:00
Sebastian Dröge
0bf4abe581
volume: Implement controlled processing for f64/1ch and f32/1-2ch in orc
2010-10-08 00:01:15 +02:00
Sebastian Dröge
988849a8b4
volume: Convert parts of the controlled processing to orc
2010-10-08 00:01:14 +02:00
Sebastian Dröge
ac38fbc3a7
volume: Implement f64 scaling with orc
...
This requires orc 0.4.10
2010-10-08 00:01:14 +02:00
Sebastian Dröge
bcf7a7341e
volume: Update generated orc files
2010-10-01 10:47:08 +02:00
Sebastian Dröge
c1bf1ba843
volume: Improve f32 scaling by using only a single array
...
Passing the same array as dest and src is invalid anyway because
they're maked with the restrict qualifier.
2010-10-01 10:45:24 +02:00
Edward Hervey
4e781d6fe3
volume: orc fixup for loading float arguments
...
This is only used with DISABLE_ORC.
2010-09-20 16:29:20 +02:00
David Schleef
bec69e20ae
orc: update generated files to fix MSVC compile issues
2010-09-16 18:03:23 -07:00
Sebastian Dröge
18b282e49f
orc: Fix generated source files
2010-09-10 08:43:17 +02:00
Sebastian Dröge
3c43dbfc51
orc: Update generated source files everywhere
2010-09-09 10:59:59 +02:00
Sebastian Dröge
8ba4b70118
Revert "Revert "Use init functions for Orc code""
...
This reverts commit 93aa13639d
.
Everything should work now after regenerating the disted source files.
2010-09-09 10:57:41 +02:00
Sebastian Dröge
4e0673872d
volume: Enable float processing with orc again
2010-09-05 12:09:42 +02:00
Wim Taymans
93aa13639d
Revert "Use init functions for Orc code"
...
This reverts commit b2051090b4
.
Fixes the build again until someone pushes the regenerated .c/.h
files too.
2010-08-27 11:49:47 +02:00
David Schleef
b2051090b4
Use init functions for Orc code
2010-08-26 17:03:13 -07:00
Stefan Kost
e4d33ef53b
volume: make the orc usage for float conditional again
...
See bug #628009 . The tests still fail in the orc code (which we just don't call
now).
2010-08-26 15:19:00 +03:00
Stefan Kost
93b2924485
volume: enable ORC for float in volume
2010-08-25 19:03:51 +03:00
Tim-Philipp Müller
b16e7e8fa2
gst: update orc files
2010-06-26 18:19:33 +01:00
Stefan Kost
487c88ca42
volume: make the orc codes available for testing.
...
Add a USE_ORC define for now and switch 'this' to 'self'. Having orc enabled
passes the test suite and various manual gst-launch pipelines.
2010-06-09 16:59:10 +03:00
David Schleef
3bbdc0c5a2
volume: convert from liboil to orc
2010-06-07 23:58:54 -07:00
Sebastian Dröge
5f10a8a9b5
volume: Remove useless cast
...
It's not necessary anymore after latest core change to GstValueArray.
2010-03-17 15:41:45 +01:00
Benjamin Otte
3bd4aa26ff
Add -Wwrite-strings to configure
...
Fixes for the code included
2010-03-16 17:41:51 +01:00
Sebastian Dröge
944d6b1786
volume: Revert rounding behaviour changes when using controlled volume properties
...
Now the controlled and non-controlled code paths are all having
exactly the same rounding behaviour and the unit tests pass again.
2010-03-12 15:49:17 +01:00
Sebastian Dröge
baf2fc1c58
volume: Only allocate a mute value array if a control source exists for the mute property
2010-03-12 15:49:17 +01:00