Changeset 1365 in SHVCSoftware


Ignore:
Timestamp:
22 Jul 2015, 04:14:51 (9 years ago)
Author:
seregin
Message:

port rev 4449

Location:
branches/SHM-dev/source/Lib
Files:
2 edited

Legend:

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

    r1348 r1365  
    16361636  Int nrOfPositivePictures = 0;
    16371637  TComReferencePictureSet* pcRPS = this->getLocalRPS();
     1638  (*pcRPS)=TComReferencePictureSet();
     1639
    16381640  Bool irapIsInRPS = false; // Used when bEfficientFieldIRAPEnabled==true
    16391641#if SVC_POC
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r1356 r1365  
    13191319      pcSlice->setPOC(0);
    13201320      TComReferencePictureSet* rps = pcSlice->getLocalRPS();
    1321       rps->setNumberOfNegativePictures(0);
    1322       rps->setNumberOfPositivePictures(0);
    1323       rps->setNumberOfLongtermPictures(0);
    1324       rps->setNumberOfPictures(0);
     1321      (*rps)=TComReferencePictureSet();
    13251322      pcSlice->setRPS(rps);
    13261323    }
     
    13781375      TComReferencePictureSet* rps;
    13791376      rps = pcSlice->getLocalRPS();
     1377      (*rps)=TComReferencePictureSet();
     1378
    13801379      pcSlice->setRPS(rps);
    13811380      READ_FLAG( uiCode, "short_term_ref_pic_set_sps_flag" );
     
    15281527        // In the case of BLA picture types, rps data is read from slice header but ignored
    15291528        rps = pcSlice->getLocalRPS();
    1530         rps->setNumberOfNegativePictures(0);
    1531         rps->setNumberOfPositivePictures(0);
    1532         rps->setNumberOfLongtermPictures(0);
    1533         rps->setNumberOfPictures(0);
     1529        (*rps)=TComReferencePictureSet();
    15341530        pcSlice->setRPS(rps);
    15351531      }
Note: See TracChangeset for help on using the changeset viewer.