Changeset 166 in SHVCSoftware for branches/SHM-2.0-dev/source
- Timestamp:
- 9 May 2013, 00:22:09 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-2.0-dev/source/Lib/TLibCommon/TComUpsampleFilter.cpp
r125 r166 330 330 #endif 331 331 332 #if ILP_DECODED_PICTURE 333 widthBL = pcBasePic->getWidth (); 334 heightBL = pcBasePic->getHeight(); 335 336 widthEL = pcUsPic->getWidth (); 337 heightEL = pcUsPic->getHeight(); 338 #endif 339 332 340 //========== horizontal upsampling =========== 333 341 for( i = 0; i < widthEL; i++ ) … … 391 399 } 392 400 401 #if ILP_DECODED_PICTURE 402 widthBL = pcBasePic->getWidth () - confBL.getWindowLeftOffset() - confBL.getWindowRightOffset(); 403 heightBL = pcBasePic->getHeight() - confBL.getWindowTopOffset() - confBL.getWindowBottomOffset(); 404 405 widthEL = pcUsPic->getWidth () - confEL.getWindowLeftOffset() - confEL.getWindowRightOffset(); 406 heightEL = pcUsPic->getHeight() - confEL.getWindowTopOffset() - confEL.getWindowBottomOffset(); 407 #endif 408 393 409 //========== UV component upsampling =========== 394 410 … … 420 436 scaleX = ( ( widthBL << shiftX ) + ( widthEL >> 1 ) ) / widthEL; 421 437 scaleY = ( ( heightBL << shiftY ) + ( heightEL >> 1 ) ) / heightEL; 438 #endif 439 440 #if ILP_DECODED_PICTURE 441 widthBL = pcBasePic->getWidth () >> 1; 442 heightBL = pcBasePic->getHeight() >> 1; 443 444 widthEL = pcUsPic->getWidth () >> 1; 445 heightEL = pcUsPic->getHeight() >> 1; 422 446 #endif 423 447
Note: See TracChangeset for help on using the changeset viewer.