Changeset 40 in SHVCSoftware for branches/SHM-1.1-dev/source/Lib/TLibCommon/TComDataCU.cpp
- Timestamp:
- 20 Feb 2013, 23:45:18 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-1.1-dev/source/Lib/TLibCommon/TComDataCU.cpp
r38 r40 4933 4933 TComMv cMv; 4934 4934 4935 #if MV_SCALING_FIX 4936 Int iBWidth = m_pcSlice->getBaseColPic()->getPicYuvRec()->getWidth () - m_pcSlice->getBaseColPic()->getPicYuvRec()->getPicCropLeftOffset() - m_pcSlice->getBaseColPic()->getPicYuvRec()->getPicCropRightOffset(); 4937 Int iBHeight = m_pcSlice->getBaseColPic()->getPicYuvRec()->getHeight() - m_pcSlice->getBaseColPic()->getPicYuvRec()->getPicCropTopOffset() - m_pcSlice->getBaseColPic()->getPicYuvRec()->getPicCropBottomOffset(); 4938 4939 Int iEWidth = m_pcPic->getPicYuvRec()->getWidth() - m_pcPic->getPicYuvRec()->getPicCropLeftOffset() - m_pcPic->getPicYuvRec()->getPicCropRightOffset(); 4940 Int iEHeight = m_pcPic->getPicYuvRec()->getHeight() - m_pcPic->getPicYuvRec()->getPicCropTopOffset() - m_pcPic->getPicYuvRec()->getPicCropBottomOffset(); 4941 #else 4935 4942 Int iBWidth = m_pcSlice->getBaseColPic()->getPicYuvRec()->getWidth(); 4936 4943 Int iBHeight = m_pcSlice->getBaseColPic()->getPicYuvRec()->getHeight(); … … 4938 4945 Int iEWidth = m_pcPic->getPicYuvRec()->getWidth(); 4939 4946 Int iEHeight = m_pcPic->getPicYuvRec()->getHeight(); 4947 #endif 4940 4948 4941 4949 Int iMvX = (rcMvFieldBase.getHor()*iEWidth + (iBWidth/2 -1) * (rcMvFieldBase.getHor() > 0 ? 1: -1) )/iBWidth;
Note: See TracChangeset for help on using the changeset viewer.