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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 int64_t ntp_time_ms_ = 0; | 172 int64_t ntp_time_ms_ = 0; |
173 int64_t capture_time_ms_ = 0; | 173 int64_t capture_time_ms_ = 0; |
174 FrameType _frameType = kVideoFrameDelta; | 174 FrameType _frameType = kVideoFrameDelta; |
175 uint8_t* _buffer; | 175 uint8_t* _buffer; |
176 size_t _length; | 176 size_t _length; |
177 size_t _size; | 177 size_t _size; |
178 VideoRotation rotation_ = kVideoRotation_0; | 178 VideoRotation rotation_ = kVideoRotation_0; |
179 bool _completeFrame = false; | 179 bool _completeFrame = false; |
180 AdaptReason adapt_reason_; | 180 AdaptReason adapt_reason_; |
181 int qp_ = -1; // Quantizer value. | 181 int qp_ = -1; // Quantizer value. |
| 182 // Minimum and maximum playout delay values from capture to render. |
| 183 // These are beset effort values. |
| 184 // |
| 185 // A value < 0 indicates on indicates no change from previous |
| 186 // valid value. |
| 187 // |
| 188 // min = max = 0 indicates that the receiver should try and render |
| 189 // frame as soon as possible. |
| 190 // |
| 191 // min = x, max = y indicates that the receiver is free to adapt |
| 192 // in the range (x, y) based on network jitter. |
| 193 int min_playout_delay_ms = -1; |
| 194 int max_playout_delay_ms = -1; |
182 }; | 195 }; |
183 | 196 |
184 } // namespace webrtc | 197 } // namespace webrtc |
185 #endif // WEBRTC_VIDEO_FRAME_H_ | 198 #endif // WEBRTC_VIDEO_FRAME_H_ |
OLD | NEW |