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> // max | 10 #include <algorithm> // max |
(...skipping 26 matching lines...) Expand all Loading... |
37 #include "webrtc/test/frame_generator.h" | 37 #include "webrtc/test/frame_generator.h" |
38 #include "webrtc/test/frame_generator_capturer.h" | 38 #include "webrtc/test/frame_generator_capturer.h" |
39 #include "webrtc/test/frame_utils.h" | 39 #include "webrtc/test/frame_utils.h" |
40 #include "webrtc/test/gtest.h" | 40 #include "webrtc/test/gtest.h" |
41 #include "webrtc/test/null_transport.h" | 41 #include "webrtc/test/null_transport.h" |
42 #include "webrtc/test/rtcp_packet_parser.h" | 42 #include "webrtc/test/rtcp_packet_parser.h" |
43 #include "webrtc/test/testsupport/perf_test.h" | 43 #include "webrtc/test/testsupport/perf_test.h" |
44 | 44 |
45 #include "webrtc/video/send_statistics_proxy.h" | 45 #include "webrtc/video/send_statistics_proxy.h" |
46 #include "webrtc/video/transport_adapter.h" | 46 #include "webrtc/video/transport_adapter.h" |
47 #include "webrtc/video_send_stream.h" | 47 #include "webrtc/call/video_send_stream.h" |
48 | 48 |
49 namespace webrtc { | 49 namespace webrtc { |
50 | 50 |
51 enum VideoFormat { kGeneric, kVP8, }; | 51 enum VideoFormat { kGeneric, kVP8, }; |
52 | 52 |
53 void ExpectEqualFramesVector(const std::vector<VideoFrame>& frames1, | 53 void ExpectEqualFramesVector(const std::vector<VideoFrame>& frames1, |
54 const std::vector<VideoFrame>& frames2); | 54 const std::vector<VideoFrame>& frames2); |
55 VideoFrame CreateVideoFrame(int width, int height, uint8_t data); | 55 VideoFrame CreateVideoFrame(int width, int height, uint8_t data); |
56 | 56 |
57 class VideoSendStreamTest : public test::CallTest { | 57 class VideoSendStreamTest : public test::CallTest { |
(...skipping 3446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3504 capturer_ = frame_generator_capturer; | 3504 capturer_ = frame_generator_capturer; |
3505 } | 3505 } |
3506 | 3506 |
3507 test::FrameGeneratorCapturer* capturer_ = nullptr; | 3507 test::FrameGeneratorCapturer* capturer_ = nullptr; |
3508 } test; | 3508 } test; |
3509 | 3509 |
3510 RunBaseTest(&test); | 3510 RunBaseTest(&test); |
3511 } | 3511 } |
3512 | 3512 |
3513 } // namespace webrtc | 3513 } // namespace webrtc |
OLD | NEW |