| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 #include <algorithm> | 10 #include <algorithm> |
| (...skipping 1616 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1627 EXPECT_EQ(1, test::NumHistogramSamples( | 1627 EXPECT_EQ(1, test::NumHistogramSamples( |
| 1628 "WebRTC.Video.KeyFramesSentInPermille")); | 1628 "WebRTC.Video.KeyFramesSentInPermille")); |
| 1629 EXPECT_EQ(1, test::NumHistogramSamples( | 1629 EXPECT_EQ(1, test::NumHistogramSamples( |
| 1630 "WebRTC.Video.KeyFramesReceivedInPermille")); | 1630 "WebRTC.Video.KeyFramesReceivedInPermille")); |
| 1631 | 1631 |
| 1632 EXPECT_EQ(1, test::NumHistogramSamples( | 1632 EXPECT_EQ(1, test::NumHistogramSamples( |
| 1633 "WebRTC.Video.SentPacketsLostInPercent")); | 1633 "WebRTC.Video.SentPacketsLostInPercent")); |
| 1634 EXPECT_EQ(1, test::NumHistogramSamples( | 1634 EXPECT_EQ(1, test::NumHistogramSamples( |
| 1635 "WebRTC.Video.ReceivedPacketsLostInPercent")); | 1635 "WebRTC.Video.ReceivedPacketsLostInPercent")); |
| 1636 | 1636 |
| 1637 EXPECT_EQ(1, test::NumHistogramSamples("WebRTC.Video.InputWidthInPixels")); |
| 1638 EXPECT_EQ(1, test::NumHistogramSamples("WebRTC.Video.InputHeightInPixels")); |
| 1639 EXPECT_EQ(1, test::NumHistogramSamples("WebRTC.Video.SentWidthInPixels")); |
| 1640 EXPECT_EQ(1, test::NumHistogramSamples("WebRTC.Video.SentHeightInPixels")); |
| 1641 EXPECT_EQ(1, test::NumHistogramSamples("WebRTC.Video.ReceivedWidthInPixels")); |
| 1642 EXPECT_EQ(1, test::NumHistogramSamples( |
| 1643 "WebRTC.Video.ReceivedHeightInPixels")); |
| 1644 |
| 1645 EXPECT_EQ(static_cast<int>(encoder_config_.streams[0].width), |
| 1646 test::LastHistogramSample("WebRTC.Video.InputWidthInPixels")); |
| 1647 EXPECT_EQ(static_cast<int>(encoder_config_.streams[0].height), |
| 1648 test::LastHistogramSample("WebRTC.Video.InputHeightInPixels")); |
| 1649 EXPECT_EQ(static_cast<int>(encoder_config_.streams[0].width), |
| 1650 test::LastHistogramSample("WebRTC.Video.SentWidthInPixels")); |
| 1651 EXPECT_EQ(static_cast<int>(encoder_config_.streams[0].height), |
| 1652 test::LastHistogramSample("WebRTC.Video.SentHeightInPixels")); |
| 1653 EXPECT_EQ(static_cast<int>(encoder_config_.streams[0].width), |
| 1654 test::LastHistogramSample("WebRTC.Video.ReceivedWidthInPixels")); |
| 1655 EXPECT_EQ(static_cast<int>(encoder_config_.streams[0].height), |
| 1656 test::LastHistogramSample("WebRTC.Video.ReceivedHeightInPixels")); |
| 1657 |
| 1637 EXPECT_EQ(1, test::NumHistogramSamples("WebRTC.Video.InputFramesPerSecond")); | 1658 EXPECT_EQ(1, test::NumHistogramSamples("WebRTC.Video.InputFramesPerSecond")); |
| 1638 EXPECT_EQ(1, test::NumHistogramSamples("WebRTC.Video.SentFramesPerSecond")); | 1659 EXPECT_EQ(1, test::NumHistogramSamples("WebRTC.Video.SentFramesPerSecond")); |
| 1639 EXPECT_EQ(1, test::NumHistogramSamples( | 1660 EXPECT_EQ(1, test::NumHistogramSamples( |
| 1640 "WebRTC.Video.DecodedFramesPerSecond")); | 1661 "WebRTC.Video.DecodedFramesPerSecond")); |
| 1662 EXPECT_EQ(1, test::NumHistogramSamples("WebRTC.Video.RenderFramesPerSecond")); |
| 1641 | 1663 |
| 1642 EXPECT_EQ(1, test::NumHistogramSamples( | 1664 EXPECT_EQ(1, test::NumHistogramSamples( |
| 1643 "WebRTC.Video.BitrateSentInKbps")); | 1665 "WebRTC.Video.BitrateSentInKbps")); |
| 1644 EXPECT_EQ(1, test::NumHistogramSamples( | 1666 EXPECT_EQ(1, test::NumHistogramSamples( |
| 1645 "WebRTC.Video.BitrateReceivedInKbps")); | 1667 "WebRTC.Video.BitrateReceivedInKbps")); |
| 1646 EXPECT_EQ(1, test::NumHistogramSamples( | 1668 EXPECT_EQ(1, test::NumHistogramSamples( |
| 1647 "WebRTC.Video.MediaBitrateSentInKbps")); | 1669 "WebRTC.Video.MediaBitrateSentInKbps")); |
| 1648 EXPECT_EQ(1, test::NumHistogramSamples( | 1670 EXPECT_EQ(1, test::NumHistogramSamples( |
| 1649 "WebRTC.Video.MediaBitrateReceivedInKbps")); | 1671 "WebRTC.Video.MediaBitrateReceivedInKbps")); |
| 1650 EXPECT_EQ(1, test::NumHistogramSamples( | 1672 EXPECT_EQ(1, test::NumHistogramSamples( |
| (...skipping 1180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2831 EXPECT_TRUE(default_receive_config.rtp.rtx.empty()) | 2853 EXPECT_TRUE(default_receive_config.rtp.rtx.empty()) |
| 2832 << "Enabling RTX requires rtpmap: rtx negotiation."; | 2854 << "Enabling RTX requires rtpmap: rtx negotiation."; |
| 2833 EXPECT_TRUE(default_receive_config.rtp.extensions.empty()) | 2855 EXPECT_TRUE(default_receive_config.rtp.extensions.empty()) |
| 2834 << "Enabling RTP extensions require negotiation."; | 2856 << "Enabling RTP extensions require negotiation."; |
| 2835 | 2857 |
| 2836 VerifyEmptyNackConfig(default_receive_config.rtp.nack); | 2858 VerifyEmptyNackConfig(default_receive_config.rtp.nack); |
| 2837 VerifyEmptyFecConfig(default_receive_config.rtp.fec); | 2859 VerifyEmptyFecConfig(default_receive_config.rtp.fec); |
| 2838 } | 2860 } |
| 2839 | 2861 |
| 2840 } // namespace webrtc | 2862 } // namespace webrtc |
| OLD | NEW |