- Timestamp:
- 2 May 2013, 21:04:41 (12 years ago)
- Location:
- branches/SHM-2.0-dev/source/Lib/TLibCommon
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-2.0-dev/source/Lib/TLibCommon/TComDataCU.cpp
r142 r144 4176 4176 4177 4177 #if !SIMPLIFIED_MV_POS_SCALING 4178 #if SVC_UPSAMPLING 4178 #if SVC_UPSAMPLING && !ILP_DECODED_PICTURE 4179 4179 const Window &confBL = cBaseColPic->getPicYuvRec()->getConformanceWindow(); 4180 4180 const Window &confEL = m_pcPic->getPicYuvRec()->getConformanceWindow(); … … 4212 4212 } 4213 4213 4214 #if AVC_SYNTAX 4214 #if AVC_SYNTAX && !ILP_DECODED_PICTURE 4215 4215 if( iBX >= widthBL || iBY >= heightBL ) //outside of the reference layer cropped picture 4216 4216 { -
branches/SHM-2.0-dev/source/Lib/TLibCommon/TComPic.cpp
r140 r144 587 587 Void TComPic::copyUpsampledMvField(TComPic* pcPicBase) 588 588 { 589 #if AVC_SYNTAX 589 #if AVC_SYNTAX && !ILP_DECODED_PICTURE 590 590 const Window &confBL = pcPicBase->getConformanceWindow(); 591 591 const Window &confEL = getPicYuvRec()->getConformanceWindow(); … … 617 617 pcColCU = pcCUDes->getBaseColCU(pelX + 8, pelY + 8, baseCUAddr, baseAbsPartIdx); 618 618 619 #if AVC_SYNTAX 619 #if AVC_SYNTAX && !ILP_DECODED_PICTURE 620 620 Int xBL = ( (pelX + 8) * widthBL + widthEL/2 ) / widthEL; 621 621 Int yBL = ( (pelY + 8) * heightBL+ heightEL/2 ) / heightEL; … … 689 689 } 690 690 691 #if ILP_DECODED_PICTURE 692 UInt width = this->getPicYuvRec()->getWidth(); 693 UInt height = this->getPicYuvRec()->getHeight(); 694 #else 691 695 const Window &conf = this->getPicYuvRec()->getConformanceWindow(); 692 696 UInt width = this->getPicYuvRec()->getWidth() - conf.getWindowLeftOffset() - conf.getWindowRightOffset(); 693 697 UInt height = this->getPicYuvRec()->getHeight() - conf.getWindowTopOffset() - conf.getWindowBottomOffset(); 698 #endif 694 699 UInt64 poc = (UInt64)this->getPOC(); 695 700 UInt partWidth = width / 4; … … 768 773 } 769 774 775 #if ILP_DECODED_PICTURE 776 UInt width = this->getPicYuvRec()->getWidth(); 777 UInt height = this->getPicYuvRec()->getHeight(); 778 #else 770 779 const Window &conf = this->getConformanceWindow(); 771 780 UInt width = this->getPicYuvRec()->getWidth() - conf.getWindowLeftOffset() - conf.getWindowRightOffset(); 772 781 UInt height = this->getPicYuvRec()->getHeight() - conf.getWindowTopOffset() - conf.getWindowBottomOffset(); 782 #endif 773 783 774 784 UInt64 poc = (UInt64)this->getPOC(); -
branches/SHM-2.0-dev/source/Lib/TLibCommon/TypeDef.h
r143 r144 63 63 64 64 #define SIMPLIFIED_MV_POS_SCALING 1 ///< M0133/M0449: inter-layer MV scaling and pixel mapping position calculation 65 #define ILP_DECODED_PICTURE 1 ///< M0274: use decoded picture size for inter-layer prediction 65 66 66 67 #define AVC_BASE 0 ///< YUV BL reading for AVC base SVC 67 68 #define REF_IDX_FRAMEWORK 1 ///< inter-layer reference framework 68 69 69 #if SVC_UPSAMPLING 70 #if SVC_UPSAMPLING && !ILP_DECODED_PICTURE 70 71 #define JCTVC_L0178 1 ///< implementation of JCTVC-L0178 (code only supports right and bottom croppping offsets) 71 72 #endif
Note: See TracChangeset for help on using the changeset viewer.