2017-07-14 16:06:41 -07:00
|
|
|
/*
|
|
|
|
|
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
|
|
|
|
|
*
|
|
|
|
|
* Use of this source code is governed by a BSD-style license
|
|
|
|
|
* that can be found in the LICENSE file in the root of the source
|
|
|
|
|
* tree. An additional intellectual property rights grant can be found
|
|
|
|
|
* in the file PATENTS. All contributing project authors may
|
|
|
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
*/
|
|
|
|
|
|
2018-08-30 09:30:29 +02:00
|
|
|
#import <Foundation/Foundation.h>
|
2017-07-14 16:06:41 -07:00
|
|
|
|
2018-08-30 09:30:29 +02:00
|
|
|
#import "RTCMacros.h"
|
2017-07-14 16:06:41 -07:00
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
2018-08-30 09:30:29 +02:00
|
|
|
/** QP thresholds for encoder. Corresponds to webrtc::VideoEncoder::QpThresholds. */
|
2018-09-17 10:22:56 +02:00
|
|
|
RTC_OBJC_EXPORT
|
2018-08-30 09:30:29 +02:00
|
|
|
@interface RTCVideoEncoderQpThresholds : NSObject
|
2017-07-14 16:06:41 -07:00
|
|
|
|
2018-08-30 09:30:29 +02:00
|
|
|
- (instancetype)initWithThresholdsLow:(NSInteger)low high:(NSInteger)high;
|
2017-07-14 16:06:41 -07:00
|
|
|
|
2018-08-30 09:30:29 +02:00
|
|
|
@property(nonatomic, readonly) NSInteger low;
|
|
|
|
|
@property(nonatomic, readonly) NSInteger high;
|
2017-07-14 16:06:41 -07:00
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|