Skip to content

Commit

Permalink
[VP] Remove out of bound for FSRCNNs
Browse files Browse the repository at this point in the history
Remove out of bound for FSRCNNs model
  • Loading branch information
kchen1024 authored and intel-mediadev committed Sep 18, 2023
1 parent 4048d0a commit b60f5d6
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ class VpPlatformInterfaceXe_Hpm : public VpPlatformInterface
return true;
}

virtual bool IsLegacyEuCountInUse()
{
return true;
}

virtual MOS_STATUS GetInputFrameWidthHeightAlignUnit(
PVP_MHWINTERFACE pvpMhwInterface,
uint32_t &widthAlignUnit,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ class VpPlatformInterfaceXe_Xpm : public VpPlatformInterface
return false;
}

virtual bool IsLegacyEuCountInUse()
{
return true;
}

virtual MOS_STATUS GetInputFrameWidthHeightAlignUnit(
PVP_MHWINTERFACE pvpMhwInterface,
uint32_t &widthAlignUnit,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ class VpPlatformInterfaceG12Tgllp : public VpPlatformInterface
return false;
}

virtual bool IsLegacyEuCountInUse()
{
return true;
}

virtual MOS_STATUS GetInputFrameWidthHeightAlignUnit(
PVP_MHWINTERFACE pvpMhwInterface,
uint32_t &widthAlignUnit,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ class VpPlatformInterfacesXe_Lpm_Plus : public VpPlatformInterface
return true;
}

virtual bool IsLegacyEuCountInUse()
{
return true;
}

protected:
bool m_disableSfcDithering = false;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,11 @@ class VpPlatformInterface
return true;
}

virtual bool IsLegacyEuCountInUse()
{
return false;
}

bool IsRenderDisabled()
{
return m_isRenderDisabled;
Expand Down

0 comments on commit b60f5d6

Please sign in to comment.