Skip to content

Commit

Permalink
[VP] Fix hdr capture issue
Browse files Browse the repository at this point in the history
Fix hdr capture issue.
  • Loading branch information
Alex1Zhang authored and intel-mediadev committed Jul 10, 2024
1 parent 30ba860 commit d62cce3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3412,7 +3412,7 @@ MOS_STATUS VpRenderHdrKernel::SetupSurfaceState()
VP_RENDER_CHK_NULL_RETURN(m_hwInterface->m_renderHal);
renderHal = m_hwInterface->m_renderHal;
m_surfaceBindingIndex.clear();

m_surfaceState.clear();
UpdatePerLayerPipelineStates(&dwUpdateMask);

for (i = 0; i < m_hdrParams->uSourceCount && i < VPHAL_MAX_HDR_INPUT_LAYER; i++)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ MOS_STATUS VpRenderHdr3DLutKernel::SetupSurfaceState()
PRENDERHAL_INTERFACE renderHal = m_hwInterface->m_renderHal;
PMOS_INTERFACE osInterface = m_hwInterface->m_osInterface;
m_surfaceBindingIndex.clear();

m_surfaceState.clear();
KERNEL_SURFACE_STATE_PARAM kernelSurfaceParam = {};
// Only need to specify binding index in surface parameters.
kernelSurfaceParam.surfaceOverwriteParams.updatedSurfaceParams = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ MOS_STATUS VpRenderHVSKernel::SetupSurfaceState()
PRENDERHAL_INTERFACE renderHal = m_hwInterface->m_renderHal;
PMOS_INTERFACE osInterface = m_hwInterface->m_osInterface;
m_surfaceBindingIndex.clear();

m_surfaceState.clear();
for (auto arg : m_kernelArgs)
{
VP_RENDER_CHK_NULL_RETURN(arg.pData);
Expand Down

0 comments on commit d62cce3

Please sign in to comment.