Changeset 1435 in SHVCSoftware for branches/SHM-dev


Ignore:
Timestamp:
11 Aug 2015, 20:49:15 (9 years ago)
Author:
seregin
Message:

port rev 4588

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp

    r1434 r1435  
    972972Void TEncGOP::xCreatePictureTimingSEI  (Int IRAPGOPid, SEIMessages& seiMessages, SEIMessages& nestedSeiMessages, SEIMessages& duInfoSeiMessages, TComSlice *slice, Bool isField, std::deque<DUData> &duData)
    973973{
    974   Int picSptDpbOutputDuDelay = 0;
    975   SEIPictureTiming *pictureTimingSEI = new SEIPictureTiming();
    976 
    977974  const TComVUI *vui = slice->getSPS()->getVuiParameters();
    978975  const TComHRD *hrd = vui->getHrdParameters();
     
    983980    (  hrd->getNalHrdParametersPresentFlag() || hrd->getVclHrdParametersPresentFlag() ) )
    984981  {
     982    Int picSptDpbOutputDuDelay = 0;
     983    SEIPictureTiming *pictureTimingSEI = new SEIPictureTiming();
     984
    985985    // DU parameters
    986986    if( hrd->getSubPicCpbParamsPresentFlag() )
     
    10991099        duInfoSeiMessages.push_back(duInfoSEI);
    11001100      }
     1101    }
     1102
     1103    if( !m_pcCfg->getPictureTimingSEIEnabled() && pictureTimingSEI )
     1104    {
     1105      delete pictureTimingSEI;
    11011106    }
    11021107  }
Note: See TracChangeset for help on using the changeset viewer.