Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(274)

Side by Side Diff: webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoFrame.h

Issue 2487633002: Reland of Delete all use of cricket::VideoFrame and cricket::WebRtcVideoFrame. (Closed)
Patch Set: Rebase, and update rtcstatscollector_unittest.cc. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <AVFoundation/AVFoundation.h> 11 #import <AVFoundation/AVFoundation.h>
12 #import <Foundation/Foundation.h> 12 #import <Foundation/Foundation.h>
13 13
14 #import <WebRTC/RTCMacros.h> 14 #import <WebRTC/RTCMacros.h>
15 15
16 NS_ASSUME_NONNULL_BEGIN 16 NS_ASSUME_NONNULL_BEGIN
17 17
18 // RTCVideoFrame is an ObjectiveC version of cricket::VideoFrame. 18 // RTCVideoFrame is an ObjectiveC version of webrtc::VideoFrame.
19 RTC_EXPORT 19 RTC_EXPORT
20 @interface RTCVideoFrame : NSObject 20 @interface RTCVideoFrame : NSObject
21 21
22 /** Width without rotation applied. */ 22 /** Width without rotation applied. */
23 @property(nonatomic, readonly) size_t width; 23 @property(nonatomic, readonly) size_t width;
24 24
25 /** Height without rotation applied. */ 25 /** Height without rotation applied. */
26 @property(nonatomic, readonly) size_t height; 26 @property(nonatomic, readonly) size_t height;
27 @property(nonatomic, readonly) int rotation; 27 @property(nonatomic, readonly) int rotation;
28 @property(nonatomic, readonly) size_t chromaWidth; 28 @property(nonatomic, readonly) size_t chromaWidth;
(...skipping 15 matching lines...) Expand all
44 - (instancetype)init NS_UNAVAILABLE; 44 - (instancetype)init NS_UNAVAILABLE;
45 45
46 /** If the frame is backed by a CVPixelBuffer, creates a backing i420 frame. 46 /** If the frame is backed by a CVPixelBuffer, creates a backing i420 frame.
47 * Calling the yuv plane properties will call this method if needed. 47 * Calling the yuv plane properties will call this method if needed.
48 */ 48 */
49 - (void)convertBufferIfNeeded; 49 - (void)convertBufferIfNeeded;
50 50
51 @end 51 @end
52 52
53 NS_ASSUME_NONNULL_END 53 NS_ASSUME_NONNULL_END
OLDNEW
« no previous file with comments | « webrtc/sdk/objc/Framework/Classes/RTCVideoRendererAdapter+Private.h ('k') | webrtc/video_frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698