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  * lpc_analysis.h
13  *
14  * LPC functions
15  *
16  */
17 
18 #ifndef MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_LPC_ANALYSIS_H_
19 #define MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_LPC_ANALYSIS_H_
20 
21 #include "modules/audio_coding/codecs/isac/main/source/settings.h"
22 #include "modules/audio_coding/codecs/isac/main/source/structs.h"
23 
24 void WebRtcIsac_GetLpcCoefLb(double* inLo,
25                              double* inHi,
26                              MaskFiltstr* maskdata,
27                              double signal_noise_ratio,
28                              const int16_t* pitchGains_Q12,
29                              double* lo_coeff,
30                              double* hi_coeff);
31 
32 void WebRtcIsac_GetLpcGain(double signal_noise_ratio,
33                            const double* filtCoeffVecs,
34                            int numVecs,
35                            double* gain,
36                            double corrLo[][UB_LPC_ORDER + 1],
37                            const double* varscale);
38 
39 void WebRtcIsac_GetLpcCoefUb(double* inSignal,
40                              MaskFiltstr* maskdata,
41                              double* lpCoeff,
42                              double corr[][UB_LPC_ORDER + 1],
43                              double* varscale,
44                              int16_t bandwidth);
45 
46 #endif /* MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_LPC_ANALYIS_H_ */
47