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

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

Issue 2989803002: ObjC style fix for injectable video codecs (Closed)
Patch Set: Created 3 years, 4 months 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
« no previous file with comments | « webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnectionFactory.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2017 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2017 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 21 matching lines...) Expand all
32 @property(nonatomic, assign) int encodedHeight; 32 @property(nonatomic, assign) int encodedHeight;
33 @property(nonatomic, assign) uint32_t timeStamp; 33 @property(nonatomic, assign) uint32_t timeStamp;
34 @property(nonatomic, assign) long captureTimeMs; 34 @property(nonatomic, assign) long captureTimeMs;
35 @property(nonatomic, assign) long ntpTimeMs; 35 @property(nonatomic, assign) long ntpTimeMs;
36 @property(nonatomic, assign) BOOL isTimingFrame; 36 @property(nonatomic, assign) BOOL isTimingFrame;
37 @property(nonatomic, assign) long encodeStartMs; 37 @property(nonatomic, assign) long encodeStartMs;
38 @property(nonatomic, assign) long encodeFinishMs; 38 @property(nonatomic, assign) long encodeFinishMs;
39 @property(nonatomic, assign) RTCFrameType frameType; 39 @property(nonatomic, assign) RTCFrameType frameType;
40 @property(nonatomic, assign) int rotation; 40 @property(nonatomic, assign) int rotation;
41 @property(nonatomic, assign) BOOL completeFrame; 41 @property(nonatomic, assign) BOOL completeFrame;
42 @property(nonatomic, retain) NSNumber *qp; 42 @property(nonatomic, strong) NSNumber *qp;
43 43
44 @end 44 @end
45 45
46 /** Information for header. Corresponds to webrtc::RTPFragmentationHeader. */ 46 /** Information for header. Corresponds to webrtc::RTPFragmentationHeader. */
47 RTC_EXPORT 47 RTC_EXPORT
48 @interface RTCRtpFragmentationHeader : NSObject 48 @interface RTCRtpFragmentationHeader : NSObject
49 49
50 @property(nonatomic, strong) NSArray<NSNumber *> *fragmentationOffset; 50 @property(nonatomic, strong) NSArray<NSNumber *> *fragmentationOffset;
51 @property(nonatomic, strong) NSArray<NSNumber *> *fragmentationLength; 51 @property(nonatomic, strong) NSArray<NSNumber *> *fragmentationLength;
52 @property(nonatomic, strong) NSArray<NSNumber *> *fragmentationTimeDiff; 52 @property(nonatomic, strong) NSArray<NSNumber *> *fragmentationTimeDiff;
(...skipping 28 matching lines...) Expand all
81 @property(nonatomic, readonly) NSInteger payload; 81 @property(nonatomic, readonly) NSInteger payload;
82 @property(nonatomic, readonly) NSString *name; 82 @property(nonatomic, readonly) NSString *name;
83 @property(nonatomic, readonly) NSDictionary<NSString *, NSString *> *parameters; 83 @property(nonatomic, readonly) NSDictionary<NSString *, NSString *> *parameters;
84 84
85 @end 85 @end
86 86
87 /** Settings for encoder. Corresponds to webrtc::VideoCodec. */ 87 /** Settings for encoder. Corresponds to webrtc::VideoCodec. */
88 RTC_EXPORT 88 RTC_EXPORT
89 @interface RTCVideoEncoderSettings : NSObject 89 @interface RTCVideoEncoderSettings : NSObject
90 90
91 @property(nonatomic, retain) NSString *name; 91 @property(nonatomic, strong) NSString *name;
92 92
93 @property(nonatomic, assign) unsigned short width; 93 @property(nonatomic, assign) unsigned short width;
94 @property(nonatomic, assign) unsigned short height; 94 @property(nonatomic, assign) unsigned short height;
95 95
96 @property(nonatomic, assign) unsigned int startBitrate; // kilobits/sec. 96 @property(nonatomic, assign) unsigned int startBitrate; // kilobits/sec.
97 @property(nonatomic, assign) unsigned int maxBitrate; 97 @property(nonatomic, assign) unsigned int maxBitrate;
98 @property(nonatomic, assign) unsigned int minBitrate; 98 @property(nonatomic, assign) unsigned int minBitrate;
99 @property(nonatomic, assign) unsigned int targetBitrate; 99 @property(nonatomic, assign) unsigned int targetBitrate;
100 100
101 @property(nonatomic, assign) uint32_t maxFramerate; 101 @property(nonatomic, assign) uint32_t maxFramerate;
(...skipping 29 matching lines...) Expand all
131 - (void)destroy; 131 - (void)destroy;
132 - (NSInteger)decode:(RTCEncodedImage *)encodedImage 132 - (NSInteger)decode:(RTCEncodedImage *)encodedImage
133 missingFrames:(BOOL)missingFrames 133 missingFrames:(BOOL)missingFrames
134 fragmentationHeader:(RTCRtpFragmentationHeader *)fragmentationHeader 134 fragmentationHeader:(RTCRtpFragmentationHeader *)fragmentationHeader
135 codecSpecificInfo:(__nullable id<RTCCodecSpecificInfo>)info 135 codecSpecificInfo:(__nullable id<RTCCodecSpecificInfo>)info
136 renderTimeMs:(int64_t)renderTimeMs; 136 renderTimeMs:(int64_t)renderTimeMs;
137 137
138 @end 138 @end
139 139
140 NS_ASSUME_NONNULL_END 140 NS_ASSUME_NONNULL_END
OLDNEW
« no previous file with comments | « webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnectionFactory.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698