Skip to content

Commit

Permalink
[VP] Added AI VFI kernel and host code
Browse files Browse the repository at this point in the history
  • Loading branch information
FurongZhang authored and gfxVPLsdm committed Jun 28, 2024
1 parent c9efd0e commit ba8bbb4
Show file tree
Hide file tree
Showing 3 changed files with 569 additions and 569 deletions.
1 change: 1 addition & 0 deletions _studio/mfx_lib/vpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ target_link_libraries(vpp_hw
vpp_hw_avx2
mfx_sdl_properties
$<$<BOOL:${MFX_ENABLE_EXT}>:mfx_ext>
$<$<AND:$<PLATFORM_ID:Windows>,$<BOOL:${MFX_ENABLE_EXT}>>:ai_vfi_ext>
)

add_library(vpp_hw_avx2
Expand Down
3 changes: 1 addition & 2 deletions _studio/mfx_lib/vpp/include/mfx_vpp_ai_frame_interpolation.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#ifndef _MFX_VPP_AI_FRAME_INTERPOLATION_H_
#define _MFX_VPP_AI_FRAME_INTERPOLATION_H_

#define ENABLE_VFI 0

#include "mfx_vpp_interface.h"
#include "asc.h"
Expand Down Expand Up @@ -94,7 +93,7 @@ class MFXVideoFrameInterpolation
mfxFrameSurface1 m_scdImage;
mfxFrameAllocResponse m_scdAllocation;

#if ENABLE_VFI
#ifdef MFX_ENABLE_AI_VIDEO_FRAME_INTERPOLATION
xeAIVfi m_aiIntp;
#endif
bool m_preWorkCscForFi;
Expand Down
Loading

0 comments on commit ba8bbb4

Please sign in to comment.