﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
576	bCTUboundary condition for CCLM filtering incorrect	bheng		"The isFirstRowOfCtu condition is calculated in xGetLumaRecPixels( ), as shown below:

    isFirstRowOfCtu = ((pu.block(COMPONENT_Cb).y)&(((pu.cs->sps)->getMaxCUWidth() >> 1) - 1)) == 0;

Here it uses the vertical position of the PU rather than the vertical position of the TU.  For implicitly split TUs within a PU (due to maxTrafoSize), this can give the wrong result.

I believe something like the following would fix the problem.

    isFirstRowOfCtu = ((chromaArea.y)&(((pu.cs->sps)->getMaxCUWidth() >> 1) - 1)) == 0;"	defect	closed	minor	VTM-7.1	VTM	VTM-6.2	fixed		ksuehring XiangLi fbossen jvet@…
