Changeset 245 in SHVCSoftware for branches/SHM-2.1-dev/source/Lib


Ignore:
Timestamp:
30 May 2013, 02:09:16 (12 years ago)
Author:
seregin
Message:

add config parameter for scalability_mask update

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

Legend:

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

    r228 r245  
    913913    READ_FLAG( uiCode, "scalability_mask[i]" ); vps->setScalabilityMask(i, uiCode ? true : false);
    914914    numScalabilityTypes += uiCode;
    915     if( i != 1 )
    916     {
    917       // Multiview and reserved masks are not used in this version of software
    918       assert( uiCode == 0 );
    919     }
    920915  }
    921916  vps->setNumScalabilityTypes(numScalabilityTypes);
  • branches/SHM-2.1-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r240 r245  
    258258      {
    259259        rpcPic->setSpatialEnhLayerFlag( true );
     260
     261        //only for scalable extension
     262        assert( pcSlice->getVPS()->getScalabilityMask(1) == true );
    260263      }
    261264    }
  • branches/SHM-2.1-dev/source/Lib/TLibEncoder/TEncTop.cpp

    r238 r245  
    515515        {
    516516          pcEPic->setSpatialEnhLayerFlag( true );
     517
     518          //only for scalable extension
     519          assert( m_cVPS.getScalabilityMask(1) == true );
    517520        }
    518521      }
     
    543546        {
    544547          rpcPic->setSpatialEnhLayerFlag( true );
     548
     549          //only for scalable extension
     550          assert( m_cVPS.getScalabilityMask(1) == true );
    545551        }
    546552      }
Note: See TracChangeset for help on using the changeset viewer.