OLD | NEW |
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 |
11 #ifndef WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_SIMULCAST_UNITTEST_H_ | 11 #ifndef WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_SIMULCAST_UNITTEST_H_ |
12 #define WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_SIMULCAST_UNITTEST_H_ | 12 #define WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_SIMULCAST_UNITTEST_H_ |
13 | 13 |
14 #include <algorithm> | 14 #include <algorithm> |
15 #include <map> | 15 #include <map> |
16 #include <memory> | 16 #include <memory> |
17 #include <vector> | 17 #include <vector> |
18 | 18 |
19 #include "webrtc/api/video/i420_buffer.h" | 19 #include "webrtc/api/video/i420_buffer.h" |
20 #include "webrtc/api/video/video_frame.h" | 20 #include "webrtc/api/video/video_frame.h" |
21 #include "webrtc/base/checks.h" | |
22 #include "webrtc/common_video/include/video_frame.h" | 21 #include "webrtc/common_video/include/video_frame.h" |
23 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" | 22 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" |
24 #include "webrtc/modules/video_coding/codecs/vp8/include/vp8.h" | 23 #include "webrtc/modules/video_coding/codecs/vp8/include/vp8.h" |
25 #include "webrtc/modules/video_coding/codecs/vp8/simulcast_rate_allocator.h" | 24 #include "webrtc/modules/video_coding/codecs/vp8/simulcast_rate_allocator.h" |
26 #include "webrtc/modules/video_coding/codecs/vp8/temporal_layers.h" | 25 #include "webrtc/modules/video_coding/codecs/vp8/temporal_layers.h" |
27 #include "webrtc/modules/video_coding/include/mock/mock_video_codec_interface.h" | 26 #include "webrtc/modules/video_coding/include/mock/mock_video_codec_interface.h" |
28 #include "webrtc/modules/video_coding/include/video_coding_defines.h" | 27 #include "webrtc/modules/video_coding/include/video_coding_defines.h" |
| 28 #include "webrtc/rtc_base/checks.h" |
29 #include "webrtc/test/gtest.h" | 29 #include "webrtc/test/gtest.h" |
30 | 30 |
31 using ::testing::_; | 31 using ::testing::_; |
32 using ::testing::AllOf; | 32 using ::testing::AllOf; |
33 using ::testing::Field; | 33 using ::testing::Field; |
34 using ::testing::Return; | 34 using ::testing::Return; |
35 | 35 |
36 namespace webrtc { | 36 namespace webrtc { |
37 namespace testing { | 37 namespace testing { |
38 | 38 |
(...skipping 701 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
740 VideoCodec settings_; | 740 VideoCodec settings_; |
741 rtc::scoped_refptr<I420Buffer> input_buffer_; | 741 rtc::scoped_refptr<I420Buffer> input_buffer_; |
742 std::unique_ptr<VideoFrame> input_frame_; | 742 std::unique_ptr<VideoFrame> input_frame_; |
743 std::unique_ptr<SimulcastRateAllocator> rate_allocator_; | 743 std::unique_ptr<SimulcastRateAllocator> rate_allocator_; |
744 }; | 744 }; |
745 | 745 |
746 } // namespace testing | 746 } // namespace testing |
747 } // namespace webrtc | 747 } // namespace webrtc |
748 | 748 |
749 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_SIMULCAST_UNITTEST_H_ | 749 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_SIMULCAST_UNITTEST_H_ |
OLD | NEW |