Changeset 1220 in SHVCSoftware


Ignore:
Timestamp:
8 Jul 2015, 23:54:03 (9 years ago)
Author:
seregin
Message:

macro cleanup: Q0177_EOS_CHECKS

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

Legend:

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

    r1219 r1220  
    4747#define CONFORMANCE_BITSTREAM_MODE       1      ///< In order to generate the metadata related to conformance bitstreams
    4848
    49 #define Q0177_EOS_CHECKS                 1      ///< JCTVC-Q0177; Put checks on handling EOS
    5049#define DISCARDABLE_PIC_RPS              1      ///< JCTVC-P0130: Inter-layer RPS and temporal RPS should not contain picture with discardable_flag equal to 1
    5150#define ALIGNED_BUMPING                  1      ///< JCTVC-P0192: Align bumping of pictures in an AU
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r1219 r1220  
    9999#endif
    100100  memset(m_cIlpPic, 0, sizeof(m_cIlpPic));
    101 #if Q0177_EOS_CHECKS
    102101  m_isLastNALWasEos = false;
    103 #endif
    104102  m_lastPicHasEos = false;
    105103#if NO_CLRAS_OUTPUT_FLAG
     
    19621960#endif
    19631961#if SVC_EXTENSION
    1964 #if Q0177_EOS_CHECKS
    19651962      m_isLastNALWasEos = false;
    1966 #endif
    19671963#if AVC_BASE
    19681964      if( m_parameterSetManagerDecoder.getPrefetchedVPS(0)->getNonHEVCBaseLayerFlag() )
     
    20042000    case NAL_UNIT_PREFIX_SEI:
    20052001    case NAL_UNIT_SUFFIX_SEI:
    2006 #if Q0177_EOS_CHECKS
    2007       if ( nalu.m_nalUnitType == NAL_UNIT_SUFFIX_SEI )
     2002#if SVC_EXTENSION
     2003      if( nalu.m_nalUnitType == NAL_UNIT_SUFFIX_SEI )
    20082004      {
    20092005        assert( m_isLastNALWasEos == false );
     
    20292025    case NAL_UNIT_CODED_SLICE_RASL_N:
    20302026    case NAL_UNIT_CODED_SLICE_RASL_R:
    2031 #if Q0177_EOS_CHECKS
    2032       if (nalu.m_nalUnitType == NAL_UNIT_CODED_SLICE_TRAIL_R || nalu.m_nalUnitType == NAL_UNIT_CODED_SLICE_TRAIL_N ||
     2027#if SVC_EXTENSION
     2028      if( nalu.m_nalUnitType == NAL_UNIT_CODED_SLICE_TRAIL_R || nalu.m_nalUnitType == NAL_UNIT_CODED_SLICE_TRAIL_N ||
    20332029          nalu.m_nalUnitType == NAL_UNIT_CODED_SLICE_TSA_R || nalu.m_nalUnitType == NAL_UNIT_CODED_SLICE_TSA_N ||
    20342030          nalu.m_nalUnitType == NAL_UNIT_CODED_SLICE_STSA_R || nalu.m_nalUnitType == NAL_UNIT_CODED_SLICE_STSA_N ||
     
    20422038        m_isLastNALWasEos = false;
    20432039      }
    2044 #endif
    2045 #if SVC_EXTENSION
     2040
    20462041      return xDecodeSlice(nalu, iSkipFrame, iPOCLastDisplay, curLayerId, bNewPOC);
    20472042#else
     
    20512046
    20522047    case NAL_UNIT_EOS:
    2053 #if Q0177_EOS_CHECKS
     2048#if SVC_EXTENSION
    20542049      assert( m_isLastNALWasEos == false );
    20552050
     
    20802075
    20812076    case NAL_UNIT_FILLER_DATA:
    2082 #if Q0177_EOS_CHECKS
     2077#if SVC_EXTENSION
    20832078      assert( m_isLastNALWasEos == false );
    20842079#endif
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.h

    r1212 r1220  
    121121
    122122#if SVC_EXTENSION
    123 #if Q0177_EOS_CHECKS
    124123  Bool                    m_isLastNALWasEos;
    125 #endif
    126124  Bool                    m_lastPicHasEos;
    127125  static UInt             m_prevPOC;        // POC of the previous slice
Note: See TracChangeset for help on using the changeset viewer.