OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2014 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 VideoRotation rotation_ = kVideoRotation_0; | 56 VideoRotation rotation_ = kVideoRotation_0; |
57 VideoContentType content_type_ = VideoContentType::UNSPECIFIED; | 57 VideoContentType content_type_ = VideoContentType::UNSPECIFIED; |
58 bool _completeFrame = false; | 58 bool _completeFrame = false; |
59 AdaptReason adapt_reason_; | 59 AdaptReason adapt_reason_; |
60 int qp_ = -1; // Quantizer value. | 60 int qp_ = -1; // Quantizer value. |
61 | 61 |
62 // When an application indicates non-zero values here, it is taken as an | 62 // When an application indicates non-zero values here, it is taken as an |
63 // indication that all future frames will be constrained with those limits | 63 // indication that all future frames will be constrained with those limits |
64 // until the application indicates a change again. | 64 // until the application indicates a change again. |
65 PlayoutDelay playout_delay_ = {-1, -1}; | 65 PlayoutDelay playout_delay_ = {-1, -1}; |
| 66 |
| 67 struct Timing { |
| 68 bool is_timing_frame = false; |
| 69 int64_t encode_start_ms = 0; |
| 70 int64_t encode_finish_ms = 0; |
| 71 int64_t packetization_finish_ms = 0; |
| 72 int64_t pacer_exit_ms = 0; |
| 73 int64_t network_timestamp_ms = 0; |
| 74 int64_t receive_start_ms = 0; |
| 75 int64_t receive_finish_ms = 0; |
| 76 } timing_; |
66 }; | 77 }; |
67 | 78 |
68 } // namespace webrtc | 79 } // namespace webrtc |
69 | 80 |
70 #endif // WEBRTC_COMMON_VIDEO_INCLUDE_VIDEO_FRAME_H_ | 81 #endif // WEBRTC_COMMON_VIDEO_INCLUDE_VIDEO_FRAME_H_ |
OLD | NEW |