diff options
Diffstat (limited to 'win/C#/interop/Model')
20 files changed, 0 insertions, 504 deletions
diff --git a/win/C#/interop/Model/Cropping.cs b/win/C#/interop/Model/Cropping.cs deleted file mode 100644 index 1ba0e8ee1..000000000 --- a/win/C#/interop/Model/Cropping.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-namespace HandBrake.Interop
-{
- public class Cropping
- {
- public int Top { get; set; }
- public int Bottom { get; set; }
- public int Left { get; set; }
- public int Right { get; set; }
- }
-}
diff --git a/win/C#/interop/Model/EncodeJob.cs b/win/C#/interop/Model/EncodeJob.cs deleted file mode 100644 index 53058a921..000000000 --- a/win/C#/interop/Model/EncodeJob.cs +++ /dev/null @@ -1,69 +0,0 @@ -using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Xml.Serialization;
-
-namespace HandBrake.Interop
-{
- public class EncodeJob
- {
- public SourceType SourceType { get; set; }
- public string SourcePath { get; set; }
-
- /// <summary>
- /// Gets or sets the 1-based index of the title to encode.
- /// </summary>
- public int Title { get; set; }
-
- /// <summary>
- /// Gets or sets the angle to encode. 0 for default, 1+ for specified angle.
- /// </summary>
- public int Angle { get; set; }
- public int ChapterStart { get; set; }
- public int ChapterEnd { get; set; }
-
- /// <summary>
- /// Gets or sets the list of chosen audio tracks (1-based)
- /// </summary>
- public List<int> ChosenAudioTracks { get; set; }
- public Subtitles Subtitles { get; set; }
- public bool UseDefaultChapterNames { get; set; }
- public List<string> CustomChapterNames { get; set; }
-
- public string OutputPath { get; set; }
-
- public EncodingProfile EncodingProfile { get; set; }
-
- // The length of video to encode.
- [XmlIgnore]
- public TimeSpan Length { get; set; }
-
- [XmlElement("Length")]
- public string XmlLength
- {
- get { return this.Length.ToString(); }
- set { this.Length = TimeSpan.Parse(value); }
- }
-
- public EncodeJob Clone()
- {
- EncodeJob clone = new EncodeJob
- {
- SourceType = this.SourceType,
- SourcePath = this.SourcePath,
- Title = this.Title,
- ChapterStart = this.ChapterStart,
- ChapterEnd = this.ChapterEnd,
- ChosenAudioTracks = new List<int>(this.ChosenAudioTracks),
- Subtitles = this.Subtitles,
- UseDefaultChapterNames = this.UseDefaultChapterNames,
- OutputPath = this.OutputPath,
- EncodingProfile = this.EncodingProfile,
- Length = this.Length
- };
-
- return clone;
- }
- }
-}
diff --git a/win/C#/interop/Model/Encoding/Anamorphic.cs b/win/C#/interop/Model/Encoding/Anamorphic.cs deleted file mode 100644 index 65a7f2352..000000000 --- a/win/C#/interop/Model/Encoding/Anamorphic.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-namespace HandBrake.Interop
-{
- public enum Anamorphic
- {
- [DisplayString("None")]
- None = 0,
- [DisplayString("Strict")]
- Strict,
- [DisplayString("Loose")]
- Loose,
- [DisplayString("Custom")]
- Custom
- }
-}
diff --git a/win/C#/interop/Model/Encoding/AudioEncoder.cs b/win/C#/interop/Model/Encoding/AudioEncoder.cs deleted file mode 100644 index b4eee5249..000000000 --- a/win/C#/interop/Model/Encoding/AudioEncoder.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-namespace HandBrake.Interop
-{
- public enum AudioEncoder
- {
- [DisplayString("AAC (faac)")]
- Faac = 0,
-
- [DisplayString("MP3 (lame)")]
- Lame,
-
- [DisplayString("AC3 Passthrough")]
- Ac3Passthrough,
-
- [DisplayString("DTS Passthrough")]
- DtsPassthrough,
-
- [DisplayString("Vorbis (vorbis)")]
- Vorbis
- }
-}
diff --git a/win/C#/interop/Model/Encoding/AudioEncoding.cs b/win/C#/interop/Model/Encoding/AudioEncoding.cs deleted file mode 100644 index 8ff112c35..000000000 --- a/win/C#/interop/Model/Encoding/AudioEncoding.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-namespace HandBrake.Interop
-{
- public class AudioEncoding
- {
- public int InputNumber { get; set; }
- public AudioEncoder Encoder { get; set; }
- public int Bitrate { get; set; }
- public Mixdown Mixdown { get; set; }
- public string SampleRate { get; set; }
- public double Drc { get; set; }
- }
-}
diff --git a/win/C#/interop/Model/Encoding/Decomb.cs b/win/C#/interop/Model/Encoding/Decomb.cs deleted file mode 100644 index 9060b01eb..000000000 --- a/win/C#/interop/Model/Encoding/Decomb.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-namespace HandBrake.Interop
-{
- public enum Decomb
- {
- Off = 0,
- Default,
- Custom
- }
-}
diff --git a/win/C#/interop/Model/Encoding/Deinterlace.cs b/win/C#/interop/Model/Encoding/Deinterlace.cs deleted file mode 100644 index 365f6003c..000000000 --- a/win/C#/interop/Model/Encoding/Deinterlace.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-namespace HandBrake.Interop
-{
- public enum Deinterlace
- {
- Off = 0,
- Fast,
- Slow,
- Slower,
- Custom
- }
-}
diff --git a/win/C#/interop/Model/Encoding/Denoise.cs b/win/C#/interop/Model/Encoding/Denoise.cs deleted file mode 100644 index 146cbfd6f..000000000 --- a/win/C#/interop/Model/Encoding/Denoise.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-namespace HandBrake.Interop
-{
- public enum Denoise
- {
- Off = 0,
- Weak,
- Medium,
- Strong,
- Custom
- }
-}
diff --git a/win/C#/interop/Model/Encoding/Detelecine.cs b/win/C#/interop/Model/Encoding/Detelecine.cs deleted file mode 100644 index 028abf44b..000000000 --- a/win/C#/interop/Model/Encoding/Detelecine.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-namespace HandBrake.Interop
-{
- public enum Detelecine
- {
- Off = 0,
- Default,
- Custom
- }
-}
diff --git a/win/C#/interop/Model/Encoding/EncodingProfile.cs b/win/C#/interop/Model/Encoding/EncodingProfile.cs deleted file mode 100644 index af287a7e6..000000000 --- a/win/C#/interop/Model/Encoding/EncodingProfile.cs +++ /dev/null @@ -1,113 +0,0 @@ -using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-namespace HandBrake.Interop
-{
- public class EncodingProfile
- {
- public EncodingProfile()
- {
- this.Cropping = new Cropping();
- }
-
- public OutputFormat OutputFormat { get; set; }
- public OutputExtension PreferredExtension { get; set; }
- public bool IncludeChapterMarkers { get; set; }
- public bool LargeFile { get; set; }
- public bool Optimize { get; set; }
- public bool IPod5GSupport { get; set; }
-
- public int Width { get; set; }
- public int Height { get; set; }
- public int MaxWidth { get; set; }
- public int MaxHeight { get; set; }
- public bool CustomCropping { get; set; }
- public Cropping Cropping { get; set; }
- public Anamorphic Anamorphic { get; set; }
- public bool UseDisplayWidth { get; set; }
- public int DisplayWidth { get; set; }
- public bool KeepDisplayAspect { get; set; }
- public int PixelAspectX { get; set; }
- public int PixelAspectY { get; set; }
- public int Modulus { get; set; }
-
- public Deinterlace Deinterlace { get; set; }
- public string CustomDeinterlace { get; set; }
- public Decomb Decomb { get; set; }
- public string CustomDecomb { get; set; }
- public Detelecine Detelecine { get; set; }
- public string CustomDetelecine { get; set; }
- public Denoise Denoise { get; set; }
- public string CustomDenoise { get; set; }
- public int Deblock { get; set; }
- public bool Grayscale { get; set; }
-
- public VideoEncoder VideoEncoder { get; set; }
- public string X264Options { get; set; }
- public VideoEncodeRateType VideoEncodeRateType { get; set; }
- public double Quality { get; set; }
- public int TargetSize { get; set; }
- public int VideoBitrate { get; set; }
- public bool TwoPass { get; set; }
- public bool TurboFirstPass { get; set; }
- public double Framerate { get; set; }
- public bool PeakFramerate { get; set; }
-
- public List<AudioEncoding> AudioEncodings { get; set; }
-
- public EncodingProfile Clone()
- {
- EncodingProfile profile = new EncodingProfile
- {
- OutputFormat = this.OutputFormat,
- PreferredExtension = this.PreferredExtension,
- IncludeChapterMarkers = this.IncludeChapterMarkers,
- LargeFile = this.LargeFile,
- Optimize = this.Optimize,
- IPod5GSupport = this.IPod5GSupport,
-
- Width = this.Width,
- Height = this.Height,
- MaxWidth = this.MaxWidth,
- MaxHeight = this.MaxHeight,
- CustomCropping = this.CustomCropping,
- Cropping = this.Cropping,
- Anamorphic = this.Anamorphic,
- UseDisplayWidth = this.UseDisplayWidth,
- DisplayWidth = this.DisplayWidth,
- KeepDisplayAspect = this.KeepDisplayAspect,
- PixelAspectX = this.PixelAspectX,
- PixelAspectY = this.PixelAspectY,
- Modulus = this.Modulus,
-
- Deinterlace = this.Deinterlace,
- CustomDeinterlace = this.CustomDeinterlace,
- Decomb = this.Decomb,
- CustomDecomb = this.CustomDecomb,
- Detelecine = this.Detelecine,
- CustomDetelecine = this.CustomDetelecine,
- Denoise = this.Denoise,
- CustomDenoise = this.CustomDenoise,
- Deblock = this.Deblock,
- Grayscale = this.Grayscale,
-
- VideoEncoder = this.VideoEncoder,
- X264Options = this.X264Options,
- VideoEncodeRateType = this.VideoEncodeRateType,
- Quality = this.Quality,
- TargetSize = this.TargetSize,
- VideoBitrate = this.VideoBitrate,
- TwoPass = this.TwoPass,
- TurboFirstPass = this.TurboFirstPass,
- Framerate = this.Framerate,
- PeakFramerate = this.PeakFramerate,
-
- AudioEncodings = new List<AudioEncoding>(this.AudioEncodings)
- };
-
- return profile;
- }
- }
-}
diff --git a/win/C#/interop/Model/Encoding/Mixdown.cs b/win/C#/interop/Model/Encoding/Mixdown.cs deleted file mode 100644 index 2049d0921..000000000 --- a/win/C#/interop/Model/Encoding/Mixdown.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-namespace HandBrake.Interop
-{
- public enum Mixdown
- {
- [DisplayString("Dolby Pro Logic II")]
- DolbyProLogicII = 0,
-
- [DisplayString("Mono")]
- Mono,
-
- [DisplayString("Stereo")]
- Stereo,
-
- [DisplayString("Dolby Surround")]
- DolbySurround,
-
- [DisplayString("6 Channel Discrete")]
- SixChannelDiscrete
- }
-}
diff --git a/win/C#/interop/Model/Encoding/OutputExtension.cs b/win/C#/interop/Model/Encoding/OutputExtension.cs deleted file mode 100644 index bcf709576..000000000 --- a/win/C#/interop/Model/Encoding/OutputExtension.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-namespace HandBrake.Interop
-{
- public enum OutputExtension
- {
- Mp4,
- M4v
- }
-}
diff --git a/win/C#/interop/Model/Encoding/OutputFormat.cs b/win/C#/interop/Model/Encoding/OutputFormat.cs deleted file mode 100644 index 52549e763..000000000 --- a/win/C#/interop/Model/Encoding/OutputFormat.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.ComponentModel;
-
-namespace HandBrake.Interop
-{
- public enum OutputFormat
- {
- [DisplayString("MP4")]
- Mp4,
- [DisplayString("MKV")]
- Mkv
- }
-}
diff --git a/win/C#/interop/Model/Encoding/VideoEncodeRateType.cs b/win/C#/interop/Model/Encoding/VideoEncodeRateType.cs deleted file mode 100644 index 6c39e54d6..000000000 --- a/win/C#/interop/Model/Encoding/VideoEncodeRateType.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-namespace HandBrake.Interop
-{
- public enum VideoEncodeRateType
- {
- TargetSize = 0,
- AverageBitrate,
- ConstantQuality
- }
-}
diff --git a/win/C#/interop/Model/Encoding/VideoEncoder.cs b/win/C#/interop/Model/Encoding/VideoEncoder.cs deleted file mode 100644 index 912117b48..000000000 --- a/win/C#/interop/Model/Encoding/VideoEncoder.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-namespace HandBrake.Interop
-{
- public enum VideoEncoder
- {
- [DisplayString("H.264 (x264)")]
- X264 = 0,
-
- [DisplayString("MPEG-4 (FFMpeg)")]
- FFMpeg,
-
- [DisplayString("VP3 (Theora)")]
- Theora
- }
-}
diff --git a/win/C#/interop/Model/Size.cs b/win/C#/interop/Model/Size.cs deleted file mode 100644 index f94cbd2fa..000000000 --- a/win/C#/interop/Model/Size.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-namespace HandBrake.Interop
-{
- public class Size
- {
- public Size(int width, int height)
- {
- this.Width = width;
- this.Height = height;
- }
-
- public int Width { get; set; }
- public int Height { get; set; }
- }
-}
diff --git a/win/C#/interop/Model/SourceSubtitle.cs b/win/C#/interop/Model/SourceSubtitle.cs deleted file mode 100644 index edfb68bf7..000000000 --- a/win/C#/interop/Model/SourceSubtitle.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-namespace HandBrake.Interop
-{
- public class SourceSubtitle
- {
- /// <summary>
- /// Gets or sets the 1-based subtitle track number. 0 means foriegn audio search.
- /// </summary>
- public int TrackNumber { get; set; }
- public bool Default { get; set; }
- public bool Forced { get; set; }
- public bool BurnedIn { get; set; }
-
- public SourceSubtitle Clone()
- {
- return new SourceSubtitle
- {
- TrackNumber = this.TrackNumber,
- Default = this.Default,
- Forced = this.Forced,
- BurnedIn = this.BurnedIn
- };
- }
- }
-}
diff --git a/win/C#/interop/Model/SourceType.cs b/win/C#/interop/Model/SourceType.cs deleted file mode 100644 index 1a53aab32..000000000 --- a/win/C#/interop/Model/SourceType.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace HandBrake.Interop
-{
- public enum SourceType
- {
- None = 0,
- File,
- VideoFolder,
- Dvd
- }
-}
\ No newline at end of file diff --git a/win/C#/interop/Model/SrtSubtitle.cs b/win/C#/interop/Model/SrtSubtitle.cs deleted file mode 100644 index 199fe6ac6..000000000 --- a/win/C#/interop/Model/SrtSubtitle.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-namespace HandBrake.Interop
-{
- public class SrtSubtitle
- {
- public bool Default { get; set; }
- public string FileName { get; set; }
- public string LanguageCode { get; set; }
- public string CharacterCode { get; set; }
- public int Offset { get; set; }
-
- public SrtSubtitle Clone()
- {
- return new SrtSubtitle
- {
- Default = this.Default,
- FileName = this.FileName,
- LanguageCode = this.LanguageCode,
- CharacterCode = this.CharacterCode,
- Offset = this.Offset
- };
- }
- }
-}
diff --git a/win/C#/interop/Model/Subtitles.cs b/win/C#/interop/Model/Subtitles.cs deleted file mode 100644 index 1fab7354e..000000000 --- a/win/C#/interop/Model/Subtitles.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-namespace HandBrake.Interop
-{
- public class Subtitles
- {
- public List<SrtSubtitle> SrtSubtitles { get; set; }
- public List<SourceSubtitle> SourceSubtitles { get; set; }
- }
-}
|