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 |
11 #import "webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoFrame.h" | 11 #import "WebRTC/RTCVideoFrame.h" |
12 #import "webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoFrameBuffer.h" | 12 #import "WebRTC/RTCVideoFrameBuffer.h" |
13 | 13 |
14 @implementation RTCVideoFrame { | 14 @implementation RTCVideoFrame { |
15 RTCVideoRotation _rotation; | 15 RTCVideoRotation _rotation; |
16 int64_t _timeStampNs; | 16 int64_t _timeStampNs; |
17 } | 17 } |
18 | 18 |
19 @synthesize buffer = _buffer; | 19 @synthesize buffer = _buffer; |
20 @synthesize timeStamp; | 20 @synthesize timeStamp; |
21 | 21 |
22 - (int)width { | 22 - (int)width { |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 if (self = [super init]) { | 130 if (self = [super init]) { |
131 _buffer = buffer; | 131 _buffer = buffer; |
132 _rotation = rotation; | 132 _rotation = rotation; |
133 _timeStampNs = timeStampNs; | 133 _timeStampNs = timeStampNs; |
134 } | 134 } |
135 | 135 |
136 return self; | 136 return self; |
137 } | 137 } |
138 | 138 |
139 @end | 139 @end |
OLD | NEW |