summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBradley Sepos <[email protected]>2017-06-03 13:08:22 -0400
committerBradley Sepos <[email protected]>2017-06-03 13:08:22 -0400
commitc4bffebc3bacd48122460384b7bd262c7e68f96f (patch)
treeef36fb34b1d0e0fab63fb7b775db8099186ff8c9
parentb88e7ffc5e88de1eb21666e10cf6f3011fb0ea6a (diff)
sharpen: Use better tune names.
-rw-r--r--libhb/param.c16
-rw-r--r--macosx/English.lproj/HBPictureViewController.xib2
-rw-r--r--win/CS/HandBrakeWPF/Properties/ResourcesTooltips.Designer.cs2
-rw-r--r--win/CS/HandBrakeWPF/Properties/ResourcesTooltips.resx2
4 files changed, 11 insertions, 11 deletions
diff --git a/libhb/param.c b/libhb/param.c
index af0297748..11eb1733d 100644
--- a/libhb/param.c
+++ b/libhb/param.c
@@ -85,11 +85,11 @@ static hb_filter_param_t unsharp_presets[] =
static hb_filter_param_t unsharp_tunes[] =
{
{ 0, "None", "none", NULL },
- { 1, "Fine", "fine", NULL },
- { 2, "Medium-Fine", "mediumfine", NULL },
+ { 1, "Ultrafine", "ultrafine", NULL },
+ { 2, "Fine", "fine", NULL },
{ 3, "Medium", "medium", NULL },
- { 4, "Medium-Coarse", "mediumcoarse", NULL },
- { 5, "Coarse", "coarse", NULL },
+ { 4, "Coarse", "coarse", NULL },
+ { 5, "Very Coarse", "verycoarse", NULL },
{ 0, NULL, NULL, NULL }
};
@@ -507,7 +507,7 @@ static hb_dict_t * generate_unsharp_settings(const char *preset,
strength[0] = strength[1] = 1.2;
}
}
- else if (!strcasecmp(tune, "fine"))
+ else if (!strcasecmp(tune, "ultrafine"))
{
strength[0] = 0.4; strength[1] = 0.25;
size[0] = size[1] = 3;
@@ -532,7 +532,7 @@ static hb_dict_t * generate_unsharp_settings(const char *preset,
strength[0] = 1.5; strength[1] = 0.9;
}
}
- else if (!strcasecmp(tune, "mediumfine"))
+ else if (!strcasecmp(tune, "fine"))
{
strength[0] = 0.275; strength[1] = 0.165;
size[0] = 7; size[1] = 5;
@@ -582,7 +582,7 @@ static hb_dict_t * generate_unsharp_settings(const char *preset,
strength[0] = 1.35; strength[1] = 0.9;
}
}
- else if (!strcasecmp(tune, "mediumcoarse"))
+ else if (!strcasecmp(tune, "coarse"))
{
strength[0] = 0.275; strength[1] = 0.165;
size[0] = 11; size[1] = 7;
@@ -607,7 +607,7 @@ static hb_dict_t * generate_unsharp_settings(const char *preset,
strength[0] = 1.35; strength[1] = 0.9;
}
}
- else if (!strcasecmp(tune, "coarse"))
+ else if (!strcasecmp(tune, "verycoarse"))
{
strength[0] = 0.275; strength[1] = 0.165;
size[0] = 13; size[1] = 9;
diff --git a/macosx/English.lproj/HBPictureViewController.xib b/macosx/English.lproj/HBPictureViewController.xib
index 049dfb7e1..7d7d17d56 100644
--- a/macosx/English.lproj/HBPictureViewController.xib
+++ b/macosx/English.lproj/HBPictureViewController.xib
@@ -1354,7 +1354,7 @@ Lapsharp sharpens by using convolution kernels approximating Laplacian edge filt
None uses the default preset settings.
-Unsharp can be tuned for Fine, Medium-Fine, Medium, Medium-Coarse, or Coarse sharpening. Select one based on the output picture resolution and fineness of detail to enhance.
+Unsharp can be tuned for Ultrafine, Fine, Medium, Coarse, or Very Coarse sharpening. Select one based on the output picture resolution and fineness of detail to enhance.
Lapsharp's Film tune refines settings for use with most live action content. Film uses an isotropic Laplacian kernel to sharpen all edges similarly, and luminance (brightness) information is sharpened more than chrominance (color) information.
diff --git a/win/CS/HandBrakeWPF/Properties/ResourcesTooltips.Designer.cs b/win/CS/HandBrakeWPF/Properties/ResourcesTooltips.Designer.cs
index 5f16110fe..70380a168 100644
--- a/win/CS/HandBrakeWPF/Properties/ResourcesTooltips.Designer.cs
+++ b/win/CS/HandBrakeWPF/Properties/ResourcesTooltips.Designer.cs
@@ -292,7 +292,7 @@ namespace HandBrakeWPF.Properties {
///
///None uses the default preset settings.
///
- ///Unsharp can be tuned for Fine, Medium-Fine, Medium, Medium-Coarse, or Coarse sharpening. Select one based on the output picture resolution and fineness of detail to enhance.
+ ///Unsharp can be tuned for Ultrafine, Fine, Medium, Coarse, or Very Coarse sharpening. Select one based on the output picture resolution and fineness of detail to enhance.
///
///Lapsharp&apos;s Film tune refines settings for use with most live action content. Film uses an isotropic Laplacian kernel to sharpen all edges similarly, and luminance (brightness) information is sharp [rest of string was truncated]&quot;;.
/// </summary>
diff --git a/win/CS/HandBrakeWPF/Properties/ResourcesTooltips.resx b/win/CS/HandBrakeWPF/Properties/ResourcesTooltips.resx
index 4792a539f..20be73cef 100644
--- a/win/CS/HandBrakeWPF/Properties/ResourcesTooltips.resx
+++ b/win/CS/HandBrakeWPF/Properties/ResourcesTooltips.resx
@@ -444,7 +444,7 @@ Lapsharp sharpens by using convolution kernels approximating Laplacian edge filt
None uses the default preset settings.
-Unsharp can be tuned for Fine, Medium-Fine, Medium, Medium-Coarse, or Coarse sharpening. Select one based on the output picture resolution and fineness of detail to enhance.
+Unsharp can be tuned for Ultrafine, Fine, Medium, Coarse, or Very Coarse sharpening. Select one based on the output picture resolution and fineness of detail to enhance.
Lapsharp's Film tune refines settings for use with most live action content. Film uses an isotropic Laplacian kernel to sharpen all edges similarly, and luminance (brightness) information is sharpened more than chrominance (color) information.