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 |
| 183 // When an application indicates non-zero values here, it is taken as an |
| 184 // indication that all future frames will be constrained with those limits |
| 185 // until the application indicates a change again. |
| 186 PlayoutDelay playout_delay_ = {-1, -1}; |
182 }; | 187 }; |
183 | 188 |
184 } // namespace webrtc | 189 } // namespace webrtc |
185 #endif // WEBRTC_VIDEO_FRAME_H_ | 190 #endif // WEBRTC_VIDEO_FRAME_H_ |
OLD | NEW |