Skip to content

Commit

Permalink
[VP] Always use input compression flag for DN output
Browse files Browse the repository at this point in the history
Always use input compression flag for DN output.
  • Loading branch information
VincentCheungKokomo authored and intel-mediadev committed Nov 7, 2023
1 parent b628b65 commit e5d9401
Showing 1 changed file with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1411,16 +1411,8 @@ MOS_STATUS VpResourceManager::ReAllocateVeboxDenoiseOutputSurface(VP_EXECUTE_CAP

allocated = false;

if (IS_VP_VEBOX_DN_ONLY(caps) || (skuTable && waTable && MEDIA_IS_SKU(skuTable, FtrE2ECompression) && !MEDIA_IS_SKU(skuTable, FtrFlatPhysCCS) && !MEDIA_IS_WA(waTable, WaAuxTable64KGranular)))
{
bSurfCompressible = inputSurface->osSurface->bCompressible;
surfCompressionMode = inputSurface->osSurface->CompressionMode;
}
else
{
bSurfCompressible = true;
surfCompressionMode = MOS_MMC_MC;
}
bSurfCompressible = inputSurface->osSurface->bCompressible;
surfCompressionMode = inputSurface->osSurface->CompressionMode;

if (caps.bCappipe)
{
Expand Down

0 comments on commit e5d9401

Please sign in to comment.