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/main/interface/video_coding.h" | 11 #include "webrtc/modules/video_coding/main/interface/video_coding.h" |
12 #include "webrtc/modules/video_coding/main/source/generic_decoder.h" | 12 #include "webrtc/modules/video_coding/main/source/generic_decoder.h" |
13 #include "webrtc/modules/video_coding/main/source/internal_defines.h" | 13 #include "webrtc/modules/video_coding/main/source/internal_defines.h" |
14 #include "webrtc/system_wrappers/interface/clock.h" | 14 #include "webrtc/system_wrappers/include/clock.h" |
15 #include "webrtc/system_wrappers/interface/logging.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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 _callback = callback; | 189 _callback = callback; |
190 return _decoder.RegisterDecodeCompleteCallback(callback); | 190 return _decoder.RegisterDecodeCompleteCallback(callback); |
191 } | 191 } |
192 | 192 |
193 bool VCMGenericDecoder::External() const | 193 bool VCMGenericDecoder::External() const |
194 { | 194 { |
195 return _isExternal; | 195 return _isExternal; |
196 } | 196 } |
197 | 197 |
198 } // namespace | 198 } // namespace |
OLD | NEW |