diff --git a/SHM/source/Lib/TLibCommon/TComUpsampleFilter.cpp b/SHM/source/Lib/TLibCommon/TComUpsampleFilter.cpp
old mode 100644
new mode 100755
index 8ce187c..6142600
a
|
b
|
Void TComUpsampleFilter::upsampleBasePic( TComSlice* currSlice, UInt refLayerIdc |
67 | 67 | Int bitDepthChroma = currSlice->getSPS()->getBitDepth(CHANNEL_TYPE_CHROMA); |
68 | 68 | |
69 | 69 | //========== Y component upsampling =========== |
70 | | Int widthBL = pcBasePic->getWidth (COMPONENT_Y); |
71 | | Int heightBL = pcBasePic->getHeight(COMPONENT_Y); |
| 70 | Int widthBL = pcBasePic->getWidth(COMPONENT_Y) - windowRL.getWindowLeftOffset() - windowRL.getWindowRightOffset(); |
| 71 | Int heightBL = pcBasePic->getHeight(COMPONENT_Y) - windowRL.getWindowTopOffset() - windowRL.getWindowBottomOffset(); |
72 | 72 | Int strideBL = pcBasePic->getStride(COMPONENT_Y); |
73 | 73 | |
74 | 74 | Int widthEL = pcUsPic->getWidth (COMPONENT_Y) - scalEL.getWindowLeftOffset() - scalEL.getWindowRightOffset(); |
… |
… |
Void TComUpsampleFilter::upsampleBasePic( TComSlice* currSlice, UInt refLayerIdc |
100 | 100 | else |
101 | 101 | { |
102 | 102 | #endif |
103 | | Int refRegionHeight = heightBL - windowRL.getWindowTopOffset() - windowRL.getWindowBottomOffset(); |
| 103 | Int refRegionHeight = heightBL /* - windowRL.getWindowTopOffset() - windowRL.getWindowBottomOffset()*/; |
104 | 104 | phaseVerChroma = (4 * heightEL + (refRegionHeight >> 1)) / refRegionHeight - 4; |
105 | 105 | #if SCALABLE_REXT |
106 | 106 | } |