summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.Interop/Interop/Model/BitrateLimits.cs
blob: 89e0aa9604cc9cf14572fb18713bd5a0e0d35d9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="BitrateLimits.cs" company="HandBrake Project (https://handbrake.fr)">
//   This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
// </copyright>
// <summary>
//   Defines the BitrateLimits type.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace HandBrake.Interop.Interop.Model
{
    /// <summary>
    /// Represents bitrate limits as a range.
    /// </summary>
    public class BitrateLimits
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="BitrateLimits"/> class.
        /// </summary>
        /// <param name="low">
        /// The low.
        /// </param>
        /// <param name="high">
        /// The high.
        /// </param>
        public BitrateLimits(int low, int high)
        {
            this.Low = low;
            this.High = high;
        }

        /// <summary>
        /// Gets the inclusive lower limit for the bitrate.
        /// </summary>
        public int Low { get; private set; }

        /// <summary>
        /// Gets the inclusive upper limit for the bitrate.
        /// </summary>
        public int High { get; private set; }
    }
}