Opened 4 years ago

Closed 4 years ago

#877 closed defect (fixed)

CCALF with multiple-slices

Reported by: bheng Owned by:
Priority: minor Milestone: VTM-8.0
Component: VTM Version: VTM-7.3
Keywords: Cc: ksuehring, XiangLi, fbossen, jvet@…


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;


Change history (2)

comment:2 Changed 4 years ago by XiangLi

  • Milestone set to VTM-8.0
  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.