From 8750a04ef458722e8c4c9b3a3af3ddfec9835619 Mon Sep 17 00:00:00 2001 From: sr55 Date: Wed, 7 Jun 2017 19:38:42 +0100 Subject: Remove the OpenCL Bicubic scaling option. Unfortunatly it's causing too many problems and it's maximum 5% performance improvement (in ideal circumstances) doesn't justify the effort to continue with it. The OpenCL framework will remain in place in case we decide to use it for something in the future. Closes #690 --- win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs | 2 -- win/CS/HandBrakeWPF/Services/Scan/LibScan.cs | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'win/CS/HandBrakeWPF/Services') diff --git a/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs b/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs index efa595c4b..20e4eff14 100644 --- a/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs +++ b/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs @@ -302,8 +302,6 @@ namespace HandBrakeWPF.Services.Encode.Factories 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. diff --git a/win/CS/HandBrakeWPF/Services/Scan/LibScan.cs b/win/CS/HandBrakeWPF/Services/Scan/LibScan.cs index 955e769ed..de104924f 100644 --- a/win/CS/HandBrakeWPF/Services/Scan/LibScan.cs +++ b/win/CS/HandBrakeWPF/Services/Scan/LibScan.cs @@ -261,7 +261,7 @@ namespace HandBrakeWPF.Services.Scan 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); -- cgit v1.2.3