Changeset 260 in SHVCSoftware for branches/SHM-2.1-multilayers-dev/source/Lib/TLibCommon
- Timestamp:
- 5 Jun 2013, 09:06:22 (12 years ago)
- Location:
- branches/SHM-2.1-multilayers-dev/source/Lib/TLibCommon
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-2.1-multilayers-dev/source/Lib/TLibCommon/TComSlice.cpp
r259 r260 576 576 m_activeNumILRRefIdx = numInterLayerRPSPics; 577 577 } 578 #if MAX_ONE_RESAMPLING_DIRECT_LAYERS 578 #if MAX_ONE_RESAMPLING_DIRECT_LAYERS && SIMPLIFIED_MV_POS_SCALING 579 579 if( m_pcVPS->getScalabilityMask(1) ) 580 580 { -
branches/SHM-2.1-multilayers-dev/source/Lib/TLibCommon/TComUpsampleFilter.cpp
r255 r260 127 127 Pel* piDstV; 128 128 129 #if SIMPLIFIED_MV_POS_SCALING 129 130 Int scaleX = g_posScalingFactor[refLayerIdc][0]; 130 131 Int scaleY = g_posScalingFactor[refLayerIdc][1]; 132 #else 133 Int scaleX = ( ( widthBL << shiftX ) + ( widthEL >> 1 ) ) / widthEL; 134 Int scaleY = ( ( heightBL << shiftY ) + ( heightEL >> 1 ) ) / heightEL; 135 #endif 131 136 132 137 if( scaleX == 65536 && scaleY == 65536 ) // ratio 1x … … 334 339 shiftYM4 = shiftY - 4; 335 340 341 #if !SIMPLIFIED_MV_POS_SCALING 342 scaleX = ( ( widthBL << shiftX ) + ( widthEL >> 1 ) ) / widthEL; 343 scaleY = ( ( heightBL << shiftY ) + ( heightEL >> 1 ) ) / heightEL; 344 #endif 345 336 346 #if ILP_DECODED_PICTURE 337 347 widthEL = pcUsPic->getWidth () >> 1;
Note: See TracChangeset for help on using the changeset viewer.