Changeset 34 in SHVCSoftware for branches/SHM-1.0-dev/source/Lib/TLibEncoder


Ignore:
Timestamp:
8 Feb 2013, 00:16:24 (12 years ago)
Author:
seregin
Message:

Merge with trunk

Location:
branches/SHM-1.0-dev/source
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-1.0-dev/source

  • TabularUnified branches/SHM-1.0-dev/source/Lib/TLibEncoder/TEncCu.cpp

    r32 r34  
    13521352    {
    13531353#if REF_IDX_ME_ZEROMV
    1354     Bool bZeroMVILR = rpcTempCU->xCheckZeroMVILRMerge(uhInterDirNeighbours[uiMergeCand], cMvFieldNeighbours[0 + 2*uiMergeCand], cMvFieldNeighbours[1 + 2*uiMergeCand]);
    1355     if(bZeroMVILR)
    1356     {
     1354      Bool bZeroMVILR = rpcTempCU->xCheckZeroMVILRMerge(uhInterDirNeighbours[uiMergeCand], cMvFieldNeighbours[0 + 2*uiMergeCand], cMvFieldNeighbours[1 + 2*uiMergeCand]);
     1355      if(bZeroMVILR)
     1356      {
    13571357#endif
    13581358        if(!(uiNoResidual==1 && mergeCandBuffer[uiMergeCand]==1))
     
    14081408    }
    14091409#if REF_IDX_ME_ZEROMV
    1410   }
     1410      }
    14111411#endif
    14121412   }
  • TabularUnified branches/SHM-1.0-dev/source/Lib/TLibEncoder/TEncSearch.cpp

    r32 r34  
    34293429        {
    34303430#if REF_IDX_ME_ZEROMV
    3431       Bool bZeroMVILR = pcCU->xCheckZeroMVILRMvdL1Zero(iRefList, iRefIdxTemp, aaiMvpIdx[iRefList][iRefIdxTemp]);
    3432       if(bZeroMVILR)
    3433       {
     3431          Bool bZeroMVILR = pcCU->xCheckZeroMVILRMvdL1Zero(iRefList, iRefIdxTemp, aaiMvpIdx[iRefList][iRefIdxTemp]);
     3432          if(bZeroMVILR)
     3433          {
    34343434#endif
    34353435          bestBiPDist = biPDistTemp;
     
    34373437          bestBiPRefIdxL1 = iRefIdxTemp;
    34383438#if REF_IDX_ME_ZEROMV
    3439       }
     3439          }
    34403440#endif
    34413441        }
     
    35773577    //  Bi-directional prediction
    35783578#if REF_IDX_ME_ZEROMV
    3579   if ( (pcCU->getSlice()->isInterB()) && (pcCU->isBipredRestriction(iPartIdx) == false) && !(pcCU->getSlice()->getMvdL1ZeroFlag() && bestBiPDist == MAX_INT) )
     3579    if ( (pcCU->getSlice()->isInterB()) && (pcCU->isBipredRestriction(iPartIdx) == false) && !(pcCU->getSlice()->getMvdL1ZeroFlag() && bestBiPDist == MAX_INT) )
    35803580#else
    35813581    if ( (pcCU->getSlice()->isInterB()) && (pcCU->isBipredRestriction(iPartIdx) == false) )
     
    45114511#if REF_IDX_ME_ZEROMV
    45124512  if( pcCU->getSlice()->getRefPic( eRefPicList, iRefIdxPred )->getIsILR())  //ILR reference pic
     4513  {
    45134514    rcMv.setZero();  //use Mv(0, 0) for integer ME
     4515  }
    45144516  else  //non ILR reference pic
    45154517  {
     
    45434545#if REF_IDX_ME_ZEROMV
    45444546    if( pcCU->getSlice()->getRefPic( eRefPicList, iRefIdxPred )->getIsILR())  //ILR reference pic
     4547    {
    45454548      xPatternSearchFracDIFMv0( pcCU, pcPatternKey, piRefY, iRefStride, &rcMv, cMvHalf, cMvQter, ruiCost, bBi );
     4549    }
    45464550    else    //non ILR reference pic
     4551    {
    45474552      xPatternSearchFracDIF( pcCU, pcPatternKey, piRefY, iRefStride, &rcMv, cMvHalf, cMvQter, ruiCost, bBi );
     4553    }
    45484554#else
    45494555    xPatternSearchFracDIF( pcCU, pcPatternKey, piRefY, iRefStride, &rcMv, cMvHalf, cMvQter, ruiCost
     
    54475453#if NO_RESIDUAL_FLAG_FOR_BLPRED
    54485454      if(pcCU->isIntraBL(uiAbsPartIdx) )
     5455      {
    54495456        m_pcTrQuant->invtransformNxN( pcCU->getCUTransquantBypass(uiAbsPartIdx), TEXT_LUMA,DC_IDX, pcResiCurrY, m_pcQTTempTComYuv[uiQTTempAccessLayer].getStride(),  pcCoeffCurrY, trWidth, trHeight, scalingListType );//this is for inter mode only
     5457      }
    54505458      else
     5459      {
    54515460        m_pcTrQuant->invtransformNxN( pcCU->getCUTransquantBypass(uiAbsPartIdx), TEXT_LUMA,REG_DCT, pcResiCurrY, m_pcQTTempTComYuv[uiQTTempAccessLayer].getStride(),  pcCoeffCurrY, trWidth, trHeight, scalingListType );//this is for inter mode only
     5461      }
    54525462#else
    54535463      m_pcTrQuant->invtransformNxN( pcCU->getCUTransquantBypass(uiAbsPartIdx), TEXT_LUMA,REG_DCT, pcResiCurrY, m_pcQTTempTComYuv[uiQTTempAccessLayer].getStride(),  pcCoeffCurrY, trWidth, trHeight, scalingListType );//this is for inter mode only
     
    57935803#if NO_RESIDUAL_FLAG_FOR_BLPRED
    57945804        if(pcCU->isIntraBL(uiAbsPartIdx) )
     5805        {
    57955806          m_pcTrQuant->invtransformNxN( pcCU->getCUTransquantBypass(uiAbsPartIdx), TEXT_LUMA,DC_IDX, pcResiCurrY, m_pcQTTempTComYuv[uiQTTempAccessLayer].getStride(),  pcCoeffCurrY, trWidth, trHeight, scalingListType, true );
     5807        }
    57965808        else
     5809        {
    57975810          m_pcTrQuant->invtransformNxN( pcCU->getCUTransquantBypass(uiAbsPartIdx), TEXT_LUMA,REG_DCT, pcResiCurrY, m_pcQTTempTComYuv[uiQTTempAccessLayer].getStride(),  pcCoeffCurrY, trWidth, trHeight, scalingListType, true );
     5811        }
    57985812#else
    57995813        m_pcTrQuant->invtransformNxN( pcCU->getCUTransquantBypass(uiAbsPartIdx), TEXT_LUMA,REG_DCT, pcResiCurrY, m_pcQTTempTComYuv[uiQTTempAccessLayer].getStride(),  pcCoeffCurrY, trWidth, trHeight, scalingListType, true );
  • TabularUnified branches/SHM-1.0-dev/source/Lib/TLibEncoder/TEncTop.cpp

    r27 r34  
    402402        for (Int i=0; i<m_cIlpPic[j]->getPicSym()->getNumberOfCUsInFrame(); i++)
    403403        {
    404             m_cIlpPic[j]->getPicSym()->getCU(i)->initCU(m_cIlpPic[j], i);
     404          m_cIlpPic[j]->getPicSym()->getCU(i)->initCU(m_cIlpPic[j], i);
    405405        }
    406406      }
Note: See TracChangeset for help on using the changeset viewer.