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 #include "webrtc/modules/video_coding/codecs/test/videoprocessor.h" | 11 #include "webrtc/modules/video_coding/codecs/test/videoprocessor.h" |
12 | 12 |
13 #include <string.h> | 13 #include <string.h> |
14 | 14 |
15 #include <limits> | 15 #include <limits> |
16 #include <memory> | 16 #include <memory> |
17 #include <utility> | 17 #include <utility> |
18 #include <vector> | 18 #include <vector> |
19 | 19 |
20 #include "webrtc/base/checks.h" | 20 #include "webrtc/base/checks.h" |
21 #include "webrtc/base/timeutils.h" | 21 #include "webrtc/base/timeutils.h" |
| 22 #include "webrtc/common_video/include/video_frame_buffer.h" |
22 #include "webrtc/modules/video_coding/include/video_codec_initializer.h" | 23 #include "webrtc/modules/video_coding/include/video_codec_initializer.h" |
23 #include "webrtc/modules/video_coding/utility/default_video_bitrate_allocator.h" | 24 #include "webrtc/modules/video_coding/utility/default_video_bitrate_allocator.h" |
24 #include "webrtc/modules/video_coding/utility/simulcast_rate_allocator.h" | 25 #include "webrtc/modules/video_coding/utility/simulcast_rate_allocator.h" |
25 #include "webrtc/system_wrappers/include/cpu_info.h" | 26 #include "webrtc/system_wrappers/include/cpu_info.h" |
26 | 27 |
27 namespace webrtc { | 28 namespace webrtc { |
28 namespace test { | 29 namespace test { |
29 | 30 |
30 TestConfig::TestConfig() | 31 TestConfig::TestConfig() |
31 : name(""), | 32 : name(""), |
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
436 } | 437 } |
437 int32_t VideoProcessorImpl::VideoProcessorDecodeCompleteCallback::Decoded( | 438 int32_t VideoProcessorImpl::VideoProcessorDecodeCompleteCallback::Decoded( |
438 VideoFrame& image) { | 439 VideoFrame& image) { |
439 // Forward to parent class. | 440 // Forward to parent class. |
440 video_processor_->FrameDecoded(image); | 441 video_processor_->FrameDecoded(image); |
441 return 0; | 442 return 0; |
442 } | 443 } |
443 | 444 |
444 } // namespace test | 445 } // namespace test |
445 } // namespace webrtc | 446 } // namespace webrtc |
OLD | NEW |