Ignore:
Timestamp:
2 May 2013, 05:22:59 (12 years ago)
Author:
qualcomm
Message:

JCT3V-D0181

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-6.2-dev2-Qualcomm/source/Lib/TLibEncoder/TEncCu.cpp

    r332 r351  
    591591      }
    592592#endif
    593 
     593#if QC_CU_NBDV_D0181
     594      DisInfo DvInfo;
     595      DvInfo.bDV = false;
     596      if( rpcTempCU->getSlice()->getSliceType() != I_SLICE )
     597      {
     598        if(( rpcTempCU->getSlice()->getSPS()->getMultiviewMvPredMode() || rpcTempCU->getSlice()->getSPS()->getMultiviewResPredMode()) && rpcTempCU->getSlice()->getViewId())
     599        { 
     600          PartSize ePartTemp = rpcTempCU->getPartitionSize(0);
     601          rpcTempCU->setPartSizeSubParts( SIZE_2Nx2N, 0, uiDepth );     
     602#if MERL_VSP_C0152
     603          DvInfo.bDV = rpcTempCU->getDisMvpCandNBDV(0, 0, &DvInfo, false, true);
     604#else
     605          DvInfo.bDV = rpcTempCU->getDisMvpCandNBDV(0, 0, &DvInfo, false);
     606#endif
     607          rpcTempCU->setDvInfoSubParts(DvInfo, 0, uiDepth);
     608          rpcBestCU->setDvInfoSubParts(DvInfo, 0, uiDepth);
     609          rpcTempCU->setPartSizeSubParts( ePartTemp, 0, uiDepth );
     610        }
     611        if(DvInfo.bDV==false)
     612        {
     613          DvInfo.iN=1;
     614          DvInfo.m_acMvCand[0].setHor(0);
     615          DvInfo.m_acMvCand[0].setVer(0);
     616          DvInfo.m_aVIdxCan[0] = 0;
     617          rpcTempCU->setDvInfoSubParts(DvInfo, 0, uiDepth);
     618          rpcBestCU->setDvInfoSubParts(DvInfo, 0, uiDepth);
     619         }
     620       }
     621#endif
    594622      // do inter modes, SKIP and 2Nx2N
    595623      if( rpcBestCU->getSlice()->getSliceType() != I_SLICE )
Note: See TracChangeset for help on using the changeset viewer.