Changeset 593 in 3DVCSoftware for branches/HTM-DEV-2.0-dev1-Fix/source/Lib


Ignore:
Timestamp:
27 Aug 2013, 05:27:40 (11 years ago)
Author:
zhang
Message:

fixes of BVSP and VSO related issues, encapsulated by H_3D_FIX

Location:
branches/HTM-DEV-2.0-dev1-Fix/source/Lib/TLibCommon
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-DEV-2.0-dev1-Fix/source/Lib/TLibCommon/TComDataCU.cpp

    r590 r593  
    30273027#endif
    30283028        iRefListIdY = 1 - iRefListIdX;
     3029#if H_3D_BVSP_FIX
     3030        pcMvFieldNeighbours[(iCount<<1)+iRefListIdX].setMvField( pDInfo->m_acNBDV, i );
     3031#else
    30293032        pcMvFieldNeighbours[(iCount<<1)+iRefListIdX].setMvField( pDInfo->m_acDoNBDV, i );
     3033#endif
    30303034#if H_3D_NBDV
    30313035        pcMvFieldNeighbours[(iCount<<1)+iRefListIdX].getMv().setIDVFlag (false);
     
    30473051        predFlag[iRefListIdY] = 1;
    30483052#if MTK_VSP_FIX_E0172
     3053#if H_3D_BVSP_FIX
     3054        TComMv  cMv = pDInfo->m_acNBDV;
     3055#else
    30493056        TComMv  cMv = pDInfo->m_acDoNBDV;
     3057#endif
    30503058        otherViewId = m_pcSlice->getRefPic( eRefPicList, i)->getViewId();
    30513059        Int iScale = xGetDistScaleFactor( currViewId, otherViewId, currViewId, derivedViewId );
     
    30623070        pcMvFieldNeighbours[(iCount<<1)+iRefListIdY].setMvField( cMv, i );
    30633071#else
     3072#if H_3D_BVSP_FIX
     3073        pcMvFieldNeighbours[(iCount<<1)+iRefListIdY].setMvField( pDInfo->m_acNBDV, i );
     3074#else
    30643075        pcMvFieldNeighbours[(iCount<<1)+iRefListIdY].setMvField( pDInfo->m_acDoNBDV, i );
     3076#endif
    30653077#endif
    30663078#if H_3D_NBDV
  • branches/HTM-DEV-2.0-dev1-Fix/source/Lib/TLibCommon/TypeDef.h

    r590 r593  
    149149                                              // FIX_SDC_ENC_RD_WVSO_D0163
    150150                                              // MTK_SAMPLE_BASED_SDC_D0110
    151 
     151#define H_3D_FIX                             1
     152#if H_3D_FIX
     153#define H_3D_BVSP_FIX                        1  //DV from NBDV instead of DoNBDV should be used
     154#define FIX036                               1  // fix for ticket #36
     155#endif
    152156#endif
    153157
     
    430434
    431435#if H_3D_VSO_DIST_INT
     436#if FIX036
     437typedef       Int64            Dist;       ///< RDO distortion
     438#else
    432439typedef       Int              Dist;       ///< RDO distortion
     440#endif
    433441typedef       Int64            Dist64;
    434442#define       RDO_DIST_MIN     MIN_INT
Note: See TracChangeset for help on using the changeset viewer.