summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Model/Video
diff options
context:
space:
mode:
authorsr55 <[email protected]>2021-02-04 20:41:45 +0000
committersr55 <[email protected]>2021-02-04 20:41:45 +0000
commitdb589c5559f2e556592db10b052ed688fa199b0e (patch)
treeacaf716b8ffd97978575b767569ea506112d1daf /win/CS/HandBrakeWPF/Model/Video
parentf52375b929185731ee0033cb605e2281c9966d02 (diff)
WinGui: HandBrake.Interop further API tidyup. Namespace changes. Many "model" objects have moved to interfaces.models to avoid confusion. A number of filter/video enums have moved to HandBrakeWPF as they are not part of the API.
Diffstat (limited to 'win/CS/HandBrakeWPF/Model/Video')
-rw-r--r--win/CS/HandBrakeWPF/Model/Video/VideoEncodeRateType.cs21
-rw-r--r--win/CS/HandBrakeWPF/Model/Video/VideoEncoder.cs87
2 files changed, 108 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Model/Video/VideoEncodeRateType.cs b/win/CS/HandBrakeWPF/Model/Video/VideoEncodeRateType.cs
new file mode 100644
index 000000000..a24fd35ec
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Model/Video/VideoEncodeRateType.cs
@@ -0,0 +1,21 @@
+// --------------------------------------------------------------------------------------------------------------------
+// <copyright file="VideoEncodeRateType.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 VideoEncodeRateType type.
+// </summary>
+// --------------------------------------------------------------------------------------------------------------------
+
+namespace HandBrakeWPF.Model.Video
+{
+ /// <summary>
+ /// The video encode rate type.
+ /// </summary>
+ public enum VideoEncodeRateType
+ {
+ TargetSize = 0,
+ AverageBitrate = 1,
+ ConstantQuality = 2
+ }
+}
diff --git a/win/CS/HandBrakeWPF/Model/Video/VideoEncoder.cs b/win/CS/HandBrakeWPF/Model/Video/VideoEncoder.cs
new file mode 100644
index 000000000..799d3403d
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Model/Video/VideoEncoder.cs
@@ -0,0 +1,87 @@
+// --------------------------------------------------------------------------------------------------------------------
+// <copyright file="VideoEncoder.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>
+// The video encoder.
+// </summary>
+// --------------------------------------------------------------------------------------------------------------------
+
+namespace HandBrakeWPF.Model.Video
+{
+ using HandBrake.Interop.Attributes;
+
+ /// <summary>
+ /// The video encoder.
+ /// </summary>
+ public enum VideoEncoder
+ {
+ [DisplayName("H.264 (x264)")]
+ [ShortName("x264")]
+ X264 = 0,
+
+ [DisplayName("H.264 10-bit (x264)")]
+ [ShortName("x264_10bit")]
+ X264_10,
+
+ [DisplayName("H.264 (Intel QSV)")]
+ [ShortName("qsv_h264")]
+ QuickSync,
+
+ [DisplayName("H.264 (AMD VCE)")]
+ [ShortName("vce_h264")]
+ VceH264,
+
+ [DisplayName("H.264 (Nvidia NVEnc)")]
+ [ShortName("nvenc_h264")]
+ NvencH264,
+
+ [DisplayName("MPEG-4")]
+ [ShortName("mpeg4")]
+ FFMpeg,
+
+ [DisplayName("MPEG-2")]
+ [ShortName("mpeg2")]
+ FFMpeg2,
+
+ [DisplayName("Theora")]
+ [ShortName("theora")]
+ Theora,
+
+ [DisplayName("H.265 (x265)")]
+ [ShortName("x265")]
+ X265,
+
+ [DisplayName("H.265 12-bit (x265)")]
+ [ShortName("x265_12bit")]
+ X265_12,
+
+ [DisplayName("H.265 10-bit (x265)")]
+ [ShortName("x265_10bit")]
+ X265_10,
+
+ [DisplayName("H.265 (Intel QSV)")]
+ [ShortName("qsv_h265")]
+ QuickSyncH265,
+
+ [DisplayName("H.265 10-bit (Intel QSV)")]
+ [ShortName("qsv_h265_10bit")]
+ QuickSyncH26510b,
+
+ [DisplayName("H.265 (AMD VCE)")]
+ [ShortName("vce_h265")]
+ VceH265,
+
+ [DisplayName("H.265 (Nvidia NVEnc)")]
+ [ShortName("nvenc_h265")]
+ NvencH265,
+
+ [DisplayName("VP8")]
+ [ShortName("VP8")]
+ VP8,
+
+ [DisplayName("VP9")]
+ [ShortName("VP9")]
+ VP9
+ }
+}