| OLD | NEW | 
|    1 /* |    1 /* | 
|    2  *  Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |    2  *  Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 
|    3  * |    3  * | 
|    4  *  Use of this source code is governed by a BSD-style license |    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 |    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 |    6  *  tree. An additional intellectual property rights grant can be found | 
|    7  *  in the file PATENTS.  All contributing project authors may |    7  *  in the file PATENTS.  All contributing project authors may | 
|    8  *  be found in the AUTHORS file in the root of the source tree. |    8  *  be found in the AUTHORS file in the root of the source tree. | 
|    9  */ |    9  */ | 
|   10  |   10  | 
| (...skipping 16 matching lines...) Expand all  Loading... | 
|   27   int16_t                 synthesisBuffer[ANAL_BLOCKL_MAX]; |   27   int16_t                 synthesisBuffer[ANAL_BLOCKL_MAX]; | 
|   28   uint16_t                noiseSupFilter[HALF_ANAL_BLOCKL]; |   28   uint16_t                noiseSupFilter[HALF_ANAL_BLOCKL]; | 
|   29   uint16_t                overdrive; /* Q8 */ |   29   uint16_t                overdrive; /* Q8 */ | 
|   30   uint16_t                denoiseBound; /* Q14 */ |   30   uint16_t                denoiseBound; /* Q14 */ | 
|   31   const int16_t*          factor2Table; |   31   const int16_t*          factor2Table; | 
|   32   int16_t                 noiseEstLogQuantile[SIMULT* HALF_ANAL_BLOCKL]; |   32   int16_t                 noiseEstLogQuantile[SIMULT* HALF_ANAL_BLOCKL]; | 
|   33   int16_t                 noiseEstDensity[SIMULT* HALF_ANAL_BLOCKL]; |   33   int16_t                 noiseEstDensity[SIMULT* HALF_ANAL_BLOCKL]; | 
|   34   int16_t                 noiseEstCounter[SIMULT]; |   34   int16_t                 noiseEstCounter[SIMULT]; | 
|   35   int16_t                 noiseEstQuantile[HALF_ANAL_BLOCKL]; |   35   int16_t                 noiseEstQuantile[HALF_ANAL_BLOCKL]; | 
|   36  |   36  | 
|   37   int                     anaLen; |   37   size_t                  anaLen; | 
|   38   int                     anaLen2; |   38   size_t                  anaLen2; | 
|   39   int                     magnLen; |   39   size_t                  magnLen; | 
|   40   int                     aggrMode; |   40   int                     aggrMode; | 
|   41   int                     stages; |   41   int                     stages; | 
|   42   int                     initFlag; |   42   int                     initFlag; | 
|   43   int                     gainMap; |   43   int                     gainMap; | 
|   44  |   44  | 
|   45   int32_t                 maxLrt; |   45   int32_t                 maxLrt; | 
|   46   int32_t                 minLrt; |   46   int32_t                 minLrt; | 
|   47   // Log LRT factor with time-smoothing in Q8. |   47   // Log LRT factor with time-smoothing in Q8. | 
|   48   int32_t                 logLrtTimeAvgW32[HALF_ANAL_BLOCKL]; |   48   int32_t                 logLrtTimeAvgW32[HALF_ANAL_BLOCKL]; | 
|   49   int32_t                 featureLogLrt; |   49   int32_t                 featureLogLrt; | 
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   91   int16_t                 histLrt[HIST_PAR_EST]; |   91   int16_t                 histLrt[HIST_PAR_EST]; | 
|   92   int16_t                 histSpecFlat[HIST_PAR_EST]; |   92   int16_t                 histSpecFlat[HIST_PAR_EST]; | 
|   93   int16_t                 histSpecDiff[HIST_PAR_EST]; |   93   int16_t                 histSpecDiff[HIST_PAR_EST]; | 
|   94  |   94  | 
|   95   // Quantities for high band estimate. |   95   // Quantities for high band estimate. | 
|   96   int16_t                 dataBufHBFX[NUM_HIGH_BANDS_MAX][ANAL_BLOCKL_MAX]; |   96   int16_t                 dataBufHBFX[NUM_HIGH_BANDS_MAX][ANAL_BLOCKL_MAX]; | 
|   97  |   97  | 
|   98   int                     qNoise; |   98   int                     qNoise; | 
|   99   int                     prevQNoise; |   99   int                     prevQNoise; | 
|  100   int                     prevQMagn; |  100   int                     prevQMagn; | 
|  101   int                     blockLen10ms; |  101   size_t                  blockLen10ms; | 
|  102  |  102  | 
|  103   int16_t                 real[ANAL_BLOCKL_MAX]; |  103   int16_t                 real[ANAL_BLOCKL_MAX]; | 
|  104   int16_t                 imag[ANAL_BLOCKL_MAX]; |  104   int16_t                 imag[ANAL_BLOCKL_MAX]; | 
|  105   int32_t                 energyIn; |  105   int32_t                 energyIn; | 
|  106   int                     scaleEnergyIn; |  106   int                     scaleEnergyIn; | 
|  107   int                     normData; |  107   int                     normData; | 
|  108  |  108  | 
|  109   struct RealFFT* real_fft; |  109   struct RealFFT* real_fft; | 
|  110 } NoiseSuppressionFixedC; |  110 } NoiseSuppressionFixedC; | 
|  111  |  111  | 
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  254                                 int factor); |  254                                 int factor); | 
|  255 #endif |  255 #endif | 
|  256  |  256  | 
|  257 #endif |  257 #endif | 
|  258  |  258  | 
|  259 #ifdef __cplusplus |  259 #ifdef __cplusplus | 
|  260 } |  260 } | 
|  261 #endif |  261 #endif | 
|  262  |  262  | 
|  263 #endif  // WEBRTC_MODULES_AUDIO_PROCESSING_NS_MAIN_SOURCE_NSX_CORE_H_ |  263 #endif  // WEBRTC_MODULES_AUDIO_PROCESSING_NS_MAIN_SOURCE_NSX_CORE_H_ | 
| OLD | NEW |