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

Side by Side Diff: webrtc/modules/audio_coding/acm2/audio_coding_module_unittest.cc

Issue 2743063005: Fixed problems in neteq when RTP and decoder timestamps increment with (Closed)
Patch Set: Fixed TestRedFec, G722_20ms and G722_stereo_20ms unittest failures. Created 3 years, 9 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) 2014 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2014 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 1408 matching lines...) Expand 10 before | Expand all | Expand 10 after
1419 1419
1420 #if defined(WEBRTC_ANDROID) 1420 #if defined(WEBRTC_ANDROID)
1421 #define MAYBE_G722_20ms DISABLED_G722_20ms 1421 #define MAYBE_G722_20ms DISABLED_G722_20ms
1422 #else 1422 #else
1423 #define MAYBE_G722_20ms G722_20ms 1423 #define MAYBE_G722_20ms G722_20ms
1424 #endif 1424 #endif
1425 #if defined(WEBRTC_CODEC_G722) 1425 #if defined(WEBRTC_CODEC_G722)
1426 TEST_F(AcmSenderBitExactnessOldApi, MAYBE_G722_20ms) { 1426 TEST_F(AcmSenderBitExactnessOldApi, MAYBE_G722_20ms) {
1427 ASSERT_NO_FATAL_FAILURE(SetUpTest("G722", 16000, 1, 9, 320, 160)); 1427 ASSERT_NO_FATAL_FAILURE(SetUpTest("G722", 16000, 1, 9, 320, 160));
1428 Run(AcmReceiverBitExactnessOldApi::PlatformChecksum( 1428 Run(AcmReceiverBitExactnessOldApi::PlatformChecksum(
1429 "7d759436f2533582950d148b5161a36c", 1429 "e99c89be49a46325d03c0d990c292d68",
1430 "7d759436f2533582950d148b5161a36c", "android_arm32_audio", 1430 "e99c89be49a46325d03c0d990c292d68", "android_arm32_audio",
1431 "android_arm64_audio"), 1431 "android_arm64_audio"),
1432 AcmReceiverBitExactnessOldApi::PlatformChecksum( 1432 AcmReceiverBitExactnessOldApi::PlatformChecksum(
1433 "fc68a87e1380614e658087cb35d5ca10", 1433 "fc68a87e1380614e658087cb35d5ca10",
1434 "fc68a87e1380614e658087cb35d5ca10", "android_arm32_payload", 1434 "fc68a87e1380614e658087cb35d5ca10", "android_arm32_payload",
1435 "android_arm64_payload"), 1435 "android_arm64_payload"),
1436 50, test::AcmReceiveTestOldApi::kMonoOutput); 1436 50, test::AcmReceiveTestOldApi::kMonoOutput);
1437 } 1437 }
1438 #endif 1438 #endif
1439 1439
1440 #if defined(WEBRTC_ANDROID) 1440 #if defined(WEBRTC_ANDROID)
1441 #define MAYBE_G722_stereo_20ms DISABLED_G722_stereo_20ms 1441 #define MAYBE_G722_stereo_20ms DISABLED_G722_stereo_20ms
1442 #else 1442 #else
1443 #define MAYBE_G722_stereo_20ms G722_stereo_20ms 1443 #define MAYBE_G722_stereo_20ms G722_stereo_20ms
1444 #endif 1444 #endif
1445 #if defined(WEBRTC_CODEC_G722) 1445 #if defined(WEBRTC_CODEC_G722)
1446 TEST_F(AcmSenderBitExactnessOldApi, MAYBE_G722_stereo_20ms) { 1446 TEST_F(AcmSenderBitExactnessOldApi, MAYBE_G722_stereo_20ms) {
1447 ASSERT_NO_FATAL_FAILURE(SetUpTest("G722", 16000, 2, 119, 320, 160)); 1447 ASSERT_NO_FATAL_FAILURE(SetUpTest("G722", 16000, 2, 119, 320, 160));
1448 Run(AcmReceiverBitExactnessOldApi::PlatformChecksum( 1448 Run(AcmReceiverBitExactnessOldApi::PlatformChecksum(
1449 "7190ee718ab3d80eca181e5f7140c210", 1449 "e280aed283e499d37091b481ca094807",
1450 "7190ee718ab3d80eca181e5f7140c210", "android_arm32_audio", 1450 "e280aed283e499d37091b481ca094807", "android_arm32_audio",
1451 "android_arm64_audio"), 1451 "android_arm64_audio"),
1452 AcmReceiverBitExactnessOldApi::PlatformChecksum( 1452 AcmReceiverBitExactnessOldApi::PlatformChecksum(
1453 "66516152eeaa1e650ad94ff85f668dac", 1453 "66516152eeaa1e650ad94ff85f668dac",
1454 "66516152eeaa1e650ad94ff85f668dac", "android_arm32_payload", 1454 "66516152eeaa1e650ad94ff85f668dac", "android_arm32_payload",
1455 "android_arm64_payload"), 1455 "android_arm64_payload"),
1456 50, test::AcmReceiveTestOldApi::kStereoOutput); 1456 50, test::AcmReceiveTestOldApi::kStereoOutput);
1457 } 1457 }
1458 #endif 1458 #endif
1459 1459
1460 TEST_F(AcmSenderBitExactnessOldApi, Opus_stereo_20ms) { 1460 TEST_F(AcmSenderBitExactnessOldApi, Opus_stereo_20ms) {
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
1839 Run(16000, 8000, 1000); 1839 Run(16000, 8000, 1000);
1840 } 1840 }
1841 1841
1842 TEST_F(AcmSwitchingOutputFrequencyOldApi, Toggle8KhzTo16Khz) { 1842 TEST_F(AcmSwitchingOutputFrequencyOldApi, Toggle8KhzTo16Khz) {
1843 Run(8000, 16000, 1000); 1843 Run(8000, 16000, 1000);
1844 } 1844 }
1845 1845
1846 #endif 1846 #endif
1847 1847
1848 } // namespace webrtc 1848 } // namespace webrtc
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/audio_coding/neteq/neteq_impl.cc » ('j') | webrtc/modules/audio_coding/neteq/neteq_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698