| OLD | NEW |
| 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 22 matching lines...) Expand all Loading... |
| 33 /** Represents an encoded frame. Corresponds to webrtc::EncodedImage. */ | 33 /** Represents an encoded frame. Corresponds to webrtc::EncodedImage. */ |
| 34 RTC_EXPORT | 34 RTC_EXPORT |
| 35 @interface RTCEncodedImage : NSObject | 35 @interface RTCEncodedImage : NSObject |
| 36 | 36 |
| 37 @property(nonatomic, strong) NSData *buffer; | 37 @property(nonatomic, strong) NSData *buffer; |
| 38 @property(nonatomic, assign) int encodedWidth; | 38 @property(nonatomic, assign) int encodedWidth; |
| 39 @property(nonatomic, assign) int encodedHeight; | 39 @property(nonatomic, assign) int encodedHeight; |
| 40 @property(nonatomic, assign) uint32_t timeStamp; | 40 @property(nonatomic, assign) uint32_t timeStamp; |
| 41 @property(nonatomic, assign) long captureTimeMs; | 41 @property(nonatomic, assign) long captureTimeMs; |
| 42 @property(nonatomic, assign) long ntpTimeMs; | 42 @property(nonatomic, assign) long ntpTimeMs; |
| 43 @property(nonatomic, assign) uint8_t flags; | 43 @property(nonatomic, assign) BOOL isTimingFrame; |
| 44 @property(nonatomic, assign) long encodeStartMs; | 44 @property(nonatomic, assign) long encodeStartMs; |
| 45 @property(nonatomic, assign) long encodeFinishMs; | 45 @property(nonatomic, assign) long encodeFinishMs; |
| 46 @property(nonatomic, assign) RTCFrameType frameType; | 46 @property(nonatomic, assign) RTCFrameType frameType; |
| 47 @property(nonatomic, assign) int rotation; | 47 @property(nonatomic, assign) int rotation; |
| 48 @property(nonatomic, assign) BOOL completeFrame; | 48 @property(nonatomic, assign) BOOL completeFrame; |
| 49 @property(nonatomic, strong) NSNumber *qp; | 49 @property(nonatomic, strong) NSNumber *qp; |
| 50 @property(nonatomic, assign) RTCVideoContentType contentType; | 50 @property(nonatomic, assign) RTCVideoContentType contentType; |
| 51 | 51 |
| 52 @end | 52 @end |
| 53 | 53 |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 - (NSInteger)decode:(RTCEncodedImage *)encodedImage | 174 - (NSInteger)decode:(RTCEncodedImage *)encodedImage |
| 175 missingFrames:(BOOL)missingFrames | 175 missingFrames:(BOOL)missingFrames |
| 176 fragmentationHeader:(RTCRtpFragmentationHeader *)fragmentationHeader | 176 fragmentationHeader:(RTCRtpFragmentationHeader *)fragmentationHeader |
| 177 codecSpecificInfo:(__nullable id<RTCCodecSpecificInfo>)info | 177 codecSpecificInfo:(__nullable id<RTCCodecSpecificInfo>)info |
| 178 renderTimeMs:(int64_t)renderTimeMs; | 178 renderTimeMs:(int64_t)renderTimeMs; |
| 179 - (NSString *)implementationName; | 179 - (NSString *)implementationName; |
| 180 | 180 |
| 181 @end | 181 @end |
| 182 | 182 |
| 183 NS_ASSUME_NONNULL_END | 183 NS_ASSUME_NONNULL_END |
| OLD | NEW |