- Timestamp:
- 2 May 2013, 19:28:50 (12 years ago)
- Location:
- branches/SHM-2.0-dev/source/Lib/TLibCommon
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-2.0-dev/source/Lib/TLibCommon/TComDataCU.cpp
r139 r141 4245 4245 cMv = rcMvFieldBase.getMv().scaleMv( g_mvScalingFactor[m_layerId][0], g_mvScalingFactor[m_layerId][1] ); 4246 4246 #else 4247 #if MV_SCALING_FIX4248 4247 const Window &confBL = m_pcSlice->getBaseColPic()->getPicYuvRec()->getConformanceWindow(); 4249 4248 const Window &confEL = m_pcPic->getPicYuvRec()->getConformanceWindow(); … … 4254 4253 Int widthEL = m_pcPic->getPicYuvRec()->getWidth() - confEL.getWindowLeftOffset() - confEL.getWindowRightOffset(); 4255 4254 Int heightEL = m_pcPic->getPicYuvRec()->getHeight() - confEL.getWindowTopOffset() - confEL.getWindowBottomOffset(); 4256 #else4257 Int widthBL = m_pcSlice->getBaseColPic()->getPicYuvRec()->getWidth();4258 Int heightBL = m_pcSlice->getBaseColPic()->getPicYuvRec()->getHeight();4259 4260 Int widthEL = m_pcPic->getPicYuvRec()->getWidth();4261 Int heightEL = m_pcPic->getPicYuvRec()->getHeight();4262 #endif4263 4255 4264 4256 Int iMvX = (rcMvFieldBase.getHor()*widthEL + (widthBL/2 -1) * (rcMvFieldBase.getHor() > 0 ? 1: -1) )/widthBL; -
branches/SHM-2.0-dev/source/Lib/TLibCommon/TypeDef.h
r140 r141 62 62 #define CHROMA_UPSAMPLING 1 ///< L0335: Chroma upsampling with 5 bits coefficients 63 63 64 #define MV_SCALING_FIX 1 ///< fixing the base layer MV scaling65 64 #define MV_SCALING_POS_FIX 1 ///< use center pixels to get co-located base layer block 66 65 #define SIMPLIFIED_MV_POS_SCALING 1 ///< M0133/M0449: inter-layer MV scaling and pixel mapping position calculation
Note: See TracChangeset for help on using the changeset viewer.