Changeset 478 in SHVCSoftware for branches


Ignore:
Timestamp:
15 Nov 2013, 21:00:58 (11 years ago)
Author:
seregin
Message:

fix POClsb

File:
1 edited

Legend:

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

    r477 r478  
    15511551    }
    15521552#if N0065_LAYER_POC_ALIGNMENT
     1553#if SHM_FIX7
     1554    Int iPOClsb = 0;
     1555#endif
    15531556    if( rpcSlice->getLayerId() > 0 || !rpcSlice->getIdrPicFlag() )
    15541557#else
     
    15571560    {
    15581561      READ_CODE(sps->getBitsForPOC(), uiCode, "pic_order_cnt_lsb");
     1562#if SHM_FIX7
     1563      iPOClsb = uiCode;
     1564#else
    15591565      Int iPOClsb = uiCode;
     1566#endif
    15601567      Int iPrevPOC = rpcSlice->getPrevTid0POC();
    15611568      Int iMaxPOClsb = 1<< sps->getBitsForPOC();
     
    16781685            }
    16791686
    1680 #if SHM_FIX7
    1681             Int pocLTCurr = rpcSlice->getPOC() - deltaPocMSBCycleLT * maxPicOrderCntLSB - sps->getBitsForPOC() + pocLsbLt;
    1682 #else
    16831687            Int pocLTCurr = rpcSlice->getPOC() - deltaPocMSBCycleLT * maxPicOrderCntLSB
    16841688                                        - iPOClsb + pocLsbLt;
    1685 #endif
     1689
    16861690            rps->setPOC     (j, pocLTCurr);
    16871691            rps->setDeltaPOC(j, - rpcSlice->getPOC() + pocLTCurr);
Note: See TracChangeset for help on using the changeset viewer.