OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2015 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 const uint8_t *dataU DEPRECATED_MSG_ATTRIBUTE("use [buffer toI420]"); | 44 const uint8_t *dataU DEPRECATED_MSG_ATTRIBUTE("use [buffer toI420]"); |
45 @property(nonatomic, readonly, nullable) | 45 @property(nonatomic, readonly, nullable) |
46 const uint8_t *dataV DEPRECATED_MSG_ATTRIBUTE("use [buffer toI420]"); | 46 const uint8_t *dataV DEPRECATED_MSG_ATTRIBUTE("use [buffer toI420]"); |
47 @property(nonatomic, readonly) int strideY DEPRECATED_MSG_ATTRIBUTE("use [buffer
toI420]"); | 47 @property(nonatomic, readonly) int strideY DEPRECATED_MSG_ATTRIBUTE("use [buffer
toI420]"); |
48 @property(nonatomic, readonly) int strideU DEPRECATED_MSG_ATTRIBUTE("use [buffer
toI420]"); | 48 @property(nonatomic, readonly) int strideU DEPRECATED_MSG_ATTRIBUTE("use [buffer
toI420]"); |
49 @property(nonatomic, readonly) int strideV DEPRECATED_MSG_ATTRIBUTE("use [buffer
toI420]"); | 49 @property(nonatomic, readonly) int strideV DEPRECATED_MSG_ATTRIBUTE("use [buffer
toI420]"); |
50 | 50 |
51 /** Timestamp in nanoseconds. */ | 51 /** Timestamp in nanoseconds. */ |
52 @property(nonatomic, readonly) int64_t timeStampNs; | 52 @property(nonatomic, readonly) int64_t timeStampNs; |
53 | 53 |
| 54 /** Timestamp 90 kHz. */ |
| 55 @property(nonatomic, assign) int32_t timeStamp; |
| 56 |
54 /** The native handle should be a pixel buffer on iOS. */ | 57 /** The native handle should be a pixel buffer on iOS. */ |
55 @property(nonatomic, readonly) | 58 @property(nonatomic, readonly) |
56 CVPixelBufferRef nativeHandle DEPRECATED_MSG_ATTRIBUTE("use buffer instead")
; | 59 CVPixelBufferRef nativeHandle DEPRECATED_MSG_ATTRIBUTE("use buffer instead")
; |
57 | 60 |
58 @property(nonatomic, readonly) id<RTCVideoFrameBuffer> buffer; | 61 @property(nonatomic, readonly) id<RTCVideoFrameBuffer> buffer; |
59 | 62 |
60 - (instancetype)init NS_UNAVAILABLE; | 63 - (instancetype)init NS_UNAVAILABLE; |
61 - (instancetype)new NS_UNAVAILABLE; | 64 - (instancetype)new NS_UNAVAILABLE; |
62 | 65 |
63 /** Initialize an RTCVideoFrame from a pixel buffer, rotation, and timestamp. | 66 /** Initialize an RTCVideoFrame from a pixel buffer, rotation, and timestamp. |
(...skipping 26 matching lines...) Expand all Loading... |
90 timeStampNs:(int64_t)timeStampNs; | 93 timeStampNs:(int64_t)timeStampNs; |
91 | 94 |
92 /** Return a frame that is guaranteed to be I420, i.e. it is possible to access | 95 /** Return a frame that is guaranteed to be I420, i.e. it is possible to access |
93 * the YUV data on it. | 96 * the YUV data on it. |
94 */ | 97 */ |
95 - (RTCVideoFrame *)newI420VideoFrame; | 98 - (RTCVideoFrame *)newI420VideoFrame; |
96 | 99 |
97 @end | 100 @end |
98 | 101 |
99 NS_ASSUME_NONNULL_END | 102 NS_ASSUME_NONNULL_END |
OLD | NEW |