Changeset 660 in SHVCSoftware for branches


Ignore:
Timestamp:
10 Apr 2014, 01:39:56 (11 years ago)
Author:
seregin
Message:

constraint for vps_num_rep_formats_minus1

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

Legend:

Unmodified
Added
Removed
  • TabularUnified branches/SHM-6-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r659 r660  
    14531453    vps->setVpsNumRepFormats( vps->getMaxLayers() );
    14541454  }
     1455
     1456  // The value of vps_num_rep_formats_minus1 shall be in the range of 0 to 255, inclusive.
     1457  assert( vps->getVpsNumRepFormats() > 0 && vps->getVpsNumRepFormats() <= 256 );
     1458
    14551459  for(i = 0; i < vps->getVpsNumRepFormats(); i++)
    14561460  {
  • TabularUnified branches/SHM-6-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r659 r660  
    10761076  if( vps->getRepFormatIdxPresentFlag() )
    10771077  {
     1078    // The value of vps_num_rep_formats_minus1 shall be in the range of 0 to 255, inclusive.
     1079    assert( vps->getVpsNumRepFormats() > 0 && vps->getVpsNumRepFormats() <= 256 );
     1080
    10781081#if O0096_REP_FORMAT_INDEX
    10791082#if !VPS_EXTN_UEV_CODING
Note: See TracChangeset for help on using the changeset viewer.