Changeset 1321 in SHVCSoftware


Ignore:
Timestamp:
21 Jul 2015, 23:39:48 (9 years ago)
Author:
seregin
Message:

port rev 4396, 4397, 4398

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

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r1319 r1321  
    645645    {
    646646      // Check if any new Picture Timing SEI has arrived
    647       SEIMessages pictureTimingSEIs = extractSeisByType (m_SEIs, SEI::PICTURE_TIMING);
     647      SEIMessages pictureTimingSEIs = getSeisByType(m_SEIs, SEI::PICTURE_TIMING);
    648648      if (pictureTimingSEIs.size()>0)
    649649      {
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp

    r1318 r1321  
    452452  xWriteSEISeparately(NAL_UNIT_PREFIX_SEI, localMessages, accessUnit, itNalu, temporalId, sps);
    453453#endif
    454   xClearSEIs(currentMessages, !testWrite);
     454  xClearSEIs(localMessages, !testWrite);
    455455
    456456  if (!testWrite)
     
    504504  xWriteSEISeparately(NAL_UNIT_SUFFIX_SEI, seiMessages, accessUnit, pos, temporalId, sps);
    505505#endif
     506  deleteSEIs(seiMessages);
    506507}
    507508
     
    17071708      pcSlice->setMFMEnabledFlag(false);
    17081709    }
    1709 #endif //SVC_EXTENSION
    1710 
     1710#endif //SVC_EXTENSION   
    17111711    pcSlice->setLastIDR(m_iLastIDR);
    17121712    pcSlice->setSliceIdx(0);
     
    25752575
    25762576      // create prefix SEI messages at the beginning of the sequence
    2577       leadingSeiMessages.clear();
     2577      assert(leadingSeiMessages.empty());
    25782578      xCreateIRAPLeadingSEIMessages(leadingSeiMessages, pcSlice->getSPS(), pcSlice->getPPS());
    25792579
     
    27942794    xWriteTrailingSEIMessages(trailingSeiMessages, accessUnit, pcSlice->getTLayer(), pcSlice->getSPS());
    27952795#endif
    2796     trailingSeiMessages.clear();
    27972796
    27982797    m_pcCfg->setEncodedFlag(iGOPid, true);
     
    28502849#if O0164_MULTI_LAYER_HRD
    28512850    xWriteLeadingSEIMessages(leadingSeiMessages, duInfoSeiMessages, accessUnit, pcSlice->getTLayer(), pcSlice->getVPS(), pcSlice->getSPS(), duData);
     2851    xWriteDuSEIMessages(duInfoSeiMessages, accessUnit, pcSlice->getTLayer(), pcSlice->getVPS(), pcSlice->getSPS(), duData);
    28522852#else
    28532853    xWriteLeadingSEIMessages(leadingSeiMessages, duInfoSeiMessages, accessUnit, pcSlice->getTLayer(), pcSlice->getSPS(), duData);
    2854 #endif
    2855     leadingSeiMessages.clear();
    2856 #if O0164_MULTI_LAYER_HRD
    2857     xWriteDuSEIMessages(duInfoSeiMessages, accessUnit, pcSlice->getTLayer(), pcSlice->getVPS(), pcSlice->getSPS(), duData);
    2858 #else
    28592854    xWriteDuSEIMessages(duInfoSeiMessages, accessUnit, pcSlice->getTLayer(), pcSlice->getSPS(), duData);
    28602855#endif
Note: See TracChangeset for help on using the changeset viewer.