OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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_TEST_VIDEOPROCESSOR_H_ | 11 #ifndef WEBRTC_MODULES_VIDEO_CODING_CODECS_TEST_VIDEOPROCESSOR_H_ |
12 #define WEBRTC_MODULES_VIDEO_CODING_CODECS_TEST_VIDEOPROCESSOR_H_ | 12 #define WEBRTC_MODULES_VIDEO_CODING_CODECS_TEST_VIDEOPROCESSOR_H_ |
13 | 13 |
14 #include <memory> | 14 #include <memory> |
15 #include <string> | 15 #include <string> |
16 | 16 |
| 17 #include "webrtc/api/video/video_frame.h" |
17 #include "webrtc/base/checks.h" | 18 #include "webrtc/base/checks.h" |
18 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" | 19 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" |
19 #include "webrtc/modules/video_coding/include/video_codec_interface.h" | 20 #include "webrtc/modules/video_coding/include/video_codec_interface.h" |
20 #include "webrtc/modules/video_coding/codecs/test/packet_manipulator.h" | 21 #include "webrtc/modules/video_coding/codecs/test/packet_manipulator.h" |
21 #include "webrtc/modules/video_coding/codecs/test/stats.h" | 22 #include "webrtc/modules/video_coding/codecs/test/stats.h" |
22 #include "webrtc/test/testsupport/frame_reader.h" | 23 #include "webrtc/test/testsupport/frame_reader.h" |
23 #include "webrtc/test/testsupport/frame_writer.h" | 24 #include "webrtc/test/testsupport/frame_writer.h" |
24 #include "webrtc/video_frame.h" | |
25 | 25 |
26 namespace webrtc { | 26 namespace webrtc { |
27 | 27 |
28 class VideoBitrateAllocator; | 28 class VideoBitrateAllocator; |
29 | 29 |
30 namespace test { | 30 namespace test { |
31 | 31 |
32 // Defines which frame types shall be excluded from packet loss and when. | 32 // Defines which frame types shall be excluded from packet loss and when. |
33 enum ExcludeFrameTypes { | 33 enum ExcludeFrameTypes { |
34 // Will exclude the first keyframe in the video sequence from packet loss. | 34 // Will exclude the first keyframe in the video sequence from packet loss. |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 | 257 |
258 private: | 258 private: |
259 VideoProcessorImpl* video_processor_; | 259 VideoProcessorImpl* video_processor_; |
260 }; | 260 }; |
261 }; | 261 }; |
262 | 262 |
263 } // namespace test | 263 } // namespace test |
264 } // namespace webrtc | 264 } // namespace webrtc |
265 | 265 |
266 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_TEST_VIDEOPROCESSOR_H_ | 266 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_TEST_VIDEOPROCESSOR_H_ |
OLD | NEW |