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 /*
     12  * filterbank_tables.h
     13  *
     14  * Header file for variables that are defined in
     15  * filterbank_tables.c.
     16  *
     17  */
     18 
     19 #ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_FILTERBANK_TABLES_H_
     20 #define WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_FILTERBANK_TABLES_H_
     21 
     22 #include "structs.h"
     23 
     24 /********************* Coefficient Tables ************************/
     25 /* The number of composite all-pass filter factors */
     26 #define NUMBEROFCOMPOSITEAPSECTIONS 4
     27 
     28 /* The number of all-pass filter factors in an upper or lower channel*/
     29 #define NUMBEROFCHANNELAPSECTIONS 2
     30 
     31 /* The composite all-pass filter factors */
     32 extern const float WebRtcIsac_kCompositeApFactorsFloat[4];
     33 
     34 /* The upper channel all-pass filter factors */
     35 extern const float WebRtcIsac_kUpperApFactorsFloat[2];
     36 
     37 /* The lower channel all-pass filter factors */
     38 extern const float WebRtcIsac_kLowerApFactorsFloat[2];
     39 
     40 /* The matrix for transforming the backward composite state to upper channel state */
     41 extern const float WebRtcIsac_kTransform1Float[8];
     42 
     43 /* The matrix for transforming the backward composite state to lower channel state */
     44 extern const float WebRtcIsac_kTransform2Float[8];
     45 
     46 #endif /* WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_FILTERBANK_TABLES_H_ */
     47