Changeset 144 in SHVCSoftware for branches/SHM-2.0-dev/source


Ignore:
Timestamp:
2 May 2013, 21:04:41 (12 years ago)
Author:
seregin
Message:

ILP_DECODED_PICTURE: use decoded picture size for inter-layer prediction (M0274)

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  
    41764176
    41774177#if !SIMPLIFIED_MV_POS_SCALING
    4178 #if SVC_UPSAMPLING
     4178#if SVC_UPSAMPLING && !ILP_DECODED_PICTURE
    41794179  const Window &confBL = cBaseColPic->getPicYuvRec()->getConformanceWindow();
    41804180  const Window &confEL = m_pcPic->getPicYuvRec()->getConformanceWindow();
     
    42124212  }
    42134213
    4214 #if AVC_SYNTAX
     4214#if AVC_SYNTAX && !ILP_DECODED_PICTURE
    42154215  if( iBX >= widthBL || iBY >= heightBL ) //outside of the reference layer cropped picture
    42164216  {
  • branches/SHM-2.0-dev/source/Lib/TLibCommon/TComPic.cpp

    r140 r144  
    587587Void TComPic::copyUpsampledMvField(TComPic* pcPicBase)
    588588{
    589 #if AVC_SYNTAX
     589#if AVC_SYNTAX && !ILP_DECODED_PICTURE
    590590  const Window &confBL = pcPicBase->getConformanceWindow();
    591591  const Window &confEL = getPicYuvRec()->getConformanceWindow();
     
    617617      pcColCU = pcCUDes->getBaseColCU(pelX + 8, pelY + 8, baseCUAddr, baseAbsPartIdx);
    618618
    619 #if AVC_SYNTAX
     619#if AVC_SYNTAX && !ILP_DECODED_PICTURE
    620620      Int xBL = ( (pelX + 8) * widthBL + widthEL/2 ) / widthEL;
    621621      Int yBL = ( (pelY + 8) * heightBL+ heightEL/2 ) / heightEL;
     
    689689  }
    690690
     691#if ILP_DECODED_PICTURE
     692  UInt   width      = this->getPicYuvRec()->getWidth();
     693  UInt   height     = this->getPicYuvRec()->getHeight();
     694#else
    691695  const Window &conf = this->getPicYuvRec()->getConformanceWindow();
    692696  UInt   width      = this->getPicYuvRec()->getWidth() - conf.getWindowLeftOffset() - conf.getWindowRightOffset();
    693697  UInt   height     = this->getPicYuvRec()->getHeight() - conf.getWindowTopOffset() - conf.getWindowBottomOffset();
     698#endif
    694699  UInt64 poc        = (UInt64)this->getPOC();
    695700  UInt   partWidth  = width / 4;
     
    768773  }
    769774
     775#if ILP_DECODED_PICTURE
     776  UInt   width       = this->getPicYuvRec()->getWidth();
     777  UInt   height      = this->getPicYuvRec()->getHeight();
     778#else
    770779  const Window &conf = this->getConformanceWindow();
    771780  UInt   width       = this->getPicYuvRec()->getWidth() - conf.getWindowLeftOffset() - conf.getWindowRightOffset();
    772781  UInt   height      = this->getPicYuvRec()->getHeight() - conf.getWindowTopOffset() - conf.getWindowBottomOffset();
     782#endif
    773783
    774784  UInt64 poc        = (UInt64)this->getPOC();
  • branches/SHM-2.0-dev/source/Lib/TLibCommon/TypeDef.h

    r143 r144  
    6363
    6464#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
    6566
    6667#define AVC_BASE                         0      ///< YUV BL reading for AVC base SVC
    6768#define REF_IDX_FRAMEWORK                1      ///< inter-layer reference framework
    6869
    69 #if SVC_UPSAMPLING
     70#if SVC_UPSAMPLING && !ILP_DECODED_PICTURE
    7071#define JCTVC_L0178                      1      ///< implementation of JCTVC-L0178 (code only supports right and bottom croppping offsets)
    7172#endif
Note: See TracChangeset for help on using the changeset viewer.