Changeset 388 in SHVCSoftware
- Timestamp:
- 9 Sep 2013, 20:18:50 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-3.1-dev/source/Lib/TLibCommon/TComUpsampleFilter.cpp
r372 r388 156 156 if( scaleX == 65536 && scaleY == 65536 ) // ratio 1x 157 157 { 158 piSrcY = piSrcBufY - scalEL.getWindowLeftOffset() - scalEL.getWindowTopOffset() * strideEL;159 piDstY = piDstBufY ;160 for( i = 0; i < height EL; i++ )158 piSrcY = piSrcBufY; 159 piDstY = piDstBufY + scalEL.getWindowLeftOffset() + scalEL.getWindowTopOffset() * strideEL; 160 for( i = 0; i < heightBL; i++ ) 161 161 { 162 162 memcpy( piDstY, piSrcY, sizeof(Pel) * widthBL ); … … 174 174 strideEL = pcUsPic->getCStride(); 175 175 176 piSrcU = piSrcBufU - ( scalEL.getWindowLeftOffset() >> 1 ) - ( scalEL.getWindowTopOffset() >> 1 ) * strideEL;177 piSrcV = piSrcBufV - ( scalEL.getWindowLeftOffset() >> 1 ) - ( scalEL.getWindowTopOffset() >> 1 ) * strideEL;178 179 piDstU = piDstBufU ;180 piDstV = piDstBufV ;181 182 for( i = 0; i < height EL; i++ )176 piSrcU = piSrcBufU; 177 piSrcV = piSrcBufV; 178 179 piDstU = piDstBufU + ( scalEL.getWindowLeftOffset() >> 1 ) + ( scalEL.getWindowTopOffset() >> 1 ) * strideEL; 180 piDstV = piDstBufV + ( scalEL.getWindowLeftOffset() >> 1 ) + ( scalEL.getWindowTopOffset() >> 1 ) * strideEL; 181 182 for( i = 0; i < heightBL; i++ ) 183 183 { 184 184 memcpy( piDstU, piSrcU, sizeof(Pel) * widthBL ); … … 623 623 #endif 624 624 } 625 625 } 626 626 pcUsPic->setBorderExtension(false); 627 627 pcUsPic->extendPicBorder (); // extend the border. … … 631 631 pcTempPic->setBorderExtension(false); 632 632 pcBasePic->setBorderExtension(false); 633 }634 633 } 635 634 #endif //SVC_EXTENSION
Note: See TracChangeset for help on using the changeset viewer.