From b13e9ba1958d65f3e69469cd78765bae4b33c1bd Mon Sep 17 00:00:00 2001 From: cdozdil Date: Thu, 9 May 2024 13:09:39 +0300 Subject: [PATCH] removed cas settings --- OptiScaler/Config.cpp | 1 - nvngx.ini | 11 ----------- 2 files changed, 12 deletions(-) diff --git a/OptiScaler/Config.cpp b/OptiScaler/Config.cpp index e1301f82..7a5dc5ff 100644 --- a/OptiScaler/Config.cpp +++ b/OptiScaler/Config.cpp @@ -210,7 +210,6 @@ bool Config::SaveIni() // CAS ini.SetValue("CAS", "Enabled", GetBoolValue(Instance()->RcasEnabled).c_str()); - ini.SetValue("CAS", "ColorSpaceConversion", GetIntValue(Instance()->CasColorSpaceConversion).c_str()); // Depth ini.SetValue("Depth", "DepthInverted", GetBoolValue(Instance()->DepthInverted).c_str()); diff --git a/nvngx.ini b/nvngx.ini index 27909716..cf9b07b6 100644 --- a/nvngx.ini +++ b/nvngx.ini @@ -114,10 +114,6 @@ Sharpness=auto ; true or false - Default (auto) is false Enabled=auto -; Color space conversion for input and output -; Possible values are at the end of the file - Default (auto) is 0 -ColorSpaceConversion=auto - [Log] ; Logging ; true or false- Default (auto) is true @@ -286,10 +282,3 @@ OutputResourceBarrier=auto ; D3D12_RESOURCE_STATE_VIDEO_ENCODE_READ = 2097152, ; D3D12_RESOURCE_STATE_VIDEO_ENCODE_WRITE = 8388608 ;------------------------------------------------------ - -; ColorSpaceConversion values are; -; 0 = FFX_CAS_COLOR_SPACE_LINEAR -> Linear color space, will do nothing. -; 1 = FFX_CAS_COLOR_SPACE_GAMMA20 -> Convert gamma 2.0 to linear for input and linear to gamma 2.0 for output. -; 2 = FFX_CAS_COLOR_SPACE_GAMMA22 -> Convert gamma 2.2 to linear for input and linear to gamma 2.2 for output. -; 3 = FFX_CAS_COLOR_SPACE_SRGB_OUTPUT -> Only do sRGB conversion for output (input conversion will be done automatically). -; 4 = FFX_CAS_COLOR_SPACE_SRGB_INPUT_OUTPUT -> Convert sRGB to linear for input and linear to sRGB for output.