From 80a3049438379977c21d9e0c1bf624432a5236f7 Mon Sep 17 00:00:00 2001 From: "Zhang, Furong" Date: Thu, 7 Nov 2024 07:58:15 +0000 Subject: [PATCH] [VP] ARL-H xmx enabling --- .../mfx_lib/vpp/src/mfx_vpp_ai_frame_interpolation.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/_studio/mfx_lib/vpp/src/mfx_vpp_ai_frame_interpolation.cpp b/_studio/mfx_lib/vpp/src/mfx_vpp_ai_frame_interpolation.cpp index 4f324e2bf..d78b7b97d 100644 --- a/_studio/mfx_lib/vpp/src/mfx_vpp_ai_frame_interpolation.cpp +++ b/_studio/mfx_lib/vpp/src/mfx_vpp_ai_frame_interpolation.cpp @@ -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);