Changeset 96 in SHVCSoftware


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

small clean up

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

Legend:

Unmodified
Added
Removed
  • branches/HM-10.0-dev-SHM/source/App/TAppEncoder/TAppEncTop.cpp

    r90 r96  
    110110
    111111#if REF_IDX_MFM
    112     if(layer == 0)
    113     {
    114       m_acTEncTop[layer].setMFMEnabledFlag(false);
    115     }
    116     else
    117     {
    118       m_acTEncTop[layer].setMFMEnabledFlag(true);
    119     }
     112    m_acTEncTop[layer].setMFMEnabledFlag(layer == 0 ? false : true);
    120113#endif
    121114    // set layer ID
  • branches/HM-10.0-dev-SHM/source/Lib/TLibEncoder/TEncSearch.cpp

    r95 r96  
    62186218    Bool foundILR    = false;
    62196219    for( Int refIdx = 0; refIdx < pcCU->getSlice()->getNumRefIdx(eRefPicList); refIdx++ )
     6220    {
    62206221      if( pcCU->getSlice()->getRefPic(eRefPicList, refIdx)->isILR() )
    62216222      {
     
    62246225        break;
    62256226      }
     6227    }
    62266228
    62276229    if(!foundILR)  //no ILR in eRefPiclist
     6230    {
    62286231      continue; 
     6232    }
    62296233
    62306234    uiBitsTemp = uiMbBits[iRefList];
     
    62576261
    62586262  if( uiCost[0] == MAX_UINT && uiCost[1] == MAX_UINT )  //no ILR in both list0 and list1
     6263  {
    62596264    return false;
     6265  }
    62606266
    62616267  //  Clear Motion Field
     
    62976303  }
    62986304  else
     6305  {
    62996306    assert(0);
     6307  }
    63006308
    63016309  pcCU->setMergeFlagSubParts( false, uiPartAddr, iPartIdx, pcCU->getDepth( uiPartAddr ) );
Note: See TracChangeset for help on using the changeset viewer.