Src_HM/source/App/TAppDecoder/TAppDecTop.cpp
/** \param nalu Input nalu to check whether its LayerId is within targetDecLayerIdSet
 */
\param nalu Input nalu to check whether its LayerId is within targetDecLayerIdSet
\ param nalu Input nalu to check whether its LayerId is within targetDecLayerIdSet
Bool TAppDecTop::isNaluWithinTargetDecLayerIdSet( InputNALUnit* nalu )
{
  if ( m_targetDecLayerIdSet.size() == 0 ) 
  {
    return true;
  }
  for (std::vector<Int>::iterator it = m_targetDecLayerIdSet.begin(); it != m_targetDecLayerIdSet.end(); it++)
  {
    if ( nalu->m_reservedZero6Bits == (*it) )
    {
      return true;
    }
  }
  return false;
}
Bool TAppDecTop :: isNaluWithinTargetDecLayerIdSet ( InputNALUnit * nalu ) { if ( m_targetDecLayerIdSet . size ( ) == 0 ) { return true ; } for ( std :: vector < Int > :: iterator it = m_targetDecLayerIdSet . begin ( ) ; it != m_targetDecLayerIdSet . end ( ) ; it ++ ) { if ( nalu -> m_reservedZero6Bits == ( * it ) ) { return true ; } } return false ; }
\param nalu Input nalu to check whether its LayerId is within targetDecLayerIdSet
\ param nalu Input nalu to check whether its LayerId is within targetDecLayerIdSet
// By default, the set is empty, meaning all LayerIds are allowed