| 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/video_coding_impl.h" | 11 #include "webrtc/modules/video_coding/video_coding_impl.h" |
| 12 | 12 |
| 13 #include <algorithm> | 13 #include <algorithm> |
| 14 #include <utility> | 14 #include <utility> |
| 15 | 15 |
| 16 #include "webrtc/base/criticalsection.h" | |
| 17 #include "webrtc/base/thread_checker.h" | |
| 18 #include "webrtc/common_types.h" | 16 #include "webrtc/common_types.h" |
| 19 #include "webrtc/common_video/include/video_bitrate_allocator.h" | 17 #include "webrtc/common_video/include/video_bitrate_allocator.h" |
| 20 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" | 18 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" |
| 21 #include "webrtc/modules/video_coding/codecs/vp8/temporal_layers.h" | 19 #include "webrtc/modules/video_coding/codecs/vp8/temporal_layers.h" |
| 22 #include "webrtc/modules/video_coding/encoded_frame.h" | 20 #include "webrtc/modules/video_coding/encoded_frame.h" |
| 23 #include "webrtc/modules/video_coding/include/video_codec_initializer.h" | 21 #include "webrtc/modules/video_coding/include/video_codec_initializer.h" |
| 24 #include "webrtc/modules/video_coding/include/video_codec_interface.h" | 22 #include "webrtc/modules/video_coding/include/video_codec_interface.h" |
| 25 #include "webrtc/modules/video_coding/jitter_buffer.h" | 23 #include "webrtc/modules/video_coding/jitter_buffer.h" |
| 26 #include "webrtc/modules/video_coding/packet.h" | 24 #include "webrtc/modules/video_coding/packet.h" |
| 27 #include "webrtc/modules/video_coding/timing.h" | 25 #include "webrtc/modules/video_coding/timing.h" |
| 26 #include "webrtc/rtc_base/criticalsection.h" |
| 27 #include "webrtc/rtc_base/thread_checker.h" |
| 28 #include "webrtc/system_wrappers/include/clock.h" | 28 #include "webrtc/system_wrappers/include/clock.h" |
| 29 | 29 |
| 30 namespace webrtc { | 30 namespace webrtc { |
| 31 namespace vcm { | 31 namespace vcm { |
| 32 | 32 |
| 33 int64_t VCMProcessTimer::Period() const { | 33 int64_t VCMProcessTimer::Period() const { |
| 34 return _periodMs; | 34 return _periodMs; |
| 35 } | 35 } |
| 36 | 36 |
| 37 int64_t VCMProcessTimer::TimeUntilProcess() const { | 37 int64_t VCMProcessTimer::TimeUntilProcess() const { |
| (...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 // new jitter buffer is in place. | 278 // new jitter buffer is in place. |
| 279 VideoCodingModule* VideoCodingModule::Create(Clock* clock, | 279 VideoCodingModule* VideoCodingModule::Create(Clock* clock, |
| 280 EventFactory* event_factory) { | 280 EventFactory* event_factory) { |
| 281 RTC_DCHECK(clock); | 281 RTC_DCHECK(clock); |
| 282 RTC_DCHECK(event_factory); | 282 RTC_DCHECK(event_factory); |
| 283 return new VideoCodingModuleImpl(clock, event_factory, nullptr, nullptr, | 283 return new VideoCodingModuleImpl(clock, event_factory, nullptr, nullptr, |
| 284 nullptr); | 284 nullptr); |
| 285 } | 285 } |
| 286 | 286 |
| 287 } // namespace webrtc | 287 } // namespace webrtc |
| OLD | NEW |