Changeset 288 in SHVCSoftware for branches/SHM-2.1-dev/source/Lib/TLibDecoder/TDecTop.cpp
- Timestamp:
- 12 Jun 2013, 03:37:28 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-2.1-dev/source/Lib/TLibDecoder/TDecTop.cpp
r282 r288 255 255 for(UInt i = 0; i < pcSlice->getVPS()->getNumDirectRefLayers( m_layerId ); i++ ) 256 256 { 257 const Window scalEL = pcSlice->getSPS()->getScaledRefLayerWindow( );257 const Window scalEL = pcSlice->getSPS()->getScaledRefLayerWindow(i); 258 258 Bool zeroOffsets = ( scalEL.getWindowLeftOffset() == 0 && scalEL.getWindowRightOffset() == 0 && scalEL.getWindowTopOffset() == 0 && scalEL.getWindowBottomOffset() == 0 ); 259 259 … … 865 865 #if SIMPLIFIED_MV_POS_SCALING 866 866 #if SCALED_REF_LAYER_OFFSETS 867 const Window &scalEL = pcSlice->getSPS()->getScaledRefLayerWindow( );867 const Window &scalEL = pcSlice->getSPS()->getScaledRefLayerWindow(refLayerIdc); 868 868 869 869 Int widthBL = pcSlice->getBaseColPic(refLayerIdc)->getPicYuvRec()->getWidth(); … … 893 893 { 894 894 #if SCALED_REF_LAYER_OFFSETS 895 m_cPrediction.upsampleBasePic( refLayerIdc, pcPic->getFullPelBaseRec(refLayerIdc), pcSlice->getBaseColPic(refLayerIdc)->getPicYuvRec(), pcPic->getPicYuvRec(), pcSlice->getSPS()->getScaledRefLayerWindow( ) );895 m_cPrediction.upsampleBasePic( refLayerIdc, pcPic->getFullPelBaseRec(refLayerIdc), pcSlice->getBaseColPic(refLayerIdc)->getPicYuvRec(), pcPic->getPicYuvRec(), pcSlice->getSPS()->getScaledRefLayerWindow(refLayerIdc) ); 896 896 #else 897 897 m_cPrediction.upsampleBasePic( refLayerIdc, pcPic->getFullPelBaseRec(refLayerIdc), pcSlice->getBaseColPic(refLayerIdc)->getPicYuvRec(), pcPic->getPicYuvRec() );
Note: See TracChangeset for help on using the changeset viewer.