Ignore:
Timestamp:
9 Apr 2014, 04:52:27 (11 years ago)
Author:
seregin
Message:

remove ILRP's SPS reference

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-6-dev/source/Lib/TLibCommon/TComSlice.cpp

    r654 r655  
    36683668
    36693669    TComPic* pcRefPicBL = pcRefPicRL[refLayerIdc];
     3670
    36703671    //set reference picture POC of each ILP reference
    36713672    Int thePoc = ilpPic[refLayerIdc]->getPOC();
     
    36743675    ilpPic[refLayerIdc]->getSlice(0)->setBaseColPic( refLayerIdc, pcRefPicBL );
    36753676
    3676     //copy reference pictures marking from the reference layer
    3677     ilpPic[refLayerIdc]->getSlice(0)->copySliceInfo(pcRefPicBL->getSlice(0));
     3677    //copy layer id from the reference layer   
     3678    ilpPic[refLayerIdc]->setLayerId( pcRefPicBL->getLayerId() );
     3679
     3680    //copy slice type from the reference layer
     3681    ilpPic[refLayerIdc]->getSlice(0)->setSliceType( pcRefPicBL->getSlice(0)->getSliceType() );
    36783682
    36793683    for( Int refList = 0; refList < 2; refList++ )
     
    36973701        ilpPic[refLayerIdc]->getSlice(0)->setRefPOC(0, refPicList, refIdx);
    36983702        ilpPic[refLayerIdc]->getSlice(0)->setRefPic(NULL, refPicList, refIdx);
     3703      }
     3704
     3705      //copy reference pictures' marking from the reference layer
     3706      for(Int j = 0; j < MAX_NUM_REF + 1; j++)
     3707      {
     3708        ilpPic[refLayerIdc]->getSlice(0)->setIsUsedAsLongTerm(refList, j, pcRefPicBL->getSlice(0)->getIsUsedAsLongTerm(refList, j));
    36993709      }
    37003710    }
Note: See TracChangeset for help on using the changeset viewer.