Changeset 345 in SHVCSoftware for trunk/source/Lib/TLibDecoder/TDecCAVLC.cpp
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/SHM-3.0-dev (added) merged: 315-344 /trunk (added) merged: 312-314
- Property svn:mergeinfo changed
-
trunk/source
- Property svn:mergeinfo changed
/branches/SHM-3.0-dev/source (added) merged: 316-340 /trunk/source (added) merged: 312-314
- Property svn:mergeinfo changed
-
trunk/source/Lib/TLibDecoder/TDecCAVLC.cpp
r313 r345 951 951 #endif 952 952 #if JCTVC_M0203_INTERLAYER_PRED_IDC 953 #if N0120_MAX_TID_REF_PRESENT_FLAG 954 READ_FLAG( uiCode, "max_tid_il_ref_pics_plus1_present_flag"); vps->setMaxTidIlRefPicsPlus1PresentFlag(uiCode ? true : false); 955 if (vps->getMaxTidIlRefPicsPlus1PresentFlag()) 956 { 957 for(i = 0; i < vps->getMaxLayers() - 1; i++) 958 { 959 READ_CODE( 3, uiCode, "max_sublayer_for_ilp_plus1[i]" ); vps->setMaxSublayerForIlpPlus1(i, uiCode); 960 assert( uiCode <= vps->getMaxTLayers() ); 961 } 962 } 963 else 964 { 965 for(i = 0; i < vps->getMaxLayers() - 1; i++) 966 { 967 vps->setMaxSublayerForIlpPlus1(i, 7); 968 } 969 } 970 #else 953 971 for(i = 0; i < vps->getMaxLayers() - 1; i++) 954 972 { … … 956 974 assert( uiCode <= vps->getMaxTLayers() ); 957 975 } 976 #endif 977 #endif 978 #if ILP_SSH_SIG 979 READ_FLAG( uiCode, "all_ref_layers_active_flag" ); vps->setIlpSshSignalingEnabledFlag(uiCode ? true : false); 958 980 #endif 959 981 #if VPS_EXTN_PROFILE_INFO … … 1382 1404 #if JCTVC_M0458_INTERLAYER_RPS_SIG 1383 1405 rpcSlice->setActiveNumILRRefIdx(0); 1406 #if ILP_SSH_SIG 1407 if((sps->getLayerId() > 0) && rpcSlice->getVPS()->getIlpSshSignalingEnabledFlag() && (rpcSlice->getNumILRRefIdx() > 0) ) 1408 #else 1384 1409 if((sps->getLayerId() > 0) && (rpcSlice->getNumILRRefIdx() > 0) ) 1410 #endif 1385 1411 { 1386 1412 READ_FLAG(uiCode,"inter_layer_pred_enabled_flag"); … … 1404 1430 rpcSlice->setActiveNumILRRefIdx(1); 1405 1431 } 1432 #if ILP_NUM_REF_CHK 1433 if( rpcSlice->getActiveNumILRRefIdx() == rpcSlice->getNumILRRefIdx() ) 1434 { 1435 for( Int i = 0; i < rpcSlice->getActiveNumILRRefIdx(); i++ ) 1436 { 1437 rpcSlice->setInterLayerPredLayerIdc(i,i); 1438 } 1439 } 1440 else 1441 { 1442 #endif 1406 1443 for(Int i = 0; i < rpcSlice->getActiveNumILRRefIdx(); i++ ) 1407 1444 { … … 1409 1446 rpcSlice->setInterLayerPredLayerIdc(uiCode,i); 1410 1447 } 1448 #if ILP_NUM_REF_CHK 1449 } 1450 #endif 1411 1451 } 1412 1452 else … … 1417 1457 } 1418 1458 } 1459 #if ILP_SSH_SIG 1460 else if( rpcSlice->getVPS()->getIlpSshSignalingEnabledFlag() == false ) 1461 { 1462 rpcSlice->setInterLayerPredEnabledFlag(true); 1463 rpcSlice->setActiveNumILRRefIdx(rpcSlice->getNumILRRefIdx()); 1464 for( Int i = 0; i < rpcSlice->getActiveNumILRRefIdx(); i++ ) 1465 { 1466 rpcSlice->setInterLayerPredLayerIdc(i,i); 1467 } 1468 } 1469 #endif 1419 1470 #if M0457_IL_SAMPLE_PRED_ONLY_FLAG 1420 1471 rpcSlice->setInterLayerSamplePredOnlyFlag( false ); … … 1574 1625 { 1575 1626 #if REF_IDX_FRAMEWORK && M0457_COL_PICTURE_SIGNALING 1627 #if REMOVE_COL_PICTURE_SIGNALING 1628 rpcSlice->setMFMEnabledFlag( rpcSlice->getNumMotionPredRefLayers() > 0 ? true : false ); 1629 #else 1576 1630 rpcSlice->setMFMEnabledFlag( false ); 1577 1631 rpcSlice->setColRefLayerIdx( 0 ); … … 1590 1644 else 1591 1645 { 1646 #endif //REMOVE_COL_PICTURE_SIGNALING 1592 1647 #endif 1593 1648 if ( rpcSlice->getSliceType() == B_SLICE ) … … 1612 1667 rpcSlice->setColRefIdx(0); 1613 1668 } 1614 #if REF_IDX_FRAMEWORK && M0457_COL_PICTURE_SIGNALING 1669 #if REF_IDX_FRAMEWORK && M0457_COL_PICTURE_SIGNALING && !REMOVE_COL_PICTURE_SIGNALING 1615 1670 } 1616 1671 #endif … … 2215 2270 return (cnt>0); 2216 2271 } 2217 2218 #if INTRA_BL2219 Void TDecCavlc::parseIntraBLFlag ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiPartIdx, UInt uiDepth )2220 {2221 assert(0);2222 }2223 #endif2224 2225 2272 //! \} 2226 2273
Note: See TracChangeset for help on using the changeset viewer.