Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(264)

Side by Side Diff: webrtc/modules/audio_processing/ns/nsx_core_c.c

Issue 2974613003: base->rtc_base: Update .c, .mm and .java files. (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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
11 #include "webrtc/base/checks.h" 11 #include "webrtc/rtc_base/checks.h"
12 #include "webrtc/modules/audio_processing/ns/noise_suppression_x.h" 12 #include "webrtc/modules/audio_processing/ns/noise_suppression_x.h"
13 #include "webrtc/modules/audio_processing/ns/nsx_core.h" 13 #include "webrtc/modules/audio_processing/ns/nsx_core.h"
14 #include "webrtc/modules/audio_processing/ns/nsx_defines.h" 14 #include "webrtc/modules/audio_processing/ns/nsx_defines.h"
15 15
16 static const int16_t kIndicatorTable[17] = { 16 static const int16_t kIndicatorTable[17] = {
17 0, 2017, 3809, 5227, 6258, 6963, 7424, 7718, 17 0, 2017, 3809, 5227, 6258, 6963, 7424, 7718,
18 7901, 8014, 8084, 8126, 8152, 8168, 8177, 8183, 8187 18 7901, 8014, 8084, 8126, 8152, 8168, 8177, 8183, 8187
19 }; 19 };
20 20
21 // Compute speech/noise probability 21 // Compute speech/noise probability
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 tmp32no1 = (int32_t)inst->priorNonSpeechProb << 8; // Q22 251 tmp32no1 = (int32_t)inst->priorNonSpeechProb << 8; // Q22
252 252
253 nonSpeechProbFinal[i] = tmp32no1 / 253 nonSpeechProbFinal[i] = tmp32no1 /
254 (inst->priorNonSpeechProb + invLrtFX); // Q8 254 (inst->priorNonSpeechProb + invLrtFX); // Q8
255 } 255 }
256 } 256 }
257 } 257 }
258 } 258 }
259 } 259 }
260 260
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/ns/nsx_core.c ('k') | webrtc/modules/audio_processing/ns/nsx_core_mips.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698