Home | History | Annotate | Download | only in aacdec
      1 /* ------------------------------------------------------------------
      2  * Copyright (C) 1998-2009 PacketVideo
      3  *
      4  * Licensed under the Apache License, Version 2.0 (the "License");
      5  * you may not use this file except in compliance with the License.
      6  * You may obtain a copy of the License at
      7  *
      8  *      http://www.apache.org/licenses/LICENSE-2.0
      9  *
     10  * Unless required by applicable law or agreed to in writing, software
     11  * distributed under the License is distributed on an "AS IS" BASIS,
     12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
     13  * express or implied.
     14  * See the License for the specific language governing permissions
     15  * and limitations under the License.
     16  * -------------------------------------------------------------------
     17  */
     18 /*
     19 
     20  Pathname: ps_all_pass_filter_coeff.h
     21 
     22 ------------------------------------------------------------------------------
     23  REVISION HISTORY
     24 
     25  Who:                   Date:
     26  Description:
     27 
     28 ------------------------------------------------------------------------------
     29  INCLUDE DESCRIPTION
     30 
     31  Header file for all pass filter coefficients
     32 
     33 ------------------------------------------------------------------------------
     34 */
     35 
     36 /*----------------------------------------------------------------------------
     37 ; CONTINUE ONLY IF NOT ALREADY DEFINED
     38 ----------------------------------------------------------------------------*/
     39 #ifndef PS_ALL_PASS_FILTER_COEFF_H
     40 #define PS_ALL_PASS_FILTER_COEFF_H
     41 
     42 /*----------------------------------------------------------------------------
     43 ; INCLUDES
     44 ----------------------------------------------------------------------------*/
     45 #include "pv_audio_type_defs.h"
     46 #include "s_ps_dec.h"
     47 
     48 /*----------------------------------------------------------------------------
     49 ; MACROS
     50 ; Define module specific macros here
     51 ----------------------------------------------------------------------------*/
     52 
     53 /*----------------------------------------------------------------------------
     54 ; DEFINES
     55 ; Include all pre-processor statements here.
     56 ----------------------------------------------------------------------------*/
     57 
     58 /*----------------------------------------------------------------------------
     59 ; EXTERNAL VARIABLES REFERENCES
     60 ; Declare variables used in this module but defined elsewhere
     61 ----------------------------------------------------------------------------*/
     62 
     63 
     64 extern const Char groupBorders[NO_IID_GROUPS + 1];
     65 extern const Int16 aRevLinkDecaySerCoeff[NO_ALLPASS_CHANNELS][NO_SERIAL_ALLPASS_LINKS];
     66 extern const Int32  aRevLinkDelaySer[];
     67 extern const Int16 aFractDelayPhaseFactorReQmf[NO_QMF_ALLPASS_CHANNELS];
     68 extern const Int16 aFractDelayPhaseFactorImQmf[NO_QMF_ALLPASS_CHANNELS];
     69 /* the old center frequencies (found in "else") were too small (factor 1/2) */
     70 extern const Int16 aFractDelayPhaseFactorReSubQmf[SUBQMF_GROUPS];
     71 extern const Int16 aFractDelayPhaseFactorImSubQmf[SUBQMF_GROUPS];
     72 extern const Int32 aFractDelayPhaseFactorSubQmf[SUBQMF_GROUPS];
     73 extern const Int32 aFractDelayPhaseFactor[NO_QMF_ALLPASS_CHANNELS];
     74 extern const Int32 aaFractDelayPhaseFactorSerQmf[NO_QMF_ALLPASS_CHANNELS][3];
     75 extern const Int32 aaFractDelayPhaseFactorSerSubQmf[SUBQMF_GROUPS][3];
     76 extern const Char bins2groupMap[NO_IID_GROUPS];
     77 extern const Int32 aaFractDelayPhaseFactorSerReQmf[NO_QMF_ALLPASS_CHANNELS][3];
     78 extern const Int32 aaFractDelayPhaseFactorSerImQmf[NO_QMF_ALLPASS_CHANNELS][3];
     79 extern const Int32 aaFractDelayPhaseFactorSerReSubQmf[SUBQMF_GROUPS][3];
     80 extern const Int32 aaFractDelayPhaseFactorSerImSubQmf[SUBQMF_GROUPS][3];
     81 
     82 
     83 /*----------------------------------------------------------------------------
     84 ; SIMPLE TYPEDEF'S
     85 ----------------------------------------------------------------------------*/
     86 
     87 /*----------------------------------------------------------------------------
     88 ; ENUMERATED TYPEDEF'S
     89 ----------------------------------------------------------------------------*/
     90 
     91 /*----------------------------------------------------------------------------
     92 ; STRUCTURES TYPEDEF'S
     93 ----------------------------------------------------------------------------*/
     94 
     95 /*----------------------------------------------------------------------------
     96 ; GLOBAL FUNCTION DEFINITIONS
     97 ; Function Prototype declaration
     98 ----------------------------------------------------------------------------*/
     99 
    100 
    101 
    102 /*----------------------------------------------------------------------------
    103 ; END
    104 ----------------------------------------------------------------------------*/
    105 #endif  /* PS_ALL_PASS_FILTER_COEFF_H */
    106