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


Ignore:
Timestamp:
7 Jul 2015, 03:31:59 (10 years ago)
Author:
seregin
Message:

macro cleanup: R0071_IRAP_EOS_CROSS_LAYER_IMPACTS

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

Legend:

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

    r1130 r1131  
    106106  m_isLastNALWasEos = false;
    107107#endif
    108 #if R0071_IRAP_EOS_CROSS_LAYER_IMPACTS
    109108  m_lastPicHasEos = false;
    110 #endif
    111109#if NO_CLRAS_OUTPUT_FLAG
    112110  m_noClrasOutputFlag          = false;
     
    852850      setNoClrasOutputFlag(true);
    853851    }
    854 #if R0071_IRAP_EOS_CROSS_LAYER_IMPACTS
    855852    else if( m_lastPicHasEos )
    856853    {
    857854      setNoClrasOutputFlag(true);
    858855    }
    859 #endif
    860856    else if ( m_apcSlicePilot->getBlaPicFlag() )
    861857    {
     
    14831479    }
    14841480#endif
    1485 #if R0071_IRAP_EOS_CROSS_LAYER_IMPACTS
     1481
     1482#if SVC_EXTENSION
    14861483    xCheckLayerReset();
    14871484    xSetLayerInitializedFlag();
    14881485#endif
     1486
    14891487    // Buffer initialize for prediction.
    14901488    m_cPrediction.initTempBuff(m_apcSlicePilot->getSPS()->getChromaFormatIdc());
     
    19931991  setFirstPicInLayerDecodedFlag(true);
    19941992#endif
    1995 #if R0071_IRAP_EOS_CROSS_LAYER_IMPACTS
     1993#if SVC_EXTENSION
    19961994  m_lastPicHasEos = false;
    19971995#endif
     
    22482246#if Q0177_EOS_CHECKS
    22492247      assert( m_isLastNALWasEos == false );
    2250 #if !R0071_IRAP_EOS_CROSS_LAYER_IMPACTS
    2251       //Check layer id of the nalu. if it is not 0, give a warning message and just return without doing anything.
    2252       if (nalu.m_layerId > 0)
    2253       {
    2254         printf( "\nThis bitstream has EOS with non-zero layer id.\n" );
    2255         return false;
    2256       }
    2257 #endif
     2248
    22582249      m_isLastNALWasEos = true;
    2259 #if R0071_IRAP_EOS_CROSS_LAYER_IMPACTS
    22602250      m_lastPicHasEos = true;
    2261 #endif
    22622251#endif
    22632252      m_associatedIRAPType = NAL_UNIT_INVALID;
     
    26872676#endif
    26882677
    2689 #if R0071_IRAP_EOS_CROSS_LAYER_IMPACTS
    26902678Void TDecTop::xCheckLayerReset()
    26912679{
     
    27722760  }
    27732761}
    2774 #endif
    2775 
    2776 #if SVC_EXTENSION
     2762
    27772763Void TDecTop::xDeriveSmallestLayerId(TComVPS* vps)
    27782764{
     
    28112797  }
    28122798}
    2813 #endif
    28142799
    28152800Void TDecTop::xSetSpatialEnhLayerFlag(TComSlice* slice, TComPic* pic)
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.h

    r1111 r1131  
    124124  Bool                    m_isLastNALWasEos;
    125125#endif
    126 #if R0071_IRAP_EOS_CROSS_LAYER_IMPACTS
    127126  Bool                    m_lastPicHasEos;
    128 #endif
    129127  static UInt             m_prevPOC;        // POC of the previous slice
    130128  static UInt             m_uiPrevLayerId;  // LayerId of the previous slice
     
    310308  Void      xDecodeSEI( TComInputBitstream* bs, const NalUnitType nalUnitType );
    311309
     310#if SVC_EXTENSION
    312311#if NO_CLRAS_OUTPUT_FLAG
    313312  Int  getNoClrasOutputFlag()                { return m_noClrasOutputFlag;}
     
    324323  Void resetPocRestrictionCheckParameters();
    325324#endif
    326 #if R0071_IRAP_EOS_CROSS_LAYER_IMPACTS
    327325  Void xCheckLayerReset();
    328326  Void xSetNoRaslOutputFlag();
Note: See TracChangeset for help on using the changeset viewer.