summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Interop/Json/Scan/SourceTitle.cs
blob: 4947bbadba3299707bac90515c7d47a94c5c4ab1 (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="SourceTitle.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>
// <summary>
//   The title list.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace HandBrake.ApplicationServices.Interop.Json.Scan
{
    using System.Collections.Generic;

    using HandBrake.ApplicationServices.Interop.Json.Shared;

    /// <summary>
    /// The title list.
    /// </summary>
    public class SourceTitle
    {
        /// <summary>
        /// Gets or sets the angle count.
        /// </summary>
        public int AngleCount { get; set; }

        /// <summary>
        /// Gets or sets the audio list.
        /// </summary>
        public List<SourceAudioTrack> AudioList { get; set; }

        /// <summary>
        /// Gets or sets the chapter list.
        /// </summary>
        public List<SourceChapter> ChapterList { get; set; }

        /// <summary>
        /// Gets or sets the color.
        /// </summary>
        public Color Color { get; set; }

        /// <summary>
        /// Gets or sets the cropping values
        /// </summary>
        public List<int> Crop { get; set; }

        /// <summary>
        /// Gets or sets the duration.
        /// </summary>
        public Duration Duration { get; set; }

        /// <summary>
        /// Gets or sets the frame rate.
        /// </summary>
        public FrameRate FrameRate { get; set; }

        /// <summary>
        /// Gets or sets the geometry.
        /// </summary>
        public Geometry Geometry { get; set; }

        /// <summary>
        /// Gets or sets the index.
        /// </summary>
        public int Index { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether interlace detected.
        /// </summary>
        public bool InterlaceDetected { get; set; }

        /// <summary>
        /// Gets or sets the meta data.
        /// </summary>
        public SourceMetadata MetaData { get; set; }

        /// <summary>
        /// Gets or sets the name.
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// Gets or sets the path.
        /// </summary>
        public string Path { get; set; }

        /// <summary>
        /// Gets or sets the playlist.
        /// </summary>
        public int Playlist { get; set; }

        /// <summary>
        /// Gets or sets the subtitle list.
        /// </summary>
        public List<SourceSubtitleTrack> SubtitleList { get; set; }

        /// <summary>
        /// Gets or sets the type.
        ///  HB_DVD_TYPE = 0, HB_BD_TYPE, HB_STREAM_TYPE, HB_FF_STREAM_TYPE
        /// </summary>
        public int Type { get; set; }

        /// <summary>
        /// Gets or sets the video codec.
        /// </summary>
        public string VideoCodec { get; set; }
    }
}