diff options
author | Scott <[email protected]> | 2015-09-24 20:44:55 +0100 |
---|---|---|
committer | Scott <[email protected]> | 2015-09-24 20:44:55 +0100 |
commit | e7912cc00a8aa031e494bb6f0554939059da89d3 (patch) | |
tree | f095829845df7513f4e2815b9d0ea0a150e2a6ca /win/CS/HandBrake.ApplicationServices/Interop | |
parent | bf85b6277de7fc00bb66cc858d880e190aba59c4 (diff) |
WinGui: Enable support for H.265 QuickSync support
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Interop')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Interop/HbLib/NativeConstants.cs | 4 | ||||
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Interop/Model/Encoding/VideoEncoder.cs | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Interop/HbLib/NativeConstants.cs b/win/CS/HandBrake.ApplicationServices/Interop/HbLib/NativeConstants.cs index 80f9e33be..0bcbc18cf 100644 --- a/win/CS/HandBrake.ApplicationServices/Interop/HbLib/NativeConstants.cs +++ b/win/CS/HandBrake.ApplicationServices/Interop/HbLib/NativeConstants.cs @@ -45,6 +45,10 @@ namespace HandBrake.ApplicationServices.Interop.HbLib public const uint HB_ACODEC_ANY = (HB_ACODEC_MASK | HB_ACODEC_PASS_FLAG);
public const uint HB_ACODEC_TRUEHD_PASS = (HB_ACODEC_PASS_FLAG | HB_ACODEC_FFTRUEHD);
+ // VideoEncoders
+ public const uint HB_VCODEC_QSV_H264 = 0x0000100;
+ public const uint HB_VCODEC_QSV_H265 = 0x0000200;
+ public const uint HB_VCODEC_QSV_MASK = 0x0000F00;
// Encode state
public const int HB_STATE_IDLE = 1;
diff --git a/win/CS/HandBrake.ApplicationServices/Interop/Model/Encoding/VideoEncoder.cs b/win/CS/HandBrake.ApplicationServices/Interop/Model/Encoding/VideoEncoder.cs index 17ed82aef..4f30b5df3 100644 --- a/win/CS/HandBrake.ApplicationServices/Interop/Model/Encoding/VideoEncoder.cs +++ b/win/CS/HandBrake.ApplicationServices/Interop/Model/Encoding/VideoEncoder.cs @@ -26,6 +26,10 @@ namespace HandBrake.ApplicationServices.Interop.Model.Encoding [ShortName("qsv_h264")]
QuickSync,
+ [Display(Name = "H.265 (Intel QSV)")]
+ [ShortName("qsv_h265")]
+ QuickSyncH265,
+
[Display(Name = "MPEG-4")]
[ShortName("mpeg4")]
FFMpeg,
|