Changeset 176 in SHVCSoftware for branches/SHM-2.0-dev/source/Lib/TLibEncoder
- Timestamp:
- 10 May 2013, 00:11:31 (12 years ago)
- Location:
- branches/SHM-2.0-dev/source/Lib/TLibEncoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-2.0-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r175 r176 669 669 pcSlice->setNumRefIdx(REF_PIC_LIST_1, pcSlice->getNumRefIdx(REF_PIC_LIST_1)+pcSlice->getNumILRRefIdx()); 670 670 } 671 #if JCTVC_M0458_INTERLAYER_RPS_SIG672 // currently only one reference layer is supported in software and no decision logic to select yet.673 // hence num of active inter layer references is set to one always674 pcSlice->setActiveNumILRRefIdx(1);675 #endif676 671 } 677 672 #endif -
branches/SHM-2.0-dev/source/Lib/TLibEncoder/TEncSlice.cpp
r174 r176 194 194 rpcSlice->setPic( pcPic ); 195 195 #if SVC_EXTENSION 196 UInt layerId = pcPic->getLayerId(); 196 197 rpcSlice->setVPS( vps ); 197 rpcSlice->initSlice( pcPic->getLayerId());198 rpcSlice->initSlice( layerId ); 198 199 #else 199 200 rpcSlice->initSlice(); … … 486 487 xStoreWPparam( pPPS->getUseWP(), pPPS->getWPBiPred() ); 487 488 489 #if SVC_EXTENSION 490 if( layerId > 0 ) 491 { 488 492 #if JCTVC_M0458_INTERLAYER_RPS_SIG 489 493 // currently only one reference layer is supported in software and no decision logic to select yet. 490 494 // hence num of active inter layer references is set to one always 491 rpcSlice->setActiveNumILRRefIdx(1); 495 if( rpcSlice->getNumILRRefIdx() > 0 ) 496 { 497 rpcSlice->setActiveNumILRRefIdx(1); 498 rpcSlice->setInterLayerPredEnabledFlag(1); 499 } 500 #else 501 rpcSlice->setNumILRRefIdx( rpcSlice->getVPS()->getNumDirectRefLayers( layerId ) ); 492 502 #endif 503 } 504 505 #endif 493 506 } 494 507
Note: See TracChangeset for help on using the changeset viewer.