aboutsummaryrefslogtreecommitdiff
path: root/src/modules/audio_processing/splitting_filter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/audio_processing/splitting_filter.cc')
-rw-r--r--src/modules/audio_processing/splitting_filter.cc33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/modules/audio_processing/splitting_filter.cc b/src/modules/audio_processing/splitting_filter.cc
new file mode 100644
index 0000000000..1526141cc9
--- /dev/null
+++ b/src/modules/audio_processing/splitting_filter.cc
@@ -0,0 +1,33 @@
+/*
+ * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
+ *
+ * Use of this source code is governed by a BSD-style license
+ * that can be found in the LICENSE file in the root of the source
+ * tree. An additional intellectual property rights grant can be found
+ * in the file PATENTS. All contributing project authors may
+ * be found in the AUTHORS file in the root of the source tree.
+ */
+
+#include "splitting_filter.h"
+#include "signal_processing_library.h"
+
+namespace webrtc {
+
+void SplittingFilterAnalysis(const WebRtc_Word16* in_data,
+ WebRtc_Word16* low_band,
+ WebRtc_Word16* high_band,
+ WebRtc_Word32* filter_state1,
+ WebRtc_Word32* filter_state2)
+{
+ WebRtcSpl_AnalysisQMF(in_data, low_band, high_band, filter_state1, filter_state2);
+}
+
+void SplittingFilterSynthesis(const WebRtc_Word16* low_band,
+ const WebRtc_Word16* high_band,
+ WebRtc_Word16* out_data,
+ WebRtc_Word32* filt_state1,
+ WebRtc_Word32* filt_state2)
+{
+ WebRtcSpl_SynthesisQMF(low_band, high_band, out_data, filt_state1, filt_state2);
+}
+} // namespace webrtc