| OLD | NEW |
| 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 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 439 TEST_F(NetEqDecodingTest, MAYBE_TestBitExactness) { | 439 TEST_F(NetEqDecodingTest, MAYBE_TestBitExactness) { |
| 440 const std::string input_rtp_file = | 440 const std::string input_rtp_file = |
| 441 webrtc::test::ResourcePath("audio_coding/neteq_universal_new", "rtp"); | 441 webrtc::test::ResourcePath("audio_coding/neteq_universal_new", "rtp"); |
| 442 | 442 |
| 443 const std::string output_checksum = PlatformChecksum( | 443 const std::string output_checksum = PlatformChecksum( |
| 444 "09fa7646e2ad032a0b156177b95f09012430f81f", | 444 "09fa7646e2ad032a0b156177b95f09012430f81f", |
| 445 "1c64eb8b55ce8878676c6a1e6ddd78f48de0668b", | 445 "1c64eb8b55ce8878676c6a1e6ddd78f48de0668b", |
| 446 "09fa7646e2ad032a0b156177b95f09012430f81f", | 446 "09fa7646e2ad032a0b156177b95f09012430f81f", |
| 447 "759fef89a5de52bd17e733dc255c671ce86be909"); | 447 "759fef89a5de52bd17e733dc255c671ce86be909"); |
| 448 | 448 |
| 449 const std::string network_stats_checksum = PlatformChecksum( | 449 const std::string network_stats_checksum = |
| 450 "f59b3dfdb9b1b8bbb61abedd7c8cf3fc47c21f5f", | 450 PlatformChecksum("f7c2158761a531dd2804d13da0480033faa7be12", |
| 451 "c8b2a93842e48d014f7e6efe10ae96cb3892b129", | 451 "8b5e3c8247dce48cb33923eaa1a502ca91429d5e", |
| 452 "f59b3dfdb9b1b8bbb61abedd7c8cf3fc47c21f5f", | 452 "f7c2158761a531dd2804d13da0480033faa7be12", |
| 453 "f59b3dfdb9b1b8bbb61abedd7c8cf3fc47c21f5f"); | 453 "f7c2158761a531dd2804d13da0480033faa7be12"); |
| 454 | 454 |
| 455 const std::string rtcp_stats_checksum = PlatformChecksum( | 455 const std::string rtcp_stats_checksum = PlatformChecksum( |
| 456 "b8880bf9fed2487efbddcb8d94b9937a29ae521d", | 456 "b8880bf9fed2487efbddcb8d94b9937a29ae521d", |
| 457 "f3f7b3d3e71d7e635240b5373b57df6a7e4ce9d4", | 457 "f3f7b3d3e71d7e635240b5373b57df6a7e4ce9d4", |
| 458 "b8880bf9fed2487efbddcb8d94b9937a29ae521d", | 458 "b8880bf9fed2487efbddcb8d94b9937a29ae521d", |
| 459 "b8880bf9fed2487efbddcb8d94b9937a29ae521d"); | 459 "b8880bf9fed2487efbddcb8d94b9937a29ae521d"); |
| 460 | 460 |
| 461 DecodeAndCompare(input_rtp_file, | 461 DecodeAndCompare(input_rtp_file, |
| 462 output_checksum, | 462 output_checksum, |
| 463 network_stats_checksum, | 463 network_stats_checksum, |
| (...skipping 12 matching lines...) Expand all Loading... |
| 476 TEST_F(NetEqDecodingTest, MAYBE_TestOpusBitExactness) { | 476 TEST_F(NetEqDecodingTest, MAYBE_TestOpusBitExactness) { |
| 477 const std::string input_rtp_file = | 477 const std::string input_rtp_file = |
| 478 webrtc::test::ResourcePath("audio_coding/neteq_opus", "rtp"); | 478 webrtc::test::ResourcePath("audio_coding/neteq_opus", "rtp"); |
| 479 | 479 |
| 480 const std::string output_checksum = PlatformChecksum( | 480 const std::string output_checksum = PlatformChecksum( |
| 481 "6237dd113ad80d7764fe4c90b55b2ec035eae64e", | 481 "6237dd113ad80d7764fe4c90b55b2ec035eae64e", |
| 482 "6237dd113ad80d7764fe4c90b55b2ec035eae64e", | 482 "6237dd113ad80d7764fe4c90b55b2ec035eae64e", |
| 483 "6237dd113ad80d7764fe4c90b55b2ec035eae64e", | 483 "6237dd113ad80d7764fe4c90b55b2ec035eae64e", |
| 484 "6237dd113ad80d7764fe4c90b55b2ec035eae64e"); | 484 "6237dd113ad80d7764fe4c90b55b2ec035eae64e"); |
| 485 | 485 |
| 486 const std::string network_stats_checksum = PlatformChecksum( | 486 const std::string network_stats_checksum = |
| 487 "d8379381d5a619f0616bb3c0a8a9eea1704a8ab8", | 487 PlatformChecksum("0869a450a819b14bf2a91eb6f3629a3421d17606", |
| 488 "d8379381d5a619f0616bb3c0a8a9eea1704a8ab8", | 488 "0869a450a819b14bf2a91eb6f3629a3421d17606", |
| 489 "d8379381d5a619f0616bb3c0a8a9eea1704a8ab8", | 489 "0869a450a819b14bf2a91eb6f3629a3421d17606", |
| 490 "d8379381d5a619f0616bb3c0a8a9eea1704a8ab8"); | 490 "0869a450a819b14bf2a91eb6f3629a3421d17606"); |
| 491 | 491 |
| 492 const std::string rtcp_stats_checksum = PlatformChecksum( | 492 const std::string rtcp_stats_checksum = PlatformChecksum( |
| 493 "e37c797e3de6a64dda88c9ade7a013d022a2e1e0", | 493 "e37c797e3de6a64dda88c9ade7a013d022a2e1e0", |
| 494 "e37c797e3de6a64dda88c9ade7a013d022a2e1e0", | 494 "e37c797e3de6a64dda88c9ade7a013d022a2e1e0", |
| 495 "e37c797e3de6a64dda88c9ade7a013d022a2e1e0", | 495 "e37c797e3de6a64dda88c9ade7a013d022a2e1e0", |
| 496 "e37c797e3de6a64dda88c9ade7a013d022a2e1e0"); | 496 "e37c797e3de6a64dda88c9ade7a013d022a2e1e0"); |
| 497 | 497 |
| 498 DecodeAndCompare(input_rtp_file, | 498 DecodeAndCompare(input_rtp_file, |
| 499 output_checksum, | 499 output_checksum, |
| 500 network_stats_checksum, | 500 network_stats_checksum, |
| (...skipping 1140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1641 // Pull out data once. | 1641 // Pull out data once. |
| 1642 AudioFrame output; | 1642 AudioFrame output; |
| 1643 bool muted; | 1643 bool muted; |
| 1644 ASSERT_EQ(0, neteq_->GetAudio(&output, &muted)); | 1644 ASSERT_EQ(0, neteq_->GetAudio(&output, &muted)); |
| 1645 | 1645 |
| 1646 EXPECT_EQ(std::vector<uint32_t>({kRtpTimestamp1, kRtpTimestamp2}), | 1646 EXPECT_EQ(std::vector<uint32_t>({kRtpTimestamp1, kRtpTimestamp2}), |
| 1647 neteq_->LastDecodedTimestamps()); | 1647 neteq_->LastDecodedTimestamps()); |
| 1648 } | 1648 } |
| 1649 | 1649 |
| 1650 } // namespace webrtc | 1650 } // namespace webrtc |
| OLD | NEW |