﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
877	CCALF with multiple-slices	bheng		"The CCALF parameters are set just once at the end of the picture in DecLib::executeLoopFilters()

   m_cALF.getCcAlfFilterParam() = cs.slice->m_ccAlfFilterParam;

The pointer ""cs.slice"" just refers to the final slice in the picture at this point. For multiple slices with different CCALF settings, the CCALF parameters should be updated for each slice within the ALF loop using ""cu->slice"" parameters rather than ""cs.slice"" parameters.

I believe adding the line below would fix the issue.

      // reload ALF APS each time the slice changes during raster scan filtering
      if(ctuIdx == 0 | | lastSliceIdx != cu->slice->getSliceID() | | alfCtuFilterIndex==nullptr)
      {
        cs.slice = cu->slice;
        ''' m_ccAlfFilterParam = cu->slice->m_ccAlfFilterParam; '''        
        ...
      }
"	defect	closed	minor	VTM-8.0	VTM	VTM-7.3	fixed		ksuehring XiangLi fbossen jvet@…
