| 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 15 matching lines...) Expand all Loading... |
| 26 #include "webrtc/modules/audio_coding/codecs/ilbc/interface/audio_encoder_ilbc.h
" | 26 #include "webrtc/modules/audio_coding/codecs/ilbc/interface/audio_encoder_ilbc.h
" |
| 27 #include "webrtc/modules/audio_coding/codecs/isac/fix/interface/audio_decoder_is
acfix.h" | 27 #include "webrtc/modules/audio_coding/codecs/isac/fix/interface/audio_decoder_is
acfix.h" |
| 28 #include "webrtc/modules/audio_coding/codecs/isac/fix/interface/audio_encoder_is
acfix.h" | 28 #include "webrtc/modules/audio_coding/codecs/isac/fix/interface/audio_encoder_is
acfix.h" |
| 29 #include "webrtc/modules/audio_coding/codecs/isac/main/interface/audio_decoder_i
sac.h" | 29 #include "webrtc/modules/audio_coding/codecs/isac/main/interface/audio_decoder_i
sac.h" |
| 30 #include "webrtc/modules/audio_coding/codecs/isac/main/interface/audio_encoder_i
sac.h" | 30 #include "webrtc/modules/audio_coding/codecs/isac/main/interface/audio_encoder_i
sac.h" |
| 31 #include "webrtc/modules/audio_coding/codecs/opus/interface/audio_decoder_opus.h
" | 31 #include "webrtc/modules/audio_coding/codecs/opus/interface/audio_decoder_opus.h
" |
| 32 #include "webrtc/modules/audio_coding/codecs/opus/interface/audio_encoder_opus.h
" | 32 #include "webrtc/modules/audio_coding/codecs/opus/interface/audio_encoder_opus.h
" |
| 33 #include "webrtc/modules/audio_coding/codecs/pcm16b/include/audio_decoder_pcm16b
.h" | 33 #include "webrtc/modules/audio_coding/codecs/pcm16b/include/audio_decoder_pcm16b
.h" |
| 34 #include "webrtc/modules/audio_coding/codecs/pcm16b/include/audio_encoder_pcm16b
.h" | 34 #include "webrtc/modules/audio_coding/codecs/pcm16b/include/audio_encoder_pcm16b
.h" |
| 35 #include "webrtc/modules/audio_coding/neteq/tools/resample_input_audio_file.h" | 35 #include "webrtc/modules/audio_coding/neteq/tools/resample_input_audio_file.h" |
| 36 #include "webrtc/system_wrappers/interface/data_log.h" | 36 #include "webrtc/system_wrappers/include/data_log.h" |
| 37 #include "webrtc/test/testsupport/fileutils.h" | 37 #include "webrtc/test/testsupport/fileutils.h" |
| 38 | 38 |
| 39 namespace webrtc { | 39 namespace webrtc { |
| 40 | 40 |
| 41 namespace { | 41 namespace { |
| 42 // The absolute difference between the input and output (the first channel) is | 42 // The absolute difference between the input and output (the first channel) is |
| 43 // compared vs |tolerance|. The parameter |delay| is used to correct for codec | 43 // compared vs |tolerance|. The parameter |delay| is used to correct for codec |
| 44 // delays. | 44 // delays. |
| 45 void CompareInputOutput(const std::vector<int16_t>& input, | 45 void CompareInputOutput(const std::vector<int16_t>& input, |
| 46 const std::vector<int16_t>& output, | 46 const std::vector<int16_t>& output, |
| (...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 734 EXPECT_TRUE(CodecSupported(kDecoderCNGnb)); | 734 EXPECT_TRUE(CodecSupported(kDecoderCNGnb)); |
| 735 EXPECT_TRUE(CodecSupported(kDecoderCNGwb)); | 735 EXPECT_TRUE(CodecSupported(kDecoderCNGwb)); |
| 736 EXPECT_TRUE(CodecSupported(kDecoderCNGswb32kHz)); | 736 EXPECT_TRUE(CodecSupported(kDecoderCNGswb32kHz)); |
| 737 EXPECT_TRUE(CodecSupported(kDecoderCNGswb48kHz)); | 737 EXPECT_TRUE(CodecSupported(kDecoderCNGswb48kHz)); |
| 738 EXPECT_TRUE(CodecSupported(kDecoderArbitrary)); | 738 EXPECT_TRUE(CodecSupported(kDecoderArbitrary)); |
| 739 EXPECT_EQ(has_opus, CodecSupported(kDecoderOpus)); | 739 EXPECT_EQ(has_opus, CodecSupported(kDecoderOpus)); |
| 740 EXPECT_EQ(has_opus, CodecSupported(kDecoderOpus_2ch)); | 740 EXPECT_EQ(has_opus, CodecSupported(kDecoderOpus_2ch)); |
| 741 } | 741 } |
| 742 | 742 |
| 743 } // namespace webrtc | 743 } // namespace webrtc |
| OLD | NEW |