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/generic_decoder.h" | 11 #include "webrtc/modules/video_coding/generic_decoder.h" |
12 | 12 |
13 #include "webrtc/base/checks.h" | 13 #include "webrtc/base/checks.h" |
14 #include "webrtc/base/logging.h" | 14 #include "webrtc/base/logging.h" |
| 15 #include "webrtc/base/timeutils.h" |
15 #include "webrtc/base/trace_event.h" | 16 #include "webrtc/base/trace_event.h" |
16 #include "webrtc/modules/video_coding/include/video_coding.h" | 17 #include "webrtc/modules/video_coding/include/video_coding.h" |
17 #include "webrtc/modules/video_coding/internal_defines.h" | 18 #include "webrtc/modules/video_coding/internal_defines.h" |
18 #include "webrtc/system_wrappers/include/clock.h" | 19 #include "webrtc/system_wrappers/include/clock.h" |
19 | 20 |
20 namespace webrtc { | 21 namespace webrtc { |
21 | 22 |
22 VCMDecodedFrameCallback::VCMDecodedFrameCallback(VCMTiming* timing, | 23 VCMDecodedFrameCallback::VCMDecodedFrameCallback(VCMTiming* timing, |
23 Clock* clock) | 24 Clock* clock) |
24 : _clock(clock), | 25 : _clock(clock), |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 } | 201 } |
201 | 202 |
202 #if defined(WEBRTC_ANDROID) | 203 #if defined(WEBRTC_ANDROID) |
203 void VCMGenericDecoder::PollDecodedFrames() { | 204 void VCMGenericDecoder::PollDecodedFrames() { |
204 RTC_DCHECK_RUN_ON(&decoder_thread_); | 205 RTC_DCHECK_RUN_ON(&decoder_thread_); |
205 decoder_->PollDecodedFrames(); | 206 decoder_->PollDecodedFrames(); |
206 } | 207 } |
207 #endif | 208 #endif |
208 | 209 |
209 } // namespace webrtc | 210 } // namespace webrtc |
OLD | NEW |