Skip to content

Commit

Permalink
"Super Resolution" will be used for HDR video with passthrough. Nvidi…
Browse files Browse the repository at this point in the history
…a это "разрешили" в новых драйверах января 2025.
  • Loading branch information
Aleksoid1978 committed Jan 31, 2025
1 parent e7bc9a5 commit 5d7cc66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/DX11VideoProcessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1818,7 +1818,7 @@ HRESULT CDX11VideoProcessor::InitializeD3D11VP(const FmtConvParams_t& params, co
return hr;
}

auto superRes = (m_bVPScaling && (params.CDepth == 8 || !m_bACMEnabled) && !(m_bHdrPassthroughSupport && m_bHdrPassthrough && SourceIsHDR())) ? m_iVPSuperRes : SUPERRES_Disable;
auto superRes = (m_bVPScaling && (params.CDepth == 8 || !m_bACMEnabled)) ? m_iVPSuperRes : SUPERRES_Disable;
m_bVPUseSuperRes = (m_D3D11VP.SetSuperRes(superRes) == S_OK);

auto rtxHDR = m_bVPRTXVideoHDR && m_bHdrPassthroughSupport && m_bHdrPassthrough && m_iTexFormat != TEXFMT_8INT && !SourceIsHDR();
Expand Down Expand Up @@ -3594,7 +3594,7 @@ void CDX11VideoProcessor::Configure(const Settings_t& config)
}

if (changeSuperRes) {
auto superRes = (m_bVPScaling && (m_srcParams.CDepth == 8 || !m_bACMEnabled) && !(m_bHdrPassthroughSupport && m_bHdrPassthrough && SourceIsHDR())) ? m_iVPSuperRes : SUPERRES_Disable;
auto superRes = (m_bVPScaling && (m_srcParams.CDepth == 8 || !m_bACMEnabled)) ? m_iVPSuperRes : SUPERRES_Disable;
m_bVPUseSuperRes = (m_D3D11VP.SetSuperRes(superRes) == S_OK);
}

Expand Down
2 changes: 2 additions & 0 deletions history.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
0.9.2 dev
------------------------
"Super Resolution" will be used for HDR video with passthrough.


0.9.1.2353 - 2025-01-17
------------------------
Expand Down

0 comments on commit 5d7cc66

Please sign in to comment.