Changeset 1141 in SHVCSoftware for branches/SHM-dev/source/Lib


Ignore:
Timestamp:
7 Jul 2015, 23:29:44 (9 years ago)
Author:
seregin
Message:

macro cleanup: O0225_TID_BASED_IL_RPS_DERIV

Location:
branches/SHM-dev/source/Lib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h

    r1140 r1141  
    149149#define MAX_ONE_RESAMPLING_DIRECT_LAYERS 1      ///< Allow maximum of one resampling process for direct reference layers
    150150#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     1
    152151#define VPS_TSLAYERS                     1      ///< JCTVC-O0120 signal max temporal sub-layers for each layer
    153152#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  
    15711571        else
    15721572        {
    1573 #if O0225_TID_BASED_IL_RPS_DERIV
    15741573          Int refLayerId = pcSlice->getVPS()->getRefLayerId(pcSlice->getLayerId(), 0);
    15751574          Int refLayerIdx = pcSlice->getVPS()->getLayerIdxInVps(refLayerId);
     
    15821581#endif
    15831582          {
    1584 #endif
    15851583            pcSlice->setActiveNumILRRefIdx(1);
    15861584            pcSlice->setInterLayerPredLayerIdc(0, 0);
    1587 #if O0225_TID_BASED_IL_RPS_DERIV
    15881585          }
    1589 #endif
    15901586        }
    15911587      }
     
    15951591      pcSlice->setInterLayerPredEnabledFlag(true);
    15961592
    1597 #if O0225_TID_BASED_IL_RPS_DERIV
    15981593      Int   numRefLayerPics = 0;
    15991594      Int   i = 0;
     
    16171612        pcSlice->setInterLayerPredLayerIdc(refLayerPicIdc[i], i);
    16181613      }
    1619 #else
    1620       pcSlice->setActiveNumILRRefIdx(pcSlice->getNumILRRefIdx());
    1621       for( Int i = 0; i < pcSlice->getActiveNumILRRefIdx(); i++ )
    1622       {
    1623         pcSlice->setInterLayerPredLayerIdc(i,i);
    1624       }
    1625 #endif
    16261614    }
    16271615#endif //SVC_EXTENSION
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp

    r1131 r1141  
    14491449        }
    14501450#endif
    1451 #if SVC_EXTENSION
     1451
    14521452        if( pcPic->isSpatialEnhLayer(refLayerIdc) )
    14531453        {
     
    14671467        }
    14681468        pcSlice->setFullPelBaseRec ( refLayerIdc, pcPic->getFullPelBaseRec(refLayerIdc) );
    1469 #endif //SVC_EXTENSION
    14701469      }
    14711470
     
    14761475      }
    14771476
    1478 #if !O0225_TID_BASED_IL_RPS_DERIV || Q0060_MAX_TID_REF_EQUAL_TO_ZERO
    14791477      pcSlice->setActiveNumILRRefIdx( activeNumILRRefIdxTmp );
    1480 #endif
     1478
    14811479      if ( pcSlice->getActiveNumILRRefIdx() == 0 )
    14821480      {
Note: See TracChangeset for help on using the changeset viewer.