Ignore:
Timestamp:
6 Aug 2012, 05:35:11 (12 years ago)
Author:
lg
Message:

Implemented the Region boundary chain coding (A0070) and R/D selection between Non-Zero Residual and All-Zero Residual Intra Coding (A0087) with macro: "LGE_EDGE_INTRA" and "LG_ZEROINTRADEPTHRESI_M26039"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-3.1-LG/source/Lib/TLibCommon/TComDepthMapGenerator.cpp

    r95 r97  
    831831TComDepthMapGenerator::getDisCanPdmMvPred    ( TComDataCU*   pcCU, UInt uiPartIdx, RefPicList eRefPicList, Int iRefIdx, TComMv& rcMv, DisInfo* pDInfo, Bool bMerge )
    832832{
     833#if USE_DVMCP
     834  rcMv.m_bDvMcp = false;
     835#endif
    833836  AOF  ( m_bCreated && m_bInit );
    834837  AOF  ( iRefIdx >= 0 );
     
    892895      {
    893896        rcMv.set( cBaseMvField.getHor(), cBaseMvField.getVer() );
     897#if USE_DVMCP
     898        // save disparity vector when a merge candidate for IVMP is set as DV-MCP
     899        if( bMerge )
     900        {
     901          rcMv.m_bDvMcp = true;
     902          rcMv.m_iDvMcpDispX = pDInfo->m_acMvCand[0].getHor();
     903        }
     904        else { // AMVP ?
     905          rcMv.m_bDvMcp = false;
     906        }
     907#endif
    894908        return true;
    895909      }
Note: See TracChangeset for help on using the changeset viewer.