Skip to content

Commit

Permalink
[VP] Add BGRP format support
Browse files Browse the repository at this point in the history
Add BGRP format support in disablewidthadjust
  • Loading branch information
wennibao authored and intel-mediadev committed Dec 1, 2023
1 parent 11a52e6 commit f71b5bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion media_softlet/agnostic/common/renderhal/renderhal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4082,7 +4082,8 @@ MOS_STATUS RenderHal_GetSurfaceStateEntries(
PlaneDefinition == RENDERHAL_PLANES_R16_UNORM ||
PlaneDefinition == RENDERHAL_PLANES_R8 ||
PlaneDefinition == RENDERHAL_PLANES_A8 ||
PlaneDefinition == RENDERHAL_PLANES_RGB16))
PlaneDefinition == RENDERHAL_PLANES_RGB16 ||
PlaneDefinition == RENDERHAL_PLANES_BGRP))
{
dwSurfaceWidth = dwSurfaceWidth / OutputSurfaceWidthRatio;
}
Expand Down

0 comments on commit f71b5bd

Please sign in to comment.