// --------------------------------------------------------------------------------------------------------------------
//
// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
//
//
// Defines the VideoQualityLimits type.
//
// --------------------------------------------------------------------------------------------------------------------
namespace HandBrake.ApplicationServices.Interop.Model
{
///
/// Represents limits on video quality for a particular encoder.
///
public class VideoQualityLimits
{
///
/// Initializes a new instance of the class.
///
///
/// The low.
///
///
/// The high.
///
///
/// The granularity.
///
///
/// The ascending.
///
public VideoQualityLimits(float low, float high, float granularity, bool @ascending)
{
this.Low = low;
this.High = high;
this.Granularity = granularity;
this.Ascending = @ascending;
}
///
/// Gets the inclusive lower limit for the quality.
///
public float Low { get; private set; }
///
/// Gets the inclusive upper limit for the quality.
///
public float High { get; private set; }
///
/// Gets the granularity for the quality.
///
public float Granularity { get; private set; }
///
/// Gets a value indicating whether the quality increases as the number increases.
///
public bool Ascending { get; private set; }
}
}