Ignore:
Timestamp:
15 Feb 2012, 18:58:36 (13 years ago)
Author:
hschwarz
Message:

HHI+Sony modifications

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.2-HHI/source/Lib/TLibCommon/TComResidualGenerator.cpp

    r5 r20  
    432432
    433433  //===== get disparity =====
    434   Int           iMidPosX    = Int( uiXPos + ( ( uiBlkWidth  - 1 ) >> 1 ) );
    435   Int           iMidPosY    = Int( uiYPos + ( ( uiBlkHeight - 1 ) >> 1 ) );
     434  Int           iMidPosX    = Int( uiXPos + ( ( uiBlkWidth  - 1 ) >> 1 ) ) >> m_pcDepthMapGenerator->getSubSampExpX();
     435  Int           iMidPosY    = Int( uiYPos + ( ( uiBlkHeight - 1 ) >> 1 ) ) >> m_pcDepthMapGenerator->getSubSampExpY();
    436436  Int           iDisparity  = m_pcDepthMapGenerator->getDisparity( pcPic, iMidPosX, iMidPosY, uiBaseViewId );
    437437
Note: See TracChangeset for help on using the changeset viewer.