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 <memory> | 15 #include <memory> |
16 #include <vector> | 16 #include <vector> |
17 | 17 |
| 18 #include "testing/gtest/include/gtest/gtest.h" |
18 #include "webrtc/base/checks.h" | 19 #include "webrtc/base/checks.h" |
19 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" | 20 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" |
20 #include "webrtc/modules/video_coding/include/mock/mock_video_codec_interface.h" | 21 #include "webrtc/modules/video_coding/include/mock/mock_video_codec_interface.h" |
21 #include "webrtc/modules/video_coding/codecs/vp8/include/vp8.h" | 22 #include "webrtc/modules/video_coding/codecs/vp8/include/vp8.h" |
22 #include "webrtc/modules/video_coding/codecs/vp8/temporal_layers.h" | 23 #include "webrtc/modules/video_coding/codecs/vp8/temporal_layers.h" |
23 #include "webrtc/video_frame.h" | 24 #include "webrtc/video_frame.h" |
24 | 25 |
25 #include "gtest/gtest.h" | |
26 | |
27 using ::testing::_; | 26 using ::testing::_; |
28 using ::testing::AllOf; | 27 using ::testing::AllOf; |
29 using ::testing::Field; | 28 using ::testing::Field; |
30 using ::testing::Return; | 29 using ::testing::Return; |
31 | 30 |
32 namespace webrtc { | 31 namespace webrtc { |
33 namespace testing { | 32 namespace testing { |
34 | 33 |
35 const int kDefaultWidth = 1280; | 34 const int kDefaultWidth = 1280; |
36 const int kDefaultHeight = 720; | 35 const int kDefaultHeight = 720; |
(...skipping 912 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
949 std::unique_ptr<VP8Decoder> decoder_; | 948 std::unique_ptr<VP8Decoder> decoder_; |
950 MockDecodedImageCallback decoder_callback_; | 949 MockDecodedImageCallback decoder_callback_; |
951 VideoCodec settings_; | 950 VideoCodec settings_; |
952 VideoFrame input_frame_; | 951 VideoFrame input_frame_; |
953 }; | 952 }; |
954 | 953 |
955 } // namespace testing | 954 } // namespace testing |
956 } // namespace webrtc | 955 } // namespace webrtc |
957 | 956 |
958 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_SIMULCAST_UNITTEST_H_ | 957 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_SIMULCAST_UNITTEST_H_ |
OLD | NEW |