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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 int bw_resolutions_disabled; // Number of resolutions that are not sent | 186 int bw_resolutions_disabled; // Number of resolutions that are not sent |
187 // due to bandwidth for this frame. | 187 // due to bandwidth for this frame. |
188 // Or -1 if information is not provided. | 188 // Or -1 if information is not provided. |
189 }; | 189 }; |
190 uint32_t _encodedWidth = 0; | 190 uint32_t _encodedWidth = 0; |
191 uint32_t _encodedHeight = 0; | 191 uint32_t _encodedHeight = 0; |
192 uint32_t _timeStamp = 0; | 192 uint32_t _timeStamp = 0; |
193 // NTP time of the capture time in local timebase in milliseconds. | 193 // NTP time of the capture time in local timebase in milliseconds. |
194 int64_t ntp_time_ms_ = 0; | 194 int64_t ntp_time_ms_ = 0; |
195 int64_t capture_time_ms_ = 0; | 195 int64_t capture_time_ms_ = 0; |
196 FrameType _frameType = kDeltaFrame; | 196 FrameType _frameType = kVideoFrameDelta; |
197 uint8_t* _buffer; | 197 uint8_t* _buffer; |
198 size_t _length; | 198 size_t _length; |
199 size_t _size; | 199 size_t _size; |
200 bool _completeFrame = false; | 200 bool _completeFrame = false; |
201 AdaptReason adapt_reason_; | 201 AdaptReason adapt_reason_; |
202 int qp_ = -1; // Quantizer value. | 202 int qp_ = -1; // Quantizer value. |
203 }; | 203 }; |
204 | 204 |
205 } // namespace webrtc | 205 } // namespace webrtc |
206 #endif // WEBRTC_VIDEO_FRAME_H_ | 206 #endif // WEBRTC_VIDEO_FRAME_H_ |
OLD | NEW |