Changeset 639 in SHVCSoftware for branches/SHM-5.1-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
- Timestamp:
- 21 Mar 2014, 18:27:23 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-5.1-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r636 r639 2451 2451 { 2452 2452 #if P0079_DERIVE_NUMACTIVE_REF_PICS 2453 Int numRefLayerPics = 0; 2454 Int i = 0; 2455 Int refLayerPicIdc [MAX_VPS_LAYER_ID_PLUS1]; 2456 for(i = 0, numRefLayerPics = 0; i < rpcSlice->getNumILRRefIdx(); i++ ) 2453 for( Int i = 0; i < rpcSlice->getNumILRRefIdx(); i++ ) 2457 2454 { 2458 2455 if(rpcSlice->getVPS()->getMaxTidIlRefPicsPlus1(rpcSlice->getVPS()->getLayerIdInVps(i),rpcSlice->getLayerId()) > rpcSlice->getTLayer() && 2459 2456 (rpcSlice->getVPS()->getMaxTSLayersMinus1(rpcSlice->getVPS()->getLayerIdInVps(i)) >= rpcSlice->getTLayer()) ) 2460 2457 { 2461 refLayerPicIdc[ numRefLayerPics++ ] = i; 2458 rpcSlice->setActiveNumILRRefIdx(1); 2459 break; 2462 2460 } 2463 2461 } 2464 if (numRefLayerPics)2465 rpcSlice->setActiveNumILRRefIdx(1);2466 2462 #else 2467 2463 rpcSlice->setActiveNumILRRefIdx(1);
Note: See TracChangeset for help on using the changeset viewer.