| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 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 #ifndef WEBRTC_MODULES_VIDEO_CODING_MAIN_SOURCE_TIMING_H_ | 11 #ifndef WEBRTC_MODULES_VIDEO_CODING_TIMING_H_ |
| 12 #define WEBRTC_MODULES_VIDEO_CODING_MAIN_SOURCE_TIMING_H_ | 12 #define WEBRTC_MODULES_VIDEO_CODING_TIMING_H_ |
| 13 | 13 |
| 14 #include "webrtc/base/thread_annotations.h" | 14 #include "webrtc/base/thread_annotations.h" |
| 15 #include "webrtc/modules/video_coding/main/source/codec_timer.h" | 15 #include "webrtc/modules/video_coding/codec_timer.h" |
| 16 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" | 16 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" |
| 17 #include "webrtc/typedefs.h" | 17 #include "webrtc/typedefs.h" |
| 18 | 18 |
| 19 namespace webrtc { | 19 namespace webrtc { |
| 20 | 20 |
| 21 class Clock; | 21 class Clock; |
| 22 class TimestampExtrapolator; | 22 class TimestampExtrapolator; |
| 23 | 23 |
| 24 class VCMTiming { | 24 class VCMTiming { |
| 25 public: | 25 public: |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 uint32_t prev_frame_timestamp_ GUARDED_BY(crit_sect_); | 117 uint32_t prev_frame_timestamp_ GUARDED_BY(crit_sect_); |
| 118 | 118 |
| 119 // Statistics. | 119 // Statistics. |
| 120 size_t num_decoded_frames_ GUARDED_BY(crit_sect_); | 120 size_t num_decoded_frames_ GUARDED_BY(crit_sect_); |
| 121 size_t num_delayed_decoded_frames_ GUARDED_BY(crit_sect_); | 121 size_t num_delayed_decoded_frames_ GUARDED_BY(crit_sect_); |
| 122 int64_t first_decoded_frame_ms_ GUARDED_BY(crit_sect_); | 122 int64_t first_decoded_frame_ms_ GUARDED_BY(crit_sect_); |
| 123 uint64_t sum_missed_render_deadline_ms_ GUARDED_BY(crit_sect_); | 123 uint64_t sum_missed_render_deadline_ms_ GUARDED_BY(crit_sect_); |
| 124 }; | 124 }; |
| 125 } // namespace webrtc | 125 } // namespace webrtc |
| 126 | 126 |
| 127 #endif // WEBRTC_MODULES_VIDEO_CODING_MAIN_SOURCE_TIMING_H_ | 127 #endif // WEBRTC_MODULES_VIDEO_CODING_TIMING_H_ |
| OLD | NEW |