Changeset 661 in SHVCSoftware for branches/SHM-6-dev
- Timestamp:
- 10 Apr 2014, 01:48:50 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-6-dev/source/Lib/TLibCommon/TComDataCU.cpp
r656 r661 3507 3507 if( iMotionMapping == 1 ) 3508 3508 { 3509 iBX += 4;3510 iB Y +=4;3511 }3512 #endif 3513 3514 if ( iBX >= baseColPic->getPicYuvRec()->getWidth() || iBY >= baseColPic->getPicYuvRec()->getHeight() || 3515 iBX < 0 || iBY < 0)3509 // actually, motion field compression is performed in the Void TComPic::compressMotion() function, but with (+4) the rounding may have effect on the picture boundary check. 3510 iBX = ( ( iBX + 4 ) >> 4 ) << 4; 3511 iBY = ( ( iBY + 4 ) >> 4 ) << 4; 3512 } 3513 #endif 3514 3515 if ( iBX < 0 || iBX >= baseColPic->getPicYuvRec()->getWidth() || iBY < 0 || iBY >= baseColPic->getPicYuvRec()->getHeight() ) 3516 3516 { 3517 3517 return NULL;
Note: See TracChangeset for help on using the changeset viewer.