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 | 14 |
15 #include "webrtc/common_types.h" | 15 #include "webrtc/common_types.h" |
16 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" | 16 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" |
| 17 #include "webrtc/base/criticalsection.h" |
17 #include "webrtc/modules/video_coding/include/video_codec_interface.h" | 18 #include "webrtc/modules/video_coding/include/video_codec_interface.h" |
18 #include "webrtc/modules/video_coding/encoded_frame.h" | 19 #include "webrtc/modules/video_coding/encoded_frame.h" |
19 #include "webrtc/modules/video_coding/jitter_buffer.h" | 20 #include "webrtc/modules/video_coding/jitter_buffer.h" |
20 #include "webrtc/modules/video_coding/packet.h" | 21 #include "webrtc/modules/video_coding/packet.h" |
21 #include "webrtc/system_wrappers/include/clock.h" | 22 #include "webrtc/system_wrappers/include/clock.h" |
22 | 23 |
23 namespace webrtc { | 24 namespace webrtc { |
24 namespace vcm { | 25 namespace vcm { |
25 | 26 |
26 int64_t VCMProcessTimer::Period() const { | 27 int64_t VCMProcessTimer::Period() const { |
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 NackSender* nack_sender, | 338 NackSender* nack_sender, |
338 KeyFrameRequestSender* keyframe_request_sender) { | 339 KeyFrameRequestSender* keyframe_request_sender) { |
339 assert(clock); | 340 assert(clock); |
340 assert(event_factory); | 341 assert(event_factory); |
341 return new VideoCodingModuleImpl(clock, event_factory, false, nullptr, | 342 return new VideoCodingModuleImpl(clock, event_factory, false, nullptr, |
342 nullptr, nack_sender, | 343 nullptr, nack_sender, |
343 keyframe_request_sender); | 344 keyframe_request_sender); |
344 } | 345 } |
345 | 346 |
346 } // namespace webrtc | 347 } // namespace webrtc |
OLD | NEW |