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


Ignore:
Timestamp:
15 Nov 2013, 22:47:32 (11 years ago)
Author:
seregin
Message:

signal poc_lsb_not_present_flag for each layer in VPS extension (JCTVC-O0062) with macro O0062_POC_LSB_NOT_PRESENT_FLAG, patch was provided by Takeshi Tsukuba <tsukuba.takeshi@…>

File:
1 edited

Legend:

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

    r478 r479  
    12571257  vps->setMaxOneActiveRefLayerFlag(uiCode);
    12581258#endif
     1259#if O0062_POC_LSB_NOT_PRESENT_FLAG
     1260  for(i = 1; i< vps->getMaxLayers(); i++)
     1261  {
     1262    if( vps->getNumDirectRefLayers( vps->getLayerIdInNuh(i) ) == 0  )
     1263    {
     1264      READ_FLAG(uiCode, "poc_lsb_not_present_flag[i]");
     1265      vps->setPocLsbNotPresentFlag(i, uiCode);
     1266    }
     1267  }
     1268#endif
    12591269#if O0215_PHASE_ALIGNMENT
    1260   READ_FLAG( uiCode, "phase_align_flag"); vps->setPhaseAlignFlag( uiCode == 1 ? true : false );
     1270  READ_FLAG( uiCode, "cross_layer_phase_alignment_flag"); vps->setPhaseAlignFlag( uiCode == 1 ? true : false );
    12611271#endif
    12621272
     
    15541564    Int iPOClsb = 0;
    15551565#endif
     1566#if O0062_POC_LSB_NOT_PRESENT_FLAG
     1567    if( ( rpcSlice->getLayerId() > 0 && !rpcSlice->getVPS()->getPocLsbNotPresentFlag( rpcSlice->getVPS()->getLayerIdInVps(rpcSlice->getLayerId())) ) || !rpcSlice->getIdrPicFlag())
     1568#else
    15561569    if( rpcSlice->getLayerId() > 0 || !rpcSlice->getIdrPicFlag() )
     1570#endif
    15571571#else
    15581572    else
Note: See TracChangeset for help on using the changeset viewer.