﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
167	JCTVC-E049 bugs about pixel maximum value of SAO output and the memory allocation of CABAC encoder	chihming.fu		"Using revision r928
In TComAdaptiveLoopFilter.cpp:2885, the maximun value of SAO output is  

{{{
  UInt uiMaxY  = 255   << g_uiBitIncrement;
}}}
The maximum value of SAO should use the variable consistent with the other part of HM-3.0 as following
{{{
  UInt uiMaxY  = g_uiIBDI_MAX;
}}}

In TEncTop.cpp:143, the variable g_uiMaxCUDepth is used to allocate the memory of variable m_pppcRDSbacCoder; however, SAO will re-use the variable m_pppcRDSbacCoder and therefore, the memory allocation process of pppcRDSbacCoder need set variable g_uiMaxCUDepth to 4 temporary."	defect	closed	minor	HM-3.1	HM	HM-3.0	fixed		fbossen ksuehring davidf jct-vc@…
