﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
104	Incorrect position derivation In setMaxMinDepth()	yjpiao		"cuBelowLeft and cuAboveRight are incorrectly derived by accessing wrong positions. 

Current: 
const CodingUnit* cuBelowLeft   = cs.getCURestricted( pos.offset( -1, '''cs.pcv->minCUHeight''' >> ...........)
const CodingUnit* cuAboveRight  = cs.getCURestricted( pos.offset( '''cs.pcv->minCUWidth''' >> ..............)

Should be fixed as:
cs.pcv->minCUHeight --> currArea().blocks[chType].height
cs.pcv->minCUWidth --> currArea().blocks[chType].width

Since setMaxMinDepth() is used only for encoder optimization, the change is non-normative and provides ~0.05% gain.
"	defect	closed	minor	VTM-3.0	VTM		fixed		ksuehring XiangLi fbossen jvet@…
