Changeset 451 in SHVCSoftware for branches/SHM-4.0-dev/source/Lib/TLibEncoder


Ignore:
Timestamp:
8 Nov 2013, 07:09:02 (11 years ago)
Author:
seregin
Message:

remove VPS_SPLIT_FLAG macro

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-4.0-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r448 r451  
    827827  }
    828828
    829 #if VPS_SPLIT_FLAG
    830829  for(j = 0; j < vps->getNumScalabilityTypes() - vps->getSplittingFlag(); j++)
    831 #else
    832   for(j = 0; j < vps->getNumScalabilityTypes(); j++)
    833 #endif
    834830  {
    835831    WRITE_CODE( vps->getDimensionIdLen(j) - 1, 3,      "dimension_id_len_minus1[j]" );
     
    855851      WRITE_CODE( vps->getLayerIdInNuh(i),     6,      "layer_id_in_nuh[i]" );
    856852    }
    857 #if VPS_SPLIT_FLAG
    858     if(!vps->getSplittingFlag())
    859 #endif
    860     for(j = 0; j < vps->getNumScalabilityTypes(); j++)
    861     {
    862       UInt bits = vps->getDimensionIdLen(j);
    863       WRITE_CODE( vps->getDimensionId(i, j),   bits,   "dimension_id[i][j]" );
     853
     854    if( !vps->getSplittingFlag() )
     855    {
     856      for(j = 0; j < vps->getNumScalabilityTypes(); j++)
     857      {
     858        UInt bits = vps->getDimensionIdLen(j);
     859        WRITE_CODE( vps->getDimensionId(i, j),   bits,   "dimension_id[i][j]" );
     860      }
    864861    }
    865862  }
Note: See TracChangeset for help on using the changeset viewer.