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
|
|
|
|
2024-09-16 11:41:17 +03:00
|
|
|
#import "sdk/objc/base/RTCMacros.h"
|
2017-07-14 16:06:41 -07:00
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
2025-01-08 05:55:05 -08:00
|
|
|
/** QP thresholds for encoder. Corresponds to
|
|
|
|
|
* webrtc::VideoEncoder::QpThresholds. */
|
2018-09-17 10:22:56 +02:00
|
|
|
RTC_OBJC_EXPORT
|
2020-05-04 16:14:32 +02:00
|
|
|
@interface RTC_OBJC_TYPE (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
|