Changeset 259 in SHVCSoftware for branches/SHM-2.1-multilayers-dev/source/App/TAppEncoder
- Timestamp:
- 5 Jun 2013, 03:48:35 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-2.1-multilayers-dev/source/App/TAppEncoder/TAppEncTop.cpp
r245 r259 910 910 #if VPS_EXTN_DIRECT_REF_LAYERS 911 911 // Direct reference layers 912 UInt maxDirectRefLayers = 0; 912 913 for(UInt layerCtr = 1;layerCtr <= vps->getMaxLayers() - 1; layerCtr++) 913 914 { 914 915 vps->setNumDirectRefLayers( layerCtr, m_acTEncTop[layerCtr].getNumDirectRefLayers() ); 916 maxDirectRefLayers = max<UInt>( maxDirectRefLayers, vps->getNumDirectRefLayers( layerCtr ) ); 917 915 918 for(i = 0; i < vps->getNumDirectRefLayers(layerCtr); i++) 916 919 { … … 930 933 #endif 931 934 #if JCTVC_M0458_INTERLAYER_RPS_SIG 932 vps->setMaxOneActiveRefLayerFlag( true);935 vps->setMaxOneActiveRefLayerFlag(maxDirectRefLayers > 1 ? false : true); 933 936 #endif 934 937 #else
Note: See TracChangeset for help on using the changeset viewer.