Changeset 571 in SHVCSoftware for branches/SHM-5.0-dev/source/Lib/TLibDecoder
- Timestamp:
- 28 Jan 2014, 05:40:30 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-5.0-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r570 r571 2131 2131 else 2132 2132 { 2133 #if P0079_DERIVE_NUMACTIVE_REF_PICS 2134 Int numRefLayerPics = 0; 2135 Int i = 0; 2136 Int refLayerPicIdc [MAX_VPS_LAYER_ID_PLUS1]; 2137 for(i = 0, numRefLayerPics = 0; i < rpcSlice->getNumILRRefIdx(); i++ ) 2138 { 2139 if(rpcSlice->getVPS()->getMaxTidIlRefPicsPlus1(rpcSlice->getVPS()->getLayerIdInVps(i),rpcSlice->getLayerId()) > rpcSlice->getTLayer() && 2140 (rpcSlice->getVPS()->getMaxTSLayersMinus1(rpcSlice->getVPS()->getLayerIdInVps(i)) >= rpcSlice->getTLayer()) ) 2141 { 2142 refLayerPicIdc[ numRefLayerPics++ ] = i; 2143 } 2144 } 2145 if (numRefLayerPics) 2146 rpcSlice->setActiveNumILRRefIdx(1); 2147 #else 2133 2148 rpcSlice->setActiveNumILRRefIdx(1); 2149 #endif 2134 2150 } 2135 2151 #if ILP_NUM_REF_CHK
Note: See TracChangeset for help on using the changeset viewer.