Changeset 1193 in SHVCSoftware


Ignore:
Timestamp:
8 Jul 2015, 19:31:16 (9 years ago)
Author:
seregin
Message:

macro cleanup: Q0142_POC_LSB_NOT_PRESENT

Location:
branches/SHM-dev/source/Lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h

    r1192 r1193  
    5353#define Q0108_TSA_STSA                   1      ///< JCTVC-Q0108, Remove cross-layer alignment constraints of TSA and STSA pictures, enable to have different prediction structures in different layers
    5454#define Q0177_EOS_CHECKS                 1      ///< JCTVC-Q0177; Put checks on handling EOS
    55 #define Q0142_POC_LSB_NOT_PRESENT        1      ///< JCTVC-Q0142; Add constraint checking on the value of poc_reset_idc and poc_lsb_val
    5655#define P0130_EOB                        1      ///< JCTVC-P0130, set layer Id of EOB NALU to be fixed to 0
    5756#define DISCARDABLE_PIC_RPS              1      ///< JCTVC-P0130: Inter-layer RPS and temporal RPS should not contain picture with discardable_flag equal to 1
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r1192 r1193  
    12141214  }
    12151215
    1216 #if Q0142_POC_LSB_NOT_PRESENT
     1216#if SVC_EXTENSION
    12171217  Int iPOClsb = 0;
    12181218#endif
     
    12761276      pcSlice->setRPS(rps);
    12771277    }
     1278
    12781279#if SVC_EXTENSION
    12791280#if O0062_POC_LSB_NOT_PRESENT_FLAG
     
    19451946      pcSlice->setPocResetIdc( 0 );
    19461947    }
    1947 #if Q0142_POC_LSB_NOT_PRESENT
    1948     if ( pcSlice->getVPS()->getPocLsbNotPresentFlag( pcSlice->getVPS()->getLayerIdxInVps(pcSlice->getLayerId()) ) && iPOClsb > 0 )
     1948
     1949    if( pcSlice->getVPS()->getPocLsbNotPresentFlag( pcSlice->getVPS()->getLayerIdxInVps(pcSlice->getLayerId()) ) && iPOClsb > 0 )
    19491950    {
    19501951      assert( pcSlice->getPocResetIdc() != 2 );
    19511952    }
    1952 #endif
     1953
    19531954    if( pcSlice->getPocResetIdc() > 0 )
    19541955    {
     
    19611962    }
    19621963
    1963     if (pcSlice->getPocResetIdc() == 3)
     1964    if( pcSlice->getPocResetIdc() == 3 )
    19641965    {
    19651966      READ_FLAG( uiCode,        "full_poc_reset_flag"); pcSlice->setFullPocResetFlag((uiCode == 1) ? true : false);
    19661967      READ_CODE(pcSlice->getSPS()->getBitsForPOC(), uiCode,"poc_lsb_val"); pcSlice->setPocLsbVal(uiCode);
    1967 #if Q0142_POC_LSB_NOT_PRESENT
    1968       if ( pcSlice->getVPS()->getPocLsbNotPresentFlag( pcSlice->getVPS()->getLayerIdxInVps(pcSlice->getLayerId()) ) && pcSlice->getFullPocResetFlag() )
     1968
     1969      if( pcSlice->getVPS()->getPocLsbNotPresentFlag( pcSlice->getVPS()->getLayerIdxInVps(pcSlice->getLayerId()) ) && pcSlice->getFullPocResetFlag() )
    19691970      {
    19701971        assert( pcSlice->getPocLsbVal() == 0 );
    19711972      }
    1972 #endif
    19731973    }
    19741974
Note: See TracChangeset for help on using the changeset viewer.