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 |
(...skipping 13 matching lines...) Expand all Loading... |
24 #include "webrtc/modules/video_coding/jitter_buffer.h" | 24 #include "webrtc/modules/video_coding/jitter_buffer.h" |
25 #include "webrtc/modules/video_coding/media_optimization.h" | 25 #include "webrtc/modules/video_coding/media_optimization.h" |
26 #include "webrtc/modules/video_coding/receiver.h" | 26 #include "webrtc/modules/video_coding/receiver.h" |
27 #include "webrtc/modules/video_coding/timing.h" | 27 #include "webrtc/modules/video_coding/timing.h" |
28 #include "webrtc/modules/video_coding/utility/qp_parser.h" | 28 #include "webrtc/modules/video_coding/utility/qp_parser.h" |
29 #include "webrtc/system_wrappers/include/clock.h" | 29 #include "webrtc/system_wrappers/include/clock.h" |
30 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" | 30 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" |
31 | 31 |
32 namespace webrtc { | 32 namespace webrtc { |
33 | 33 |
34 class EncodedFrameObserver; | |
35 | |
36 namespace vcm { | 34 namespace vcm { |
37 | 35 |
38 class VCMProcessTimer { | 36 class VCMProcessTimer { |
39 public: | 37 public: |
40 VCMProcessTimer(int64_t periodMs, Clock* clock) | 38 VCMProcessTimer(int64_t periodMs, Clock* clock) |
41 : _clock(clock), | 39 : _clock(clock), |
42 _periodMs(periodMs), | 40 _periodMs(periodMs), |
43 _latestMs(_clock->TimeInMilliseconds()) {} | 41 _latestMs(_clock->TimeInMilliseconds()) {} |
44 int64_t Period() const; | 42 int64_t Period() const; |
45 int64_t TimeUntilProcess() const; | 43 int64_t TimeUntilProcess() const; |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 | 213 |
216 VCMProcessTimer _receiveStatsTimer; | 214 VCMProcessTimer _receiveStatsTimer; |
217 VCMProcessTimer _retransmissionTimer; | 215 VCMProcessTimer _retransmissionTimer; |
218 VCMProcessTimer _keyRequestTimer; | 216 VCMProcessTimer _keyRequestTimer; |
219 QpParser qp_parser_; | 217 QpParser qp_parser_; |
220 }; | 218 }; |
221 | 219 |
222 } // namespace vcm | 220 } // namespace vcm |
223 } // namespace webrtc | 221 } // namespace webrtc |
224 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ | 222 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ |
OLD | NEW |