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

Side by Side Diff: webrtc/modules/audio_coding/neteq/normal.cc

Issue 1438663003: modules/audio_coding: Remove some codec include dirs (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase again Created 5 years, 1 month 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) 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
11 #include "webrtc/modules/audio_coding/neteq/normal.h" 11 #include "webrtc/modules/audio_coding/neteq/normal.h"
12 12
13 #include <string.h> // memset, memcpy 13 #include <string.h> // memset, memcpy
14 14
15 #include <algorithm> // min 15 #include <algorithm> // min
16 16
17 #include "webrtc/common_audio/signal_processing/include/signal_processing_librar y.h" 17 #include "webrtc/common_audio/signal_processing/include/signal_processing_librar y.h"
18 #include "webrtc/modules/audio_coding/codecs/audio_decoder.h" 18 #include "webrtc/modules/audio_coding/codecs/audio_decoder.h"
19 #include "webrtc/modules/audio_coding/codecs/cng/include/webrtc_cng.h" 19 #include "webrtc/modules/audio_coding/codecs/cng/webrtc_cng.h"
20 #include "webrtc/modules/audio_coding/neteq/audio_multi_vector.h" 20 #include "webrtc/modules/audio_coding/neteq/audio_multi_vector.h"
21 #include "webrtc/modules/audio_coding/neteq/background_noise.h" 21 #include "webrtc/modules/audio_coding/neteq/background_noise.h"
22 #include "webrtc/modules/audio_coding/neteq/decoder_database.h" 22 #include "webrtc/modules/audio_coding/neteq/decoder_database.h"
23 #include "webrtc/modules/audio_coding/neteq/expand.h" 23 #include "webrtc/modules/audio_coding/neteq/expand.h"
24 24
25 namespace webrtc { 25 namespace webrtc {
26 26
27 int Normal::Process(const int16_t* input, 27 int Normal::Process(const int16_t* input,
28 size_t length, 28 size_t length,
29 Modes last_mode, 29 Modes last_mode,
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 external_mute_factor_array[channel_ix] = static_cast<int16_t>(std::min( 195 external_mute_factor_array[channel_ix] = static_cast<int16_t>(std::min(
196 16384, external_mute_factor_array[channel_ix] + increment)); 196 16384, external_mute_factor_array[channel_ix] + increment));
197 } 197 }
198 } 198 }
199 } 199 }
200 200
201 return static_cast<int>(length); 201 return static_cast<int>(length);
202 } 202 }
203 203
204 } // namespace webrtc 204 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/neteq/neteq_unittest.cc ('k') | webrtc/modules/audio_coding/neteq/test/RTPencode.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698