Changeset 849 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibCommon/TComDataCU.cpp
- Timestamp:
- 29 Jul 2014, 14:03:05 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComDataCU.cpp
r828 r849 3509 3509 #endif 3510 3510 3511 #if MOVE_SCALED_OFFSET_TO_PPS 3512 #if O0098_SCALED_REF_LAYER_ID 3513 Int leftStartL = baseColPic->getSlice(0)->getPPS()->getScaledRefLayerWindowForLayer(baseColPic->getSlice(0)->getVPS()->getRefLayerId(getSlice()->getLayerId(), refLayerIdc)).getWindowLeftOffset(); 3514 Int topStartL = baseColPic->getSlice(0)->getPPS()->getScaledRefLayerWindowForLayer(baseColPic->getSlice(0)->getVPS()->getRefLayerId(getSlice()->getLayerId(), refLayerIdc)).getWindowTopOffset(); 3515 #else 3516 Int leftStartL = baseColPic->getSlice(0)->getPPS()->getScaledRefLayerWindow(refLayerIdc).getWindowLeftOffset(); 3517 Int topStartL = baseColPic->getSlice(0)->getPPS()->getScaledRefLayerWindow(refLayerIdc).getWindowTopOffset(); 3518 #endif 3519 #else 3511 3520 #if O0098_SCALED_REF_LAYER_ID 3512 3521 Int leftStartL = baseColPic->getSlice(0)->getSPS()->getScaledRefLayerWindowForLayer(baseColPic->getSlice(0)->getVPS()->getRefLayerId(getSlice()->getLayerId(), refLayerIdc)).getWindowLeftOffset(); … … 3516 3525 Int topStartL = baseColPic->getSlice(0)->getSPS()->getScaledRefLayerWindow(refLayerIdc).getWindowTopOffset(); 3517 3526 #endif 3518 3527 #endif 3528 3529 #if REF_REGION_OFFSET 3530 const Window &windowRL = baseColPic->getSlice(0)->getPPS()->getRefLayerWindow(refLayerIdc); 3531 Int iBX = (((uiPelX - leftStartL)*g_posScalingFactor[refLayerIdc][0] + (1<<15)) >> 16) + windowRL.getWindowLeftOffset(); 3532 Int iBY = (((uiPelY - topStartL )*g_posScalingFactor[refLayerIdc][1] + (1<<15)) >> 16) + windowRL.getWindowTopOffset(); 3533 #else 3519 3534 #if Q0200_CONFORMANCE_BL_SIZE 3520 3535 Int chromaFormatIdc = baseColPic->getSlice(0)->getChromaFormatIdc(); … … 3525 3540 Int iBY = ((uiPelY - topStartL )*g_posScalingFactor[refLayerIdc][1] + (1<<15)) >> 16; 3526 3541 #endif 3542 #endif 3527 3543 3528 3544 #if REF_IDX_MFM
Note: See TracChangeset for help on using the changeset viewer.