Changeset 1141 in SHVCSoftware for branches/SHM-dev/source/Lib
- Timestamp:
- 7 Jul 2015, 23:29:44 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r1140 r1141 149 149 #define MAX_ONE_RESAMPLING_DIRECT_LAYERS 1 ///< Allow maximum of one resampling process for direct reference layers 150 150 #define MOTION_RESAMPLING_CONSTRAINT 1 ///< JCTVC-N0108: Allow maximum of one motion resampling process for direct reference layers, and use motion inter-layer prediction from the same layer as texture inter-layer prediction. 151 #define O0225_TID_BASED_IL_RPS_DERIV 1152 151 #define VPS_TSLAYERS 1 ///< JCTVC-O0120 signal max temporal sub-layers for each layer 153 152 #define P0079_DERIVE_NUMACTIVE_REF_PICS 1 ///< JCTVC-P0079 Modification of derivation of variable NumActiveRefLayerPics -
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1140 r1141 1571 1571 else 1572 1572 { 1573 #if O0225_TID_BASED_IL_RPS_DERIV1574 1573 Int refLayerId = pcSlice->getVPS()->getRefLayerId(pcSlice->getLayerId(), 0); 1575 1574 Int refLayerIdx = pcSlice->getVPS()->getLayerIdxInVps(refLayerId); … … 1582 1581 #endif 1583 1582 { 1584 #endif1585 1583 pcSlice->setActiveNumILRRefIdx(1); 1586 1584 pcSlice->setInterLayerPredLayerIdc(0, 0); 1587 #if O0225_TID_BASED_IL_RPS_DERIV1588 1585 } 1589 #endif1590 1586 } 1591 1587 } … … 1595 1591 pcSlice->setInterLayerPredEnabledFlag(true); 1596 1592 1597 #if O0225_TID_BASED_IL_RPS_DERIV1598 1593 Int numRefLayerPics = 0; 1599 1594 Int i = 0; … … 1617 1612 pcSlice->setInterLayerPredLayerIdc(refLayerPicIdc[i], i); 1618 1613 } 1619 #else1620 pcSlice->setActiveNumILRRefIdx(pcSlice->getNumILRRefIdx());1621 for( Int i = 0; i < pcSlice->getActiveNumILRRefIdx(); i++ )1622 {1623 pcSlice->setInterLayerPredLayerIdc(i,i);1624 }1625 #endif1626 1614 } 1627 1615 #endif //SVC_EXTENSION -
branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r1131 r1141 1449 1449 } 1450 1450 #endif 1451 #if SVC_EXTENSION 1451 1452 1452 if( pcPic->isSpatialEnhLayer(refLayerIdc) ) 1453 1453 { … … 1467 1467 } 1468 1468 pcSlice->setFullPelBaseRec ( refLayerIdc, pcPic->getFullPelBaseRec(refLayerIdc) ); 1469 #endif //SVC_EXTENSION1470 1469 } 1471 1470 … … 1476 1475 } 1477 1476 1478 #if !O0225_TID_BASED_IL_RPS_DERIV || Q0060_MAX_TID_REF_EQUAL_TO_ZERO1479 1477 pcSlice->setActiveNumILRRefIdx( activeNumILRRefIdxTmp ); 1480 #endif 1478 1481 1479 if ( pcSlice->getActiveNumILRRefIdx() == 0 ) 1482 1480 {
Note: See TracChangeset for help on using the changeset viewer.