blob: 19645a70b2e46db2e885e0827061d9baff3b1381 (
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
43
44
45
46
47
48
49
50
51
52
53
|
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="HBAudioEncoder.cs" company="HandBrake Project (http://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>
// --------------------------------------------------------------------------------------------------------------------
namespace HandBrake.Interop.Model.Encoding
{
using HandBrake.Interop.HbLib;
public class HBAudioEncoder
{
public string ShortName { get; set; }
public string DisplayName { get; set; }
public int Id { get; set; }
public Container CompatibleContainers { get; set; }
public bool SupportsQuality
{
get
{
return this.QualityLimits.High >= 0;
}
}
public RangeLimits QualityLimits { get; set; }
public float DefaultQuality { get; set; }
public bool SupportsCompression
{
get
{
return this.CompressionLimits.High >= 0;
}
}
public RangeLimits CompressionLimits { get; set; }
public float DefaultCompression { get; set; }
public bool IsPassthrough
{
get
{
return (this.Id & NativeConstants.HB_ACODEC_PASS_FLAG) > 0;
}
}
}
}
|