| 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 "RTCVideoFrame+Private.h" | 11 #import "RTCVideoFrame+Private.h" |
| 12 | 12 |
| 13 #include "webrtc/sdk/objc/Framework/Classes/corevideo_frame_buffer.h" | 13 #include "webrtc/sdk/objc/Framework/Classes/Video/corevideo_frame_buffer.h" |
| 14 | 14 |
| 15 @implementation RTCVideoFrame { | 15 @implementation RTCVideoFrame { |
| 16 rtc::scoped_refptr<webrtc::VideoFrameBuffer> _videoBuffer; | 16 rtc::scoped_refptr<webrtc::VideoFrameBuffer> _videoBuffer; |
| 17 RTCVideoRotation _rotation; | 17 RTCVideoRotation _rotation; |
| 18 int64_t _timeStampNs; | 18 int64_t _timeStampNs; |
| 19 } | 19 } |
| 20 | 20 |
| 21 - (int)width { | 21 - (int)width { |
| 22 return _videoBuffer->width(); | 22 return _videoBuffer->width(); |
| 23 } | 23 } |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 _timeStampNs = timeStampNs; | 111 _timeStampNs = timeStampNs; |
| 112 } | 112 } |
| 113 return self; | 113 return self; |
| 114 } | 114 } |
| 115 | 115 |
| 116 - (rtc::scoped_refptr<webrtc::VideoFrameBuffer>)videoBuffer { | 116 - (rtc::scoped_refptr<webrtc::VideoFrameBuffer>)videoBuffer { |
| 117 return _videoBuffer; | 117 return _videoBuffer; |
| 118 } | 118 } |
| 119 | 119 |
| 120 @end | 120 @end |
| OLD | NEW |