2017-03-28 01:56: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 "RTCVideoEncoderQpThresholds.h"
|
2017-03-28 01:56:41 -07:00
|
|
|
|
2020-05-04 16:14:32 +02:00
|
|
|
@implementation RTC_OBJC_TYPE (RTCVideoEncoderQpThresholds)
|
2017-04-11 04:50:15 -07:00
|
|
|
|
2018-08-30 09:30:29 +02:00
|
|
|
@synthesize low = _low;
|
|
|
|
|
@synthesize high = _high;
|
2017-03-28 01:56:41 -07:00
|
|
|
|
2018-08-30 09:30:29 +02:00
|
|
|
- (instancetype)initWithThresholdsLow:(NSInteger)low high:(NSInteger)high {
|
2024-08-23 13:51:10 -04:00
|
|
|
self = [super init];
|
|
|
|
|
if (self) {
|
2018-08-30 09:30:29 +02:00
|
|
|
_low = low;
|
|
|
|
|
_high = high;
|
2017-03-28 01:56:41 -07:00
|
|
|
}
|
|
|
|
|
return self;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@end
|