" --queue-import-file <filename>\n"
" Import an encode queue file created by the GUI\n"
" --no-dvdnav Do not use dvdnav for reading DVDs\n"
-" --no-opencl Disable use of OpenCL\n"
"\n"
"\n"
"Source Options ---------------------------------------------------------------\n"
" --no-optimize Disable preset 'optimize'\n"
" -I, --ipod-atom Add iPod 5G compatibility atom to MP4 container\n"
" --no-ipod-atom Disable iPod 5G atom\n"
-" -P, --use-opencl Use OpenCL where applicable\n"
"\n"
"\n"
"Video Options ----------------------------------------------------------------\n"
{ "describe", no_argument, NULL, DESCRIBE },
{ "verbose", optional_argument, NULL, 'v' },
{ "no-dvdnav", no_argument, NULL, DVDNAV },
- { "no-opencl", no_argument, &use_opencl, 0 },
#ifdef USE_QSV
{ "qsv-baseline", no_argument, NULL, QSV_BASELINE, },
{ "no-optimize", no_argument, &mp4_optimize, 0 },
{ "ipod-atom", no_argument, NULL, 'I' },
{ "no-ipod-atom",no_argument, &ipod_atom, 0 },
- { "use-opencl", no_argument, NULL, 'P' },
{ "title", required_argument, NULL, 't' },
{ "min-duration",required_argument, NULL, MIN_DURATION },
case 'I':
ipod_atom = 1;
break;
- case 'P':
- use_opencl = 1;
- break;
case 't':
titleindex = atoi( optarg );
break;
[DisplayName("Lanczos (default)")]\r
[ShortName("swscale")]\r
Lanczos = 0,\r
-\r
- [DisplayName("Bicubic (OpenCL)")]\r
- [ShortName("opencl")]\r
- BicubicCl,\r
}\r
}\r
}\r
}\r
\r
- /// <summary>\r
- /// Looks up a localized string similar to Requires a graphics card that supports OpenCL 1.1 or later. It will fallback to Lanczos software scaling when it is not available for use. Performance gain up to 5%. Minor decrease in quality in some cases..\r
- /// </summary>\r
- public static string Video_ScalingModes {\r
- get {\r
- return ResourceManager.GetString("Video_ScalingModes", resourceCulture);\r
- }\r
- }\r
- \r
/// <summary>\r
/// Looks up a localized string similar to Reduce decoder CPU usage.\r
///\r
- Have the HD Graphics enabled.\r
- On older versions of windows before 8, a monitor connected to the HD Graphics or GPU Virtualisation software installed is also required.</value>\r
</data>\r
- <data name="Video_ScalingModes" xml:space="preserve">\r
- <value>Requires a graphics card that supports OpenCL 1.1 or later. It will fallback to Lanczos software scaling when it is not available for use. Performance gain up to 5%. Minor decrease in quality in some cases.</value>\r
- </data>\r
<data name="Error" xml:space="preserve">\r
<value>Error</value>\r
</data>\r
video.Turbo = job.TurboFirstPass;
}
- video.OpenCL = configuration.ScalingMode == VideoScaler.BicubicCl;
-
video.QSV.Decode = SystemInfo.IsQsvAvailable && !configuration.DisableQuickSyncDecoding;
// The use of the QSV decoder is configurable for non QSV encoders.
HandBrakeUtils.SetDvdNav(!configuraiton.IsDvdNavDisabled);
this.ServiceLogMessage("Starting Scan ...");
- this.instance.StartScan(sourcePath.ToString(), previewCount, minDuration, title != 0 ? title : 0, configuraiton.ScalingMode == VideoScaler.BicubicCl);
+ this.instance.StartScan(sourcePath.ToString(), previewCount, minDuration, title != 0 ? title : 0);
if (this.ScanStarted != null)
this.ScanStarted(this, System.EventArgs.Empty);
private bool showAdvancedTab;\r
private bool removePunctuation;\r
private bool resetWhenDoneAction;\r
- private VideoScaler selectedScalingMode;\r
+\r
private bool disableQuickSyncDecoding;\r
- private bool isClScaling;\r
private bool showQueueInline;\r
private bool pauseOnLowDiskspace;\r
private long pauseOnLowDiskspaceLevel;\r
/// <summary>\r
/// Gets or sets the selected scaling mode.\r
/// </summary>\r
- public VideoScaler SelectedScalingMode\r
- {\r
- get\r
- {\r
- return this.selectedScalingMode;\r
- }\r
- set\r
- {\r
- this.selectedScalingMode = value;\r
- this.IsClScaling = value == VideoScaler.BicubicCl;\r
- }\r
- }\r
+ public VideoScaler SelectedScalingMode { get; set; }\r
\r
/// <summary>\r
/// Gets a value indicating whether is quick sync available.\r
}\r
}\r
\r
- /// <summary>\r
- /// Gets or sets a value indicating whether is cl scaling.\r
- /// </summary>\r
- public bool IsClScaling\r
- {\r
- get\r
- {\r
- return this.isClScaling;\r
- }\r
- set\r
- {\r
- if (value.Equals(this.isClScaling))\r
- {\r
- return;\r
- }\r
- this.isClScaling = value;\r
- this.NotifyOfPropertyChange(() => this.IsClScaling);\r
- }\r
- }\r
-\r
#endregion\r
\r
#endregion\r
Visibility="{Binding IsQuickSyncAvailable, Converter={StaticResource boolToVisConverter}, ConverterParameter=true}" />\r
</StackPanel>\r
\r
- <TextBlock Text="{x:Static Properties:ResourcesUI.Options_Scaling}" FontSize="14" Margin="0,20,0,10" />\r
+ <TextBlock Text="{x:Static Properties:ResourcesUI.Options_Scaling}" FontSize="14" Margin="0,20,0,10" Visibility="Collapsed" />\r
\r
- <StackPanel Orientation="Horizontal" Margin="20,0,0,0">\r
+ <StackPanel Orientation="Horizontal" Margin="20,0,0,0" Visibility="Collapsed">\r
<TextBlock Text="{x:Static Properties:ResourcesUI.Options_Scaler}" Margin="0,0,5,0" VerticalAlignment="Center" />\r
<ComboBox ItemsSource="{Binding ScalingOptions, Converter={StaticResource enumComboConverter}}" \r
SelectedItem="{Binding SelectedScalingMode, Converter={StaticResource enumComboConverter}}" \r
Width="120" VerticalAlignment="Center" />\r
</StackPanel>\r
\r
- <StackPanel Orientation="Vertical" Margin="26,2,0,0" >\r
- <TextBlock Text="{x:Static Properties:Resources.Video_ScalingModes}" TextWrapping="Wrap"\r
- Visibility="{Binding IsClScaling, Converter={StaticResource boolToVisConverter}}" />\r
- </StackPanel>\r
-\r
</StackPanel>\r
\r
\r