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)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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();
Note: See TracChangeset for help on using the changeset viewer.