Changeset 95 in SHVCSoftware for branches/HM-10.0-dev-SHM/source/Lib/TLibEncoder


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/TLibEncoder
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 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.