Changeset 95 in SHVCSoftware for branches


Ignore:
Timestamp:
22 Mar 2013, 23:05:09 (12 years ago)
Author:
seregin
Message:

rename getIsILR to isILR

Location:
branches/HM-10.0-dev-SHM/source/Lib
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • branches/HM-10.0-dev-SHM/source/Lib/TLibCommon/TComDataCU.cpp

    r77 r95  
    18351835  {
    18361836    Int refIdxL0 = cMvFieldL0.getRefIdx();
    1837     if(getSlice()->getRefPic(REF_PIC_LIST_0, refIdxL0)->getIsILR())
     1837    if(getSlice()->getRefPic(REF_PIC_LIST_0, refIdxL0)->isILR())
    18381838    {
    18391839      checkZeroMVILR &= (cMvFieldL0.getHor() == 0 && cMvFieldL0.getVer() == 0);
     
    18431843  {
    18441844    Int refIdxL1  = cMvFieldL1.getRefIdx();
    1845     if(getSlice()->getRefPic(REF_PIC_LIST_1, refIdxL1)->getIsILR())
     1845    if(getSlice()->getRefPic(REF_PIC_LIST_1, refIdxL1)->isILR())
    18461846    {
    18471847      checkZeroMVILR &= (cMvFieldL1.getHor() == 0 && cMvFieldL1.getVer() == 0);
     
    18591859  Bool checkZeroMVILR = true;
    18601860
    1861   if(getSlice()->getRefPic(eRefPicList, iRefIdx)->getIsILR())
     1861  if(getSlice()->getRefPic(eRefPicList, iRefIdx)->isILR())
    18621862  {
    18631863    AMVPInfo* pcAMVPInfo = getCUMvField(eRefPicList)->getAMVPInfo();
  • branches/HM-10.0-dev-SHM/source/Lib/TLibCommon/TComPic.h

    r86 r95  
    124124#endif
    125125#if REF_IDX_ME_ZEROMV || ENCODER_FAST_MODE || REF_IDX_MFM
    126   Bool          getIsILR( UInt refLayer = 0 )   {return (getIsLongTerm() && m_layerId == refLayer);}
     126  Bool          isILR( UInt refLayer = 0 )   {return (getIsLongTerm() && m_layerId == refLayer);}
    127127#endif
    128128
  • branches/HM-10.0-dev-SHM/source/Lib/TLibCommon/TComPrediction.cpp

    r93 r95  
    495495
    496496#if REF_IDX_ME_ZEROMV
    497   assert( ( pcCU->getSlice()->getRefPic(eRefPicList, iRefIdx)->getIsILR() && cMv.getHor() == 0 && cMv.getVer() == 0 ) || pcCU->getSlice()->getRefPic(eRefPicList, iRefIdx)->getIsILR() == false );
     497  assert( ( pcCU->getSlice()->getRefPic(eRefPicList, iRefIdx)->isILR() && cMv.getHor() == 0 && cMv.getVer() == 0 ) || pcCU->getSlice()->getRefPic(eRefPicList, iRefIdx)->isILR() == false );
    498498#endif
    499499
  • branches/HM-10.0-dev-SHM/source/Lib/TLibCommon/TypeDef.h

    r89 r95  
    5757
    5858#define AVC_BASE                         0      ///< YUV BL reading for AVC base SVC
    59 #define REF_IDX_FRAMEWORK                0      ///< inter-layer reference framework
     59#define REF_IDX_FRAMEWORK                1      ///< inter-layer reference framework
    6060
    6161#if SVC_UPSAMPLING
  • branches/HM-10.0-dev-SHM/source/Lib/TLibEncoder/TEncGOP.cpp

    r91 r95  
    571571      for(Int colIdx = 0; colIdx < pcSlice->getNumRefIdx( RefPicList(1 - ColFromL0Flag) ); colIdx++)
    572572      {
    573         if( pcSlice->getRefPic( RefPicList(1 - ColFromL0Flag), colIdx)->getIsILR() )
     573        if( pcSlice->getRefPic( RefPicList(1 - ColFromL0Flag), colIdx)->isILR() )
    574574        {
    575575          ColRefIdx = colIdx;
     
    584584        for(Int colIdx = 0; colIdx < pcSlice->getNumRefIdx( RefPicList(1 - ColFromL0Flag) ); colIdx++)
    585585        {
    586           if( pcSlice->getRefPic( RefPicList(1 - ColFromL0Flag), colIdx)->getIsILR() )
     586          if( pcSlice->getRefPic( RefPicList(1 - ColFromL0Flag), colIdx)->isILR() )
    587587          {
    588588            ColRefIdx = colIdx;
  • branches/HM-10.0-dev-SHM/source/Lib/TLibEncoder/TEncSearch.cpp

    r74 r95  
    32893289#if (ENCODER_FAST_MODE)
    32903290        TComPic* pcPic    = pcCU->getSlice()->getRefPic( eRefPicList, iRefIdxTemp );
    3291         if( !testILR && pcPic->getIsILR() && (ePartSize == SIZE_2Nx2N) )
     3291        if( !testILR && pcPic->isILR() && (ePartSize == SIZE_2Nx2N) )
    32923292        {
    32933293          continue;
     
    35333533        Bool     testIter = true;
    35343534        TComPic* pcPic    = pcCU->getSlice()->getRefPic( RefPicList(1 - iRefList), iRefIdxBi[1 - iRefList] );
    3535         if(pcPic->getIsILR() && (ePartSize == SIZE_2Nx2N))
     3535        if(pcPic->isILR() && (ePartSize == SIZE_2Nx2N))
     3536        {
    35363537          testIter = false;  //the fixed part is ILR, skip this iteration       
     3538        }
    35373539        if(testIter)
    35383540        {
     
    35443546        {
    35453547#if (ENCODER_FAST_MODE)
    3546             Bool testRefIdx = true;
    3547             pcPic           = pcCU->getSlice()->getRefPic( RefPicList(iRefList) , iRefIdxTemp );
    3548             if(pcPic->getIsILR() && (ePartSize == SIZE_2Nx2N))
    3549               testRefIdx = false;  //the refined part is ILR, skip this reference pic           
    3550             if(testRefIdx)
    3551             {
     3548          Bool testRefIdx = true;
     3549          pcPic           = pcCU->getSlice()->getRefPic( RefPicList(iRefList) , iRefIdxTemp );
     3550          if(pcPic->isILR() && (ePartSize == SIZE_2Nx2N))
     3551          {
     3552            testRefIdx = false;  //the refined part is ILR, skip this reference pic           
     3553          }
     3554          if(testRefIdx)
     3555          {
    35523556#endif
    35533557          uiBitsTemp = uiMbBits[2] + uiMotBits[1-iRefList];
     
    35853589          }
    35863590#if (ENCODER_FAST_MODE)
    3587             }
    3588 #endif
    35893591          }
     3592#endif
     3593        }
    35903594#if (ENCODER_FAST_MODE)
    35913595        } // for loop-iRefIdxTemp
     
    42084212  //  Do integer search
    42094213#if REF_IDX_ME_ZEROMV
    4210   if( pcCU->getSlice()->getRefPic( eRefPicList, iRefIdxPred )->getIsILR())  //ILR reference pic
     4214  if( pcCU->getSlice()->getRefPic( eRefPicList, iRefIdxPred )->isILR())  //ILR reference pic
    42114215  {
    42124216    rcMv.setZero();  //use Mv(0, 0) for integer ME
     
    42414245  {
    42424246#if REF_IDX_ME_ZEROMV
    4243     if( pcCU->getSlice()->getRefPic( eRefPicList, iRefIdxPred )->getIsILR())  //ILR reference pic
     4247    if( pcCU->getSlice()->getRefPic( eRefPicList, iRefIdxPred )->isILR())  //ILR reference pic
    42444248    {
    42454249      xPatternSearchFracDIFMv0( pcCU, pcPatternKey, piRefY, iRefStride, &rcMv, cMvHalf, cMvQter, ruiCost, bBi );
     
    62146218    Bool foundILR    = false;
    62156219    for( Int refIdx = 0; refIdx < pcCU->getSlice()->getNumRefIdx(eRefPicList); refIdx++ )
    6216       if( pcCU->getSlice()->getRefPic(eRefPicList, refIdx)->getIsILR() )
     6220      if( pcCU->getSlice()->getRefPic(eRefPicList, refIdx)->isILR() )
    62176221      {
    62186222        iRefIdxTemp = refIdx;
Note: See TracChangeset for help on using the changeset viewer.