Changeset 43 in SHVCSoftware for branches/SHM-1.1-dev/source/Lib/TLibCommon
- Timestamp:
- 21 Feb 2013, 01:11:48 (12 years ago)
- Location:
- branches/SHM-1.1-dev/source/Lib/TLibCommon
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-1.1-dev/source/Lib/TLibCommon/TComPic.cpp
r38 r43 565 565 UInt uiBaseWidth = getPicYuvRec()->getWidth(); 566 566 UInt uiBaseHeight = getPicYuvRec()->getHeight(); 567 567 568 568 UInt uiWidthInCU = ( uiBaseWidth % g_uiMaxCUWidth ) ? uiBaseWidth /g_uiMaxCUWidth + 1 : uiBaseWidth /g_uiMaxCUWidth; 569 570 #if MFM_CLIPPING_FIX 571 uiPelX = (UInt)Clip3<UInt>(0, getPicYuvRec()->getWidth() - 1, uiPelX); 572 uiPelY = (UInt)Clip3<UInt>(0, getPicYuvRec()->getHeight() - 1, uiPelY); 573 #else 569 574 UInt uiHeightInCU = ( uiBaseHeight% g_uiMaxCUHeight ) ? uiBaseHeight/ g_uiMaxCUHeight + 1 : uiBaseHeight/ g_uiMaxCUHeight; 570 575 571 576 uiPelX = (UInt)Clip3<UInt>(0, uiWidthInCU * g_uiMaxCUWidth - 1, uiPelX); 572 577 uiPelY = (UInt)Clip3<UInt>(0, uiHeightInCU * g_uiMaxCUHeight - 1, uiPelY); 578 #endif 573 579 574 580 uiBaseCUAddr = uiPelY / g_uiMaxCUHeight * uiWidthInCU + uiPelX / g_uiMaxCUWidth; -
branches/SHM-1.1-dev/source/Lib/TLibCommon/TypeDef.h
r40 r43 55 55 56 56 #define MV_SCALING_FIX 1 ///< fixing the base layer MV scaling 57 #define MFM_CLIPPING_FIX 1 ///< set the right picture size for the clipping 57 58 58 59 #define AVC_BASE 1 ///< YUV BL reading for AVC base SVC 59 #define REF_IDX_FRAMEWORK 0///< inter-layer reference framework60 #define REF_IDX_FRAMEWORK 1 ///< inter-layer reference framework 60 61 61 62 #if AVC_BASE
Note: See TracChangeset for help on using the changeset viewer.