Changeset 257 in SHVCSoftware for branches/SHM-2.1-multilayers-dev


Ignore:
Timestamp:
3 Jun 2013, 21:33:24 (12 years ago)
Author:
seregin
Message:

remove asserts and LIP init at decoder

Location:
branches/SHM-2.1-multilayers-dev/source/Lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-2.1-multilayers-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r255 r257  
    160160    if (m_cIlpPic[0] == NULL)
    161161    {
    162       for (Int j=0; j< 1/*MAX_NUM_REF*/; j++)  // to be set to NumDirectRefLayers[LayerIdInVps[nuh_layer_id]]
     162      for (Int j=0; j < MAX_LAYERS /*MAX_NUM_REF*/; j++)  // consider to set to NumDirectRefLayers[LayerIdInVps[nuh_layer_id]]
    163163      {
    164164
     
    13071307#endif
    13081308  }
    1309 
    1310   // currently only one reference layer is supported
    1311   assert( vps->getNumDirectRefLayers( m_layerId ) == 1 );
    1312 #if JCTVC_M0458_INTERLAYER_RPS_SIG
    1313   assert( vps->getMaxOneActiveRefLayerFlag() == 1 );
    1314 #endif
    13151309 
    13161310  return (TDecTop *)getLayerDec( vps->getRefLayerId( m_layerId, refLayerIdc ) );
  • branches/SHM-2.1-multilayers-dev/source/Lib/TLibEncoder/TEncTop.cpp

    r253 r257  
    12221222  }
    12231223
    1224   // currently only one reference layer is supported
    1225   assert( m_ppcTEncTop[m_layerId]->getNumDirectRefLayers() == 1 );
    1226 
    12271224  return (TEncTop *)getLayerEnc( getVPS()->getRefLayerId( m_layerId, refLayerIdc ) );
    12281225}
     
    12471244    if (m_cIlpPic[0] == NULL)
    12481245    {
    1249       for (Int j=0; j < MAX_LAYERS /*MAX_NUM_REF*/; j++)
     1246      for (Int j=0; j < MAX_LAYERS /*MAX_NUM_REF*/; j++) // consider to set to NumDirectRefLayers[LayerIdInVps[nuh_layer_id]]
    12501247      {
    12511248        m_cIlpPic[j] = new  TComPic;
Note: See TracChangeset for help on using the changeset viewer.