Changeset 1365 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder


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

port rev 4449

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.