From 842451a72045b962c008c93f32f52a53aba1eb42 Mon Sep 17 00:00:00 2001 From: Sebastian Dröge Date: Thu, 16 Aug 2007 17:02:07 +0000 Subject: gst/audiofx/: Add Chebyshev lowpass/highpass and bandpass/bandreject elements. Original commit message from CVS: reviewed by: Stefan Kost * gst/audiofx/Makefile.am: * gst/audiofx/audiochebyshevfreqband.c: (gst_audio_chebyshev_freq_band_mode_get_type), (gst_audio_chebyshev_freq_band_base_init), (gst_audio_chebyshev_freq_band_dispose), (gst_audio_chebyshev_freq_band_class_init), (gst_audio_chebyshev_freq_band_init), (generate_biquad_coefficients), (calculate_gain), (generate_coefficients), (gst_audio_chebyshev_freq_band_set_property), (gst_audio_chebyshev_freq_band_get_property), (gst_audio_chebyshev_freq_band_setup), (process), (process_64), (process_32), (gst_audio_chebyshev_freq_band_transform_ip), (gst_audio_chebyshev_freq_band_start): * gst/audiofx/audiochebyshevfreqband.h: * gst/audiofx/audiochebyshevfreqlimit.c: (gst_audio_chebyshev_freq_limit_mode_get_type), (gst_audio_chebyshev_freq_limit_base_init), (gst_audio_chebyshev_freq_limit_dispose), (gst_audio_chebyshev_freq_limit_class_init), (gst_audio_chebyshev_freq_limit_init), (generate_biquad_coefficients), (calculate_gain), (generate_coefficients), (gst_audio_chebyshev_freq_limit_set_property), (gst_audio_chebyshev_freq_limit_get_property), (gst_audio_chebyshev_freq_limit_setup), (process), (process_64), (process_32), (gst_audio_chebyshev_freq_limit_transform_ip), (gst_audio_chebyshev_freq_limit_start): * gst/audiofx/audiochebyshevfreqlimit.h: * gst/audiofx/audiofx.c: (plugin_init): Add Chebyshev lowpass/highpass and bandpass/bandreject elements. Fixes #464800. * tests/check/Makefile.am: * tests/check/elements/.cvsignore: * tests/check/elements/audiochebyshevfreqband.c: (setup_audiochebyshevfreqband), (cleanup_audiochebyshevfreqband), (GST_START_TEST), (audiochebyshevfreqband_suite), (main): * tests/check/elements/audiochebyshevfreqlimit.c: (setup_audiochebyshevfreqlimit), (cleanup_audiochebyshevfreqlimit), (GST_START_TEST), (audiochebyshevfreqlimit_suite), (main): Add unit tests for the chebyshev filters. * docs/plugins/Makefile.am: * docs/plugins/gst-plugins-good-plugins-docs.sgml: * docs/plugins/gst-plugins-good-plugins-sections.txt: * docs/plugins/gst-plugins-good-plugins.args: * docs/plugins/inspect/plugin-1394.xml: * docs/plugins/inspect/plugin-audiofx.xml: * docs/plugins/inspect/plugin-dv.xml: * docs/plugins/inspect/plugin-flac.xml: * docs/plugins/inspect/plugin-jpeg.xml: * docs/plugins/inspect/plugin-png.xml: * docs/plugins/inspect/plugin-rtp.xml: * docs/plugins/inspect/plugin-shout2send.xml: * docs/plugins/inspect/plugin-wavpack.xml: And add docs for the chebyshev filters. While doing that also run make update in docs/plugins. --- docs/plugins/gst-plugins-good-plugins.args | 122 +++++++++++++++++++++++++++-- 1 file changed, 116 insertions(+), 6 deletions(-) (limited to 'docs/plugins/gst-plugins-good-plugins.args') diff --git a/docs/plugins/gst-plugins-good-plugins.args b/docs/plugins/gst-plugins-good-plugins.args index bdb97130..935e27ba 100644 --- a/docs/plugins/gst-plugins-good-plugins.args +++ b/docs/plugins/gst-plugins-good-plugins.args @@ -401,21 +401,21 @@ GstVertigoTV::speed gfloat -[0,01,100] +[0.01,100] rw Speed Control the speed of movement. -0,02 +0.02 GstVertigoTV::zoom-speed gfloat -[1,01,1,1] +[1.01,1.1] rw Zoom Speed Control the rate of zooming. -1,01 +1.01 @@ -1141,7 +1141,7 @@ GstDV1394Src::port gint -[G_MAXULONG,16] +[-1,16] rw Port Port number (-1 automatic). @@ -17241,7 +17241,7 @@ GstGamma::gamma gdouble -[0,01,10] +[0.01,10] rw Gamma gamma. @@ -17328,3 +17328,113 @@ 2 + +GstAudioChebyshevFreqBand::lower-frequency +gfloat +>= 0 +rw +Lower frequency +Start frequency of the band (Hz). +0 + + + +GstAudioChebyshevFreqBand::mode +GstAudioChebyshevFreqBandMode + +rw +Mode +Low pass or high pass mode. +Band pass (default) + + + +GstAudioChebyshevFreqBand::poles +gint +[4,32] +rw +Poles +Number of poles to use, will be rounded up to the next multiply of four. +4 + + + +GstAudioChebyshevFreqBand::ripple +gfloat +>= 0 +rw +Ripple +Amount of ripple (dB). +0.25 + + + +GstAudioChebyshevFreqBand::type +gint +[1,2] +rw +Type +Type of the chebychev filter. +1 + + + +GstAudioChebyshevFreqBand::upper-frequency +gfloat +>= 0 +rw +Upper frequency +Stop frequency of the band (Hz). +0 + + + +GstAudioChebyshevFreqLimit::cutoff +gfloat +>= 0 +rw +Cutoff +Cut off frequency (Hz). +0 + + + +GstAudioChebyshevFreqLimit::mode +GstAudioChebyshevFreqLimitMode + +rw +Mode +Low pass or high pass mode. +Low pass (default) + + + +GstAudioChebyshevFreqLimit::poles +gint +[2,32] +rw +Poles +Number of poles to use, will be rounded up to the next even number. +4 + + + +GstAudioChebyshevFreqLimit::ripple +gfloat +>= 0 +rw +Ripple +Amount of ripple (dB). +0.25 + + + +GstAudioChebyshevFreqLimit::type +gint +[1,2] +rw +Type +Type of the chebychev filter. +1 + + -- cgit