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

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

Issue 2763273003: Changed OLA window for neteq. Old code didnt work well with 48khz (Closed)
Patch Set: updated hash values for Android and win64 Created 3 years, 8 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) 2011 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2011 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 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 !defined(WEBRTC_ARCH_ARM64) 435 !defined(WEBRTC_ARCH_ARM64)
436 #define MAYBE_TestBitExactness TestBitExactness 436 #define MAYBE_TestBitExactness TestBitExactness
437 #else 437 #else
438 #define MAYBE_TestBitExactness DISABLED_TestBitExactness 438 #define MAYBE_TestBitExactness DISABLED_TestBitExactness
439 #endif 439 #endif
440 TEST_F(NetEqDecodingTest, MAYBE_TestBitExactness) { 440 TEST_F(NetEqDecodingTest, MAYBE_TestBitExactness) {
441 const std::string input_rtp_file = 441 const std::string input_rtp_file =
442 webrtc::test::ResourcePath("audio_coding/neteq_universal_new", "rtp"); 442 webrtc::test::ResourcePath("audio_coding/neteq_universal_new", "rtp");
443 443
444 const std::string output_checksum = PlatformChecksum( 444 const std::string output_checksum = PlatformChecksum(
445 "5a8184bc60c0d7dddb50af8966360675476a8d8b", 445 "09fa7646e2ad032a0b156177b95f09012430f81f",
446 "be982d2c5685dd1ca4ea5d352283df50e8e5b46d", 446 "1c64eb8b55ce8878676c6a1e6ddd78f48de0668b",
447 "5a8184bc60c0d7dddb50af8966360675476a8d8b", 447 "09fa7646e2ad032a0b156177b95f09012430f81f",
448 "c86aec95439748f4949de95b50c94be291118615"); 448 "759fef89a5de52bd17e733dc255c671ce86be909");
449 449
450 const std::string network_stats_checksum = PlatformChecksum( 450 const std::string network_stats_checksum = PlatformChecksum(
451 "f59b3dfdb9b1b8bbb61abedd7c8cf3fc47c21f5f", 451 "f59b3dfdb9b1b8bbb61abedd7c8cf3fc47c21f5f",
452 "c8b2a93842e48d014f7e6efe10ae96cb3892b129", 452 "c8b2a93842e48d014f7e6efe10ae96cb3892b129",
453 "f59b3dfdb9b1b8bbb61abedd7c8cf3fc47c21f5f", 453 "f59b3dfdb9b1b8bbb61abedd7c8cf3fc47c21f5f",
454 "f59b3dfdb9b1b8bbb61abedd7c8cf3fc47c21f5f"); 454 "f59b3dfdb9b1b8bbb61abedd7c8cf3fc47c21f5f");
455 455
456 const std::string rtcp_stats_checksum = PlatformChecksum( 456 const std::string rtcp_stats_checksum = PlatformChecksum(
457 "b8880bf9fed2487efbddcb8d94b9937a29ae521d", 457 "b8880bf9fed2487efbddcb8d94b9937a29ae521d",
458 "f3f7b3d3e71d7e635240b5373b57df6a7e4ce9d4", 458 "f3f7b3d3e71d7e635240b5373b57df6a7e4ce9d4",
(...skipping 13 matching lines...) Expand all
472 !WEBRTC_OPUS_SUPPORT_120MS_PTIME 472 !WEBRTC_OPUS_SUPPORT_120MS_PTIME
473 #define MAYBE_TestOpusBitExactness TestOpusBitExactness 473 #define MAYBE_TestOpusBitExactness TestOpusBitExactness
474 #else 474 #else
475 #define MAYBE_TestOpusBitExactness DISABLED_TestOpusBitExactness 475 #define MAYBE_TestOpusBitExactness DISABLED_TestOpusBitExactness
476 #endif 476 #endif
477 TEST_F(NetEqDecodingTest, MAYBE_TestOpusBitExactness) { 477 TEST_F(NetEqDecodingTest, MAYBE_TestOpusBitExactness) {
478 const std::string input_rtp_file = 478 const std::string input_rtp_file =
479 webrtc::test::ResourcePath("audio_coding/neteq_opus", "rtp"); 479 webrtc::test::ResourcePath("audio_coding/neteq_opus", "rtp");
480 480
481 const std::string output_checksum = PlatformChecksum( 481 const std::string output_checksum = PlatformChecksum(
482 "9d7d52bc94e941d106aa518f324f16a58d231586", 482 "6237dd113ad80d7764fe4c90b55b2ec035eae64e",
483 "9d7d52bc94e941d106aa518f324f16a58d231586", 483 "6237dd113ad80d7764fe4c90b55b2ec035eae64e",
484 "9d7d52bc94e941d106aa518f324f16a58d231586", 484 "6237dd113ad80d7764fe4c90b55b2ec035eae64e",
485 "9d7d52bc94e941d106aa518f324f16a58d231586"); 485 "6237dd113ad80d7764fe4c90b55b2ec035eae64e");
486 486
487 const std::string network_stats_checksum = PlatformChecksum( 487 const std::string network_stats_checksum = PlatformChecksum(
488 "d8379381d5a619f0616bb3c0a8a9eea1704a8ab8", 488 "d8379381d5a619f0616bb3c0a8a9eea1704a8ab8",
489 "d8379381d5a619f0616bb3c0a8a9eea1704a8ab8", 489 "d8379381d5a619f0616bb3c0a8a9eea1704a8ab8",
490 "d8379381d5a619f0616bb3c0a8a9eea1704a8ab8", 490 "d8379381d5a619f0616bb3c0a8a9eea1704a8ab8",
491 "d8379381d5a619f0616bb3c0a8a9eea1704a8ab8"); 491 "d8379381d5a619f0616bb3c0a8a9eea1704a8ab8");
492 492
493 const std::string rtcp_stats_checksum = PlatformChecksum( 493 const std::string rtcp_stats_checksum = PlatformChecksum(
494 "e37c797e3de6a64dda88c9ade7a013d022a2e1e0", 494 "e37c797e3de6a64dda88c9ade7a013d022a2e1e0",
495 "e37c797e3de6a64dda88c9ade7a013d022a2e1e0", 495 "e37c797e3de6a64dda88c9ade7a013d022a2e1e0",
(...skipping 1086 matching lines...) Expand 10 before | Expand all | Expand 10 after
1582 if (muted) { 1582 if (muted) {
1583 EXPECT_TRUE(AudioFramesEqualExceptData(out_frame1, out_frame2)); 1583 EXPECT_TRUE(AudioFramesEqualExceptData(out_frame1, out_frame2));
1584 } else { 1584 } else {
1585 EXPECT_TRUE(AudioFramesEqual(out_frame1, out_frame2)); 1585 EXPECT_TRUE(AudioFramesEqual(out_frame1, out_frame2));
1586 } 1586 }
1587 } 1587 }
1588 EXPECT_FALSE(muted); 1588 EXPECT_FALSE(muted);
1589 } 1589 }
1590 1590
1591 } // namespace webrtc 1591 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/acm2/audio_coding_module_unittest.cc ('k') | webrtc/modules/audio_coding/neteq/normal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698