Changeset 1002 in SHVCSoftware for branches/SHM-upgrade/source/Lib/TLibDecoder


Ignore:
Timestamp:
22 Jan 2015, 07:33:08 (10 years ago)
Author:
seregin
Message:

port using layerIdx for getPocLsbNotPresentFlag (rev 1001)

File:
1 edited

Legend:

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

    r1000 r1002  
    20582058    }
    20592059#if Q0142_POC_LSB_NOT_PRESENT
    2060     if ( pcSlice->getVPS()->getPocLsbNotPresentFlag(pcSlice->getLayerId()) && iPOClsb > 0 )
     2060    if ( pcSlice->getVPS()->getPocLsbNotPresentFlag( pcSlice->getVPS()->getLayerIdInVps(pcSlice->getLayerId()) ) && iPOClsb > 0 )
    20612061    {
    20622062      assert( pcSlice->getPocResetIdc() != 2 );
     
    20782078      READ_CODE(pcSlice->getSPS()->getBitsForPOC(), uiCode,"poc_lsb_val"); pcSlice->setPocLsbVal(uiCode);
    20792079#if Q0142_POC_LSB_NOT_PRESENT
    2080       if ( pcSlice->getVPS()->getPocLsbNotPresentFlag(pcSlice->getLayerId()) && pcSlice->getFullPocResetFlag() )
     2080      if ( pcSlice->getVPS()->getPocLsbNotPresentFlag( pcSlice->getVPS()->getLayerIdInVps(pcSlice->getLayerId()) ) && pcSlice->getFullPocResetFlag() )
    20812081      {
    20822082        assert( pcSlice->getPocLsbVal() == 0 );
Note: See TracChangeset for help on using the changeset viewer.