﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
231	N-pass ALF bug when STAR_CROSS_SHAPES is defined in HM-4.0	chiayang_tsai		"When STAR_CROSS_SHAPES is defined, a bug is found when 2-pass ALF is enabled (ALFEncodePassReduction = 2).

The pointer (m_iPreviousFilterShape) should be assigned to the current buffer (m_iPreviousFilterShapeMethods[m_uiVarGenMethod]) after the best filter shape is decided.

This bug does not affect common test condition.

=== Solution for HM-4.0 ===
In Line 2574, TEncAdaptiveLoopFilter.cpp, the following code should be inserted:

#if STAR_CROSS_SHAPES_LUMA
m_iPreviousFilterShape =m_iPreviousFilterShapeMethods[m_uiVarGenMethod];
#endif
"	defect	closed	minor		HM	HM-4.1	wontfix		fbossen ksuehring davidf jct-vc@…
