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/logging.h" |
11 #include "webrtc/modules/video_coding/main/interface/video_coding.h" | 12 #include "webrtc/modules/video_coding/main/interface/video_coding.h" |
12 #include "webrtc/modules/video_coding/main/source/generic_decoder.h" | 13 #include "webrtc/modules/video_coding/main/source/generic_decoder.h" |
13 #include "webrtc/modules/video_coding/main/source/internal_defines.h" | 14 #include "webrtc/modules/video_coding/main/source/internal_defines.h" |
14 #include "webrtc/system_wrappers/include/clock.h" | 15 #include "webrtc/system_wrappers/include/clock.h" |
15 #include "webrtc/system_wrappers/include/logging.h" | |
16 | 16 |
17 namespace webrtc { | 17 namespace webrtc { |
18 | 18 |
19 VCMDecodedFrameCallback::VCMDecodedFrameCallback(VCMTiming& timing, | 19 VCMDecodedFrameCallback::VCMDecodedFrameCallback(VCMTiming& timing, |
20 Clock* clock) | 20 Clock* clock) |
21 : | 21 : |
22 _critSect(CriticalSectionWrapper::CreateCriticalSection()), | 22 _critSect(CriticalSectionWrapper::CreateCriticalSection()), |
23 _clock(clock), | 23 _clock(clock), |
24 _receiveCallback(NULL), | 24 _receiveCallback(NULL), |
25 _timing(timing), | 25 _timing(timing), |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 _callback = callback; | 199 _callback = callback; |
200 return _decoder.RegisterDecodeCompleteCallback(callback); | 200 return _decoder.RegisterDecodeCompleteCallback(callback); |
201 } | 201 } |
202 | 202 |
203 bool VCMGenericDecoder::External() const | 203 bool VCMGenericDecoder::External() const |
204 { | 204 { |
205 return _isExternal; | 205 return _isExternal; |
206 } | 206 } |
207 | 207 |
208 } // namespace | 208 } // namespace |
OLD | NEW |