﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
457	Potential Bug in HM6.0	NaZhang	tung.nguyen	"When we did expeiments on HM4.0, we observed that the following section of the code of the function ""encodeCoeff ""in the file ""TEncEntropy.cpp"" does not seem to behave in the correct way.    
    if ( !pcCU->getQtRootCbf( uiAbsPartIdx ) )
      {
        return;
      }
It seems that the above code should be modified as follows.

    if ( !pcCU->getQtRootCbf( uiAbsPartIdx ) )
      {
        pcCU->setCbfSubParts( 0, 0, 0, uiAbsPartIdx, uiDepth );
        pcCU->setTrIdxSubParts( 0 , uiAbsPartIdx, uiDepth );
        return;
       }

In this way, it can also match the following section of the code of the function ""decodeCoeff"" in the file ""TDecEntropy.cpp""
    if ( !uiQtRootCbf )
     {
        pcCU->setCbfSubParts( 0, 0, 0, uiAbsPartIdx, uiDepth );
        pcCU->setTrIdxSubParts( 0 , uiAbsPartIdx, uiDepth );
        return;
      }

The following section of the code of the function ""encodeCoeff "" in the file ""TEncEntropy.cpp"" of HM6.0 also has the same problem.
if ( !pcCU->getQtRootCbf( uiAbsPartIdx ) )
   {
#if NSQT_LFFIX
        pcCU->setNSQTIdxSubParts( uiAbsPartIdx, uiDepth );
#endif
        return;
     }
It seems that it should make the following changes.
if ( !pcCU->getQtRootCbf( uiAbsPartIdx ) )
 {
 pcCU->setCbfSubParts( 0, 0, 0, uiAbsPartIdx, uiDepth );
 pcCU->setTrIdxSubParts( 0 , uiAbsPartIdx, uiDepth );
#if NSQT_LFFIX
        pcCU->setNSQTIdxSubParts( uiAbsPartIdx, uiDepth );
#endif
        return;
     }


"	defect	closed	minor		HM	HM-6.0	invalid		fbossen ksuehring davidf jct-vc@…
