| 6 | * tree. An additional intellectual property rights grant can be found |
| 7 | * in the file PATENTS. All contributing project authors may |
| 8 | * be found in the AUTHORS file in the root of the source tree. |
| 9 | */ |
| 10 |
| 11 | #ifndef WEBRTC_DISABLE_H265 |
| 12 |
| 13 | #import <Foundation/Foundation.h> |
| 14 |
| 15 | #import "RTCMacros.h" |
| 16 | #import "RTCVideoCodecInfo.h" |
| 17 | #import "RTCVideoEncoder.h" |
| 18 |
| 19 | RTC_OBJC_EXPORT |
| 20 | API_AVAILABLE(ios(11.0)) |
| 21 | @interface RTCVideoEncoderH265 : NSObject <RTCVideoEncoder> |
| 22 |
| 23 | - (instancetype _Nonnull)initWithCodecInfo:(RTCVideoCodecInfo * _Nonnull)codecInfo; |
| 24 |
| 25 | - (nullable RTC_OBJC_TYPE(RTCVideoEncoderQpThresholds) *)scalingSettings; |
| 26 |
| 27 | /** Resolutions should be aligned to this value. */ |
| 28 | @property(nonatomic, readonly) NSInteger resolutionAlignment; |
| 29 |
| 30 | /** If enabled, resolution alignment is applied to all simulcast layers simultaneously so that when |
| 31 | scaled, all resolutions comply with 'resolutionAlignment'. */ |
| 32 | @property(nonatomic, readonly) BOOL applyAlignmentToAllSimulcastLayers; |
| 33 |
| 34 | /** If YES, the reciever is expected to resample/scale the source texture to the expected output |
| 35 | size. */ |
| 36 | @property(nonatomic, readonly) BOOL supportsNativeHandle; |
| 37 |
| 38 | @end |
| 39 |
| 40 | #endif |
| 41 |