Ignore:
Timestamp:
11 Oct 2013, 05:54:02 (11 years ago)
Author:
seregin
Message:

initial porting of HM12

File:
1 edited

Legend:

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

    r427 r431  
    16141614      READ_CODE(sps->getBitsForPOC(), uiCode, "pic_order_cnt_lsb");
    16151615      Int iPOClsb = uiCode;
    1616       Int iPrevPOC = rpcSlice->getPrevPOC();
     1616      Int iPrevPOC = rpcSlice->getPrevTid0POC();
    16171617      Int iMaxPOClsb = 1<< sps->getBitsForPOC();
    1618       Int iPrevPOClsb = iPrevPOC%iMaxPOClsb;
     1618      Int iPrevPOClsb = iPrevPOC & (iMaxPOClsb - 1);
    16191619      Int iPrevPOCmsb = iPrevPOC-iPrevPOClsb;
    16201620      Int iPOCmsb;
     
    17381738            rps->setDeltaPOC(j, - rpcSlice->getPOC() + pocLsbLt);
    17391739            rps->setCheckLTMSBPresent(j,false);
     1740           
     1741            // reset deltaPocMSBCycleLT for first LTRP from slice header if MSB not present
     1742            if( j == offset+(numOfLtrp-numLtrpInSPS)-1 )
     1743            {
     1744              deltaPocMSBCycleLT = 0;
     1745            }
    17401746          }
    17411747          prevDeltaMSB = deltaPocMSBCycleLT;
Note: See TracChangeset for help on using the changeset viewer.