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/base/checks.h" |
| 12 #include "webrtc/base/logging.h" |
| 13 #include "webrtc/base/timeutils.h" |
| 14 #include "webrtc/base/trace_event.h" |
| 15 #include "webrtc/modules/video_coding/include/video_coding.h" |
11 #include "webrtc/modules/video_coding/generic_decoder.h" | 16 #include "webrtc/modules/video_coding/generic_decoder.h" |
12 #include "webrtc/modules/video_coding/include/video_coding.h" | |
13 #include "webrtc/modules/video_coding/internal_defines.h" | 17 #include "webrtc/modules/video_coding/internal_defines.h" |
14 #include "webrtc/rtc_base/checks.h" | |
15 #include "webrtc/rtc_base/logging.h" | |
16 #include "webrtc/rtc_base/timeutils.h" | |
17 #include "webrtc/rtc_base/trace_event.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 | 21 |
22 VCMDecodedFrameCallback::VCMDecodedFrameCallback(VCMTiming* timing, | 22 VCMDecodedFrameCallback::VCMDecodedFrameCallback(VCMTiming* timing, |
23 Clock* clock) | 23 Clock* clock) |
24 : _clock(clock), | 24 : _clock(clock), |
25 _timing(timing), | 25 _timing(timing), |
26 _timestampMap(kDecoderFrameMemoryLength), | 26 _timestampMap(kDecoderFrameMemoryLength), |
27 _lastReceivedPictureID(0) { | 27 _lastReceivedPictureID(0) { |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 | 222 |
223 bool VCMGenericDecoder::External() const { | 223 bool VCMGenericDecoder::External() const { |
224 return _isExternal; | 224 return _isExternal; |
225 } | 225 } |
226 | 226 |
227 bool VCMGenericDecoder::PrefersLateDecoding() const { | 227 bool VCMGenericDecoder::PrefersLateDecoding() const { |
228 return _decoder->PrefersLateDecoding(); | 228 return _decoder->PrefersLateDecoding(); |
229 } | 229 } |
230 | 230 |
231 } // namespace webrtc | 231 } // namespace webrtc |
OLD | NEW |