Changeset 1177 in 3DVCSoftware


Ignore:
Timestamp:
7 Apr 2015, 15:52:38 (10 years ago)
Author:
tech
Message:

Fix ViewId based inter-view motion vector scaling.

Location:
branches/HTM-13.1-dev0
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-13.1-dev0/source/Lib/TLibCommon/TComDataCU.cpp

    r1175 r1177  
    58045804  {
    58055805#if H_3D_TMVP
     5806#if !H_3D_FIX_TMVP_SCALING_VIEW_ID
    58065807    Int iCurrViewId    = m_pcSlice->getViewIndex ();
    58075808    Int iCurrRefViewId = m_pcSlice->getRefPic(eRefPicList, riRefIdx)->getViewIndex ();
    58085809    Int iColViewId     = pColCU->getSlice()->getViewIndex();
    58095810    Int iColRefViewId  = pColCU->getSlice()->getRefPic( eColRefPicList, pColCU->getCUMvField(eColRefPicList)->getRefIdx(uiAbsPartAddr))->getViewIndex();
     5811#else
     5812    Int iCurrViewId    = m_pcSlice->getViewId ();
     5813    Int iCurrRefViewId = m_pcSlice->getRefPic(eRefPicList, riRefIdx)->getViewId ();
     5814    Int iColViewId     = pColCU->getSlice()->getViewId();
     5815    Int iColRefViewId  = pColCU->getSlice()->getRefPic( eColRefPicList, pColCU->getCUMvField(eColRefPicList)->getRefIdx(uiAbsPartAddr))->getViewId();
     5816#endif
    58105817#if H_3D_TMVP_SCALING_FIX_K0053
    58115818    iScale = 4096;
  • branches/HTM-13.1-dev0/source/Lib/TLibCommon/TypeDef.h

    r1175 r1177  
    339339#define H_3D_TMVP_FIX_TICKET_97                1
    340340#define H_3D_DIRECT_DEP_TYPE                   1
     341#define H_3D_FIX_TMVP_SCALING_VIEW_ID          1
    341342#endif
    342343#define H_MV_FIX_REF_LAYER_PIC_FLAG            1
Note: See TracChangeset for help on using the changeset viewer.