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/include/video_codec_interface.h" |
14 #include "webrtc/modules/video_coding/main/source/encoded_frame.h" | 14 #include "webrtc/modules/video_coding/encoded_frame.h" |
15 #include "webrtc/modules/video_coding/main/source/jitter_buffer.h" | 15 #include "webrtc/modules/video_coding/jitter_buffer.h" |
16 #include "webrtc/modules/video_coding/main/source/packet.h" | 16 #include "webrtc/modules/video_coding/packet.h" |
17 #include "webrtc/modules/video_coding/main/source/video_coding_impl.h" | 17 #include "webrtc/modules/video_coding/video_coding_impl.h" |
18 #include "webrtc/system_wrappers/include/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 |
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 return new VideoCodingModuleImpl(clock, event_factory, false, nullptr, | 343 return new VideoCodingModuleImpl(clock, event_factory, false, nullptr, |
344 nullptr); | 344 nullptr); |
345 } | 345 } |
346 | 346 |
347 void VideoCodingModule::Destroy(VideoCodingModule* module) { | 347 void VideoCodingModule::Destroy(VideoCodingModule* module) { |
348 if (module != NULL) { | 348 if (module != NULL) { |
349 delete static_cast<VideoCodingModuleImpl*>(module); | 349 delete static_cast<VideoCodingModuleImpl*>(module); |
350 } | 350 } |
351 } | 351 } |
352 } // namespace webrtc | 352 } // namespace webrtc |
OLD | NEW |