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/video_frame.h" |
19 #include "webrtc/base/checks.h" | 20 #include "webrtc/base/checks.h" |
| 21 #include "webrtc/common_video/include/video_frame_buffer.h" |
20 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" | 22 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" |
21 #include "webrtc/modules/video_coding/codecs/vp8/include/vp8.h" | 23 #include "webrtc/modules/video_coding/codecs/vp8/include/vp8.h" |
22 #include "webrtc/modules/video_coding/codecs/vp8/temporal_layers.h" | 24 #include "webrtc/modules/video_coding/codecs/vp8/temporal_layers.h" |
23 #include "webrtc/modules/video_coding/include/mock/mock_video_codec_interface.h" | 25 #include "webrtc/modules/video_coding/include/mock/mock_video_codec_interface.h" |
24 #include "webrtc/modules/video_coding/utility/simulcast_rate_allocator.h" | 26 #include "webrtc/modules/video_coding/utility/simulcast_rate_allocator.h" |
25 #include "webrtc/test/gtest.h" | 27 #include "webrtc/test/gtest.h" |
26 #include "webrtc/video_frame.h" | 28 #include "webrtc/video_frame.h" |
27 | 29 |
28 using ::testing::_; | 30 using ::testing::_; |
29 using ::testing::AllOf; | 31 using ::testing::AllOf; |
(...skipping 853 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
883 VideoCodec settings_; | 885 VideoCodec settings_; |
884 rtc::scoped_refptr<I420Buffer> input_buffer_; | 886 rtc::scoped_refptr<I420Buffer> input_buffer_; |
885 std::unique_ptr<VideoFrame> input_frame_; | 887 std::unique_ptr<VideoFrame> input_frame_; |
886 std::unique_ptr<SimulcastRateAllocator> rate_allocator_; | 888 std::unique_ptr<SimulcastRateAllocator> rate_allocator_; |
887 }; | 889 }; |
888 | 890 |
889 } // namespace testing | 891 } // namespace testing |
890 } // namespace webrtc | 892 } // namespace webrtc |
891 | 893 |
892 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_SIMULCAST_UNITTEST_H_ | 894 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_SIMULCAST_UNITTEST_H_ |
OLD | NEW |