blob: 5bd06ffd8d054b4282d7bd5da388e830c70f09ea [file] [log] [blame]
magjedabb84b82017-03-28 01:56:41 -07001/*
2 * Copyright 2017 The WebRTC project authors. All Rights Reserved.
3 *
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
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
Anders Carlsson7bca8ca2018-08-30 09:30:29 +020011#import "RTCVideoEncoderQpThresholds.h"
magjedabb84b82017-03-28 01:56:41 -070012
Anders Carlsson7bca8ca2018-08-30 09:30:29 +020013@implementation RTCVideoEncoderQpThresholds
magjed24da37b2017-04-11 04:50:15 -070014
Anders Carlsson7bca8ca2018-08-30 09:30:29 +020015@synthesize low = _low;
16@synthesize high = _high;
magjedabb84b82017-03-28 01:56:41 -070017
Anders Carlsson7bca8ca2018-08-30 09:30:29 +020018- (instancetype)initWithThresholdsLow:(NSInteger)low high:(NSInteger)high {
magjedabb84b82017-03-28 01:56:41 -070019 if (self = [super init]) {
Anders Carlsson7bca8ca2018-08-30 09:30:29 +020020 _low = low;
21 _high = high;
magjedabb84b82017-03-28 01:56:41 -070022 }
23 return self;
24}
25
magjedabb84b82017-03-28 01:56:41 -070026@end