Ignore:
Timestamp:
23 Sep 2013, 08:46:50 (11 years ago)
Author:
chang
Message:

Added H_3D_FCO for flexible coding order (FCO).
The results can be seen under codingresults/3D_8.1_vs_fco_only.xls.
The configuration files for FCO are located at cfg/3D-HEVC/NonCTC/fco.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-8.2-dev0-MediaTek/source/Lib/TLibCommon/TComPrediction.cpp

    r622 r629  
    731731  // Get depth reference
    732732  Int       depthRefViewIdx = pcCU->getDvInfo(uiPartAddr).m_aVIdxCan;
     733#if H_3D_FCO_VSP_DONBDV
     734  TComPic* pRefPicBaseDepth = 0;
     735  Bool     bIsCurrDepthCoded = false;
     736  pRefPicBaseDepth  = pcCU->getSlice()->getIvPic( true, pcCU->getSlice()->getViewIndex() );
     737  if ( pRefPicBaseDepth->getPicYuvRec() != NULL  )
     738  {
     739    bIsCurrDepthCoded = true;
     740  }
     741  else
     742  {
     743    pRefPicBaseDepth = pcCU->getSlice()->getIvPic (true, depthRefViewIdx );
     744  }
     745#else
    733746  TComPic* pRefPicBaseDepth = pcCU->getSlice()->getIvPic (true, depthRefViewIdx );
     747#endif
    734748  assert(pRefPicBaseDepth != NULL);
    735749  TComPicYuv* pcBaseViewDepthPicYuv = pRefPicBaseDepth->getPicYuvRec();
     
    751765  TComMv cDv  = pcCU->getDvInfo(uiPartAddr).m_acNBDV;
    752766  pcCU->clipMv(cDv);
     767
     768#if H_3D_FCO_VSP_DONBDV
     769  if ( bIsCurrDepthCoded )
     770  {
     771      cDv.setZero();
     772  }
     773#endif
    753774
    754775#if NTT_VSP_COMMON_E0207_E0208
Note: See TracChangeset for help on using the changeset viewer.