| 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/api/video/i420_buffer.h" |
| 20 #include "webrtc/base/checks.h" | 21 #include "webrtc/base/checks.h" |
| 21 #include "webrtc/base/timeutils.h" | 22 #include "webrtc/base/timeutils.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 |
| (...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 418 } | 419 } |
| 419 int32_t VideoProcessorImpl::VideoProcessorDecodeCompleteCallback::Decoded( | 420 int32_t VideoProcessorImpl::VideoProcessorDecodeCompleteCallback::Decoded( |
| 420 VideoFrame& image) { | 421 VideoFrame& image) { |
| 421 // Forward to parent class. | 422 // Forward to parent class. |
| 422 video_processor_->FrameDecoded(image); | 423 video_processor_->FrameDecoded(image); |
| 423 return 0; | 424 return 0; |
| 424 } | 425 } |
| 425 | 426 |
| 426 } // namespace test | 427 } // namespace test |
| 427 } // namespace webrtc | 428 } // namespace webrtc |
| OLD | NEW |