Changeset 48 in SHVCSoftware for branches/SHM-1.1-dev/source/Lib/TLibCommon


Ignore:
Timestamp:
22 Feb 2013, 22:58:23 (12 years ago)
Author:
seregin
Message:

MV_SCALING_POS_FIX: use center pixel location to get a base layer co-located block

Location:
branches/SHM-1.1-dev/source/Lib/TLibCommon
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-1.1-dev/source/Lib/TLibCommon/TComDataCU.cpp

    r46 r48  
    29052905  if(m_layerId) 
    29062906  {
     2907#if MV_SCALING_POS_FIX
     2908    pcColCU = getBaseColCU( xP + nPSW/2, yP + nPSH/2, uiCUAddrBase, uiAbsPartAddrBase );
     2909#else
    29072910    UInt uiPartIdxCenter;
    29082911    xDeriveCenterIdx( cCurPS, uiPUIdx, uiPartIdxCenter );
    29092912    uiPartIdxCenter -= m_uiAbsIdxInLCU;
    29102913    pcColCU = getBaseColCU( uiPartIdxCenter, uiCUAddrBase, uiAbsPartAddrBase );
     2914#endif
    29112915   
    29122916#if INTRA_BL
  • branches/SHM-1.1-dev/source/Lib/TLibCommon/TypeDef.h

    r47 r48  
    5555
    5656#define MV_SCALING_FIX                   1      ///< fixing the base layer MV scaling
     57#define MV_SCALING_POS_FIX               1      ///< use center pixels to get co-located base layer block
    5758#define MFM_CLIPPING_FIX                 1      ///< set the right picture size for the clipping
    5859
Note: See TracChangeset for help on using the changeset viewer.