diff options
author | sr55 <[email protected]> | 2017-06-02 22:03:16 +0100 |
---|---|---|
committer | sr55 <[email protected]> | 2017-06-02 22:03:16 +0100 |
commit | 27f366140509b18897f0dc54194a1a0d55cf0bb6 (patch) | |
tree | 62fc39ba1edd10fc4d5914177760df318eb4a25c /win/CS/HandBrake.ApplicationServices | |
parent | 844a0bf724abc56edcad0390d82bf92eae219144 (diff) |
WinGui: Support for the new sharpen filter.
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices')
4 files changed, 36 insertions, 0 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/HandBrake.ApplicationServices.csproj b/win/CS/HandBrake.ApplicationServices/HandBrake.ApplicationServices.csproj index c5f5555e9..a14159890 100644 --- a/win/CS/HandBrake.ApplicationServices/HandBrake.ApplicationServices.csproj +++ b/win/CS/HandBrake.ApplicationServices/HandBrake.ApplicationServices.csproj @@ -128,6 +128,7 @@ <Compile Include="Interop\Model\Encoding\CombDetect.cs" />
<Compile Include="Interop\Model\Encoding\DeinterlaceFilter.cs" />
<Compile Include="Interop\Model\Encoding\HBPresetTune.cs" />
+ <Compile Include="Interop\Model\Encoding\Sharpen.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Interop\Json\Scan\SourceAudioTrack.cs" />
<Compile Include="Interop\Json\Scan\SourceChapter.cs" />
diff --git a/win/CS/HandBrake.ApplicationServices/Interop/HbLib/hb_filter_ids.cs b/win/CS/HandBrake.ApplicationServices/Interop/HbLib/hb_filter_ids.cs index 76059fe8b..63e279410 100644 --- a/win/CS/HandBrake.ApplicationServices/Interop/HbLib/hb_filter_ids.cs +++ b/win/CS/HandBrake.ApplicationServices/Interop/HbLib/hb_filter_ids.cs @@ -27,6 +27,8 @@ namespace HandBrake.ApplicationServices.Interop.HbLib HB_FILTER_NLMEANS,
HB_FILTER_RENDER_SUB,
HB_FILTER_CROP_SCALE,
+ HB_FILTER_LAPSHARP,
+ HB_FILTER_UNSHARP,
HB_FILTER_ROTATE,
HB_FILTER_GRAYSCALE,
HB_FILTER_PAD,
diff --git a/win/CS/HandBrake.ApplicationServices/Interop/Json/Presets/HBPreset.cs b/win/CS/HandBrake.ApplicationServices/Interop/Json/Presets/HBPreset.cs index 7e1e94697..6ddb9c0c2 100644 --- a/win/CS/HandBrake.ApplicationServices/Interop/Json/Presets/HBPreset.cs +++ b/win/CS/HandBrake.ApplicationServices/Interop/Json/Presets/HBPreset.cs @@ -166,6 +166,11 @@ namespace HandBrake.ApplicationServices.Interop.Json.Presets /// </summary>
public string PictureDenoiseTune { get; set; }
+ public string PictureSharpenCustom { get; set; }
+ public string PictureSharpenFilter { get; set; }
+ public string PictureSharpenPreset { get; set; }
+ public string PictureSharpenTune { get; set; }
+
/// <summary>
/// Gets or sets the picture detelecine.
/// </summary>
diff --git a/win/CS/HandBrake.ApplicationServices/Interop/Model/Encoding/Sharpen.cs b/win/CS/HandBrake.ApplicationServices/Interop/Model/Encoding/Sharpen.cs new file mode 100644 index 000000000..7f5b9e75a --- /dev/null +++ b/win/CS/HandBrake.ApplicationServices/Interop/Model/Encoding/Sharpen.cs @@ -0,0 +1,28 @@ +// -------------------------------------------------------------------------------------------------------------------- +// <copyright file="Sharpen.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> +// Defines the Sharpen type. +// </summary> +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.ApplicationServices.Interop.Model.Encoding +{ + using HandBrake.ApplicationServices.Attributes; + + /// <summary> + /// The Sharpen. + /// </summary> + public enum Sharpen + { + [ShortName("off")] + Off, + + [ShortName("unsharp")] + UnSharp, + + [ShortName("lapsharp")] + LapSharp + } +} |