Home | History | Annotate | Download | only in source
      1 /*
      2  *  Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
      3  *
      4  *  Use of this source code is governed by a BSD-style license
      5  *  that can be found in the LICENSE file in the root of the source
      6  *  tree. An additional intellectual property rights grant can be found
      7  *  in the file PATENTS.  All contributing project authors may
      8  *  be found in the AUTHORS file in the root of the source tree.
      9  */
     10 
     11 /* filterbank_tables.c*/
     12 /* This file contains variables that are used in filterbanks.c*/
     13 
     14 #include "filterbank_tables.h"
     15 #include "settings.h"
     16 
     17 /* The composite all-pass filter factors */
     18 const float WebRtcIsac_kCompositeApFactorsFloat[4] = {
     19  0.03470000000000f,  0.15440000000000f,  0.38260000000000f,  0.74400000000000f};
     20 
     21 /* The upper channel all-pass filter factors */
     22 const float WebRtcIsac_kUpperApFactorsFloat[2] = {
     23  0.03470000000000f,  0.38260000000000f};
     24 
     25 /* The lower channel all-pass filter factors */
     26 const float WebRtcIsac_kLowerApFactorsFloat[2] = {
     27  0.15440000000000f,  0.74400000000000f};
     28 
     29 /* The matrix for transforming the backward composite state to upper channel state */
     30 const float WebRtcIsac_kTransform1Float[8] = {
     31   -0.00158678506084f,  0.00127157815343f, -0.00104805672709f,  0.00084837248079f,
     32   0.00134467983258f, -0.00107756549387f,  0.00088814793277f, -0.00071893072525f};
     33 
     34 /* The matrix for transforming the backward composite state to lower channel state */
     35 const float WebRtcIsac_kTransform2Float[8] = {
     36  -0.00170686041697f,  0.00136780109829f, -0.00112736532350f,  0.00091257055385f,
     37   0.00103094281812f, -0.00082615076557f,  0.00068092756088f, -0.00055119165484f};
     38