| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 uint32_t _encodedHeight = 0; | 50 uint32_t _encodedHeight = 0; |
| 51 uint32_t _timeStamp = 0; | 51 uint32_t _timeStamp = 0; |
| 52 // NTP time of the capture time in local timebase in milliseconds. | 52 // NTP time of the capture time in local timebase in milliseconds. |
| 53 int64_t ntp_time_ms_ = 0; | 53 int64_t ntp_time_ms_ = 0; |
| 54 int64_t capture_time_ms_ = 0; | 54 int64_t capture_time_ms_ = 0; |
| 55 FrameType _frameType = kVideoFrameDelta; | 55 FrameType _frameType = kVideoFrameDelta; |
| 56 uint8_t* _buffer; | 56 uint8_t* _buffer; |
| 57 size_t _length; | 57 size_t _length; |
| 58 size_t _size; | 58 size_t _size; |
| 59 VideoRotation rotation_ = kVideoRotation_0; | 59 VideoRotation rotation_ = kVideoRotation_0; |
| 60 VideoContentType content_type_ = VideoContentType::UNSPECIFIED; |
| 60 bool _completeFrame = false; | 61 bool _completeFrame = false; |
| 61 AdaptReason adapt_reason_; | 62 AdaptReason adapt_reason_; |
| 62 int qp_ = -1; // Quantizer value. | 63 int qp_ = -1; // Quantizer value. |
| 63 | 64 |
| 64 // When an application indicates non-zero values here, it is taken as an | 65 // When an application indicates non-zero values here, it is taken as an |
| 65 // indication that all future frames will be constrained with those limits | 66 // indication that all future frames will be constrained with those limits |
| 66 // until the application indicates a change again. | 67 // until the application indicates a change again. |
| 67 PlayoutDelay playout_delay_ = {-1, -1}; | 68 PlayoutDelay playout_delay_ = {-1, -1}; |
| 68 }; | 69 }; |
| 69 | 70 |
| 70 } // namespace webrtc | 71 } // namespace webrtc |
| 71 #endif // WEBRTC_VIDEO_FRAME_H_ | 72 #endif // WEBRTC_VIDEO_FRAME_H_ |
| OLD | NEW |