Skip to content

Commit

Permalink
[VP] ARL-H xmx enabling
Browse files Browse the repository at this point in the history
  • Loading branch information
FurongZhang authored and gfxVPLsdm committed Nov 7, 2024
1 parent f78c008 commit 80a3049
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions _studio/mfx_lib/vpp/src/mfx_vpp_ai_frame_interpolation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,14 @@ mfxStatus MFXVideoFrameInterpolation::InitFrameInterpolator(VideoCORE* core, con
MFX_CHECK(pD3d11, MFX_ERR_NULL_PTR);
// Init
xeAIVfiConfig config = {
outInfo.Width, outInfo.Height,
outInfo.Width,
outInfo.Height,
(mfxU32)core->GetHWType(),
pD3d11->GetD3D11Device(),
pD3d11->GetD3D11DeviceContext(), DXGI_FORMAT_R8G8B8A8_UNORM };
pD3d11->GetD3D11DeviceContext(),
DXGI_FORMAT_R8G8B8A8_UNORM,
core->GetHWDeviceId()
};
xeAIVfiStatus xeSts = m_aiIntp.Init(config);
if (xeSts != XE_AIVFI_SUCCESS)
MFX_RETURN(MFX_ERR_UNKNOWN);
Expand Down

0 comments on commit 80a3049

Please sign in to comment.