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/common_types.h" | 11 #include "webrtc/common_types.h" |
12 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" | 12 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" |
13 #include "webrtc/modules/video_coding/codecs/interface/video_codec_interface.h" | 13 #include "webrtc/modules/video_coding/codecs/interface/video_codec_interface.h" |
14 #include "webrtc/modules/video_coding/main/source/encoded_frame.h" | 14 #include "webrtc/modules/video_coding/main/source/encoded_frame.h" |
15 #include "webrtc/modules/video_coding/main/source/jitter_buffer.h" | 15 #include "webrtc/modules/video_coding/main/source/jitter_buffer.h" |
16 #include "webrtc/modules/video_coding/main/source/packet.h" | 16 #include "webrtc/modules/video_coding/main/source/packet.h" |
17 #include "webrtc/modules/video_coding/main/source/video_coding_impl.h" | 17 #include "webrtc/modules/video_coding/main/source/video_coding_impl.h" |
18 #include "webrtc/system_wrappers/interface/clock.h" | 18 #include "webrtc/system_wrappers/include/clock.h" |
19 | 19 |
20 namespace webrtc { | 20 namespace webrtc { |
21 namespace vcm { | 21 namespace vcm { |
22 | 22 |
23 int64_t | 23 int64_t |
24 VCMProcessTimer::Period() const { | 24 VCMProcessTimer::Period() const { |
25 return _periodMs; | 25 return _periodMs; |
26 } | 26 } |
27 | 27 |
28 int64_t | 28 int64_t |
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 return new VideoCodingModuleImpl(clock, event_factory, false, nullptr, | 354 return new VideoCodingModuleImpl(clock, event_factory, false, nullptr, |
355 nullptr); | 355 nullptr); |
356 } | 356 } |
357 | 357 |
358 void VideoCodingModule::Destroy(VideoCodingModule* module) { | 358 void VideoCodingModule::Destroy(VideoCodingModule* module) { |
359 if (module != NULL) { | 359 if (module != NULL) { |
360 delete static_cast<VideoCodingModuleImpl*>(module); | 360 delete static_cast<VideoCodingModuleImpl*>(module); |
361 } | 361 } |
362 } | 362 } |
363 } // namespace webrtc | 363 } // namespace webrtc |
OLD | NEW |