Changeset 1220 in SHVCSoftware
- Timestamp:
- 8 Jul 2015, 23:54:03 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r1219 r1220 47 47 #define CONFORMANCE_BITSTREAM_MODE 1 ///< In order to generate the metadata related to conformance bitstreams 48 48 49 #define Q0177_EOS_CHECKS 1 ///< JCTVC-Q0177; Put checks on handling EOS50 49 #define DISCARDABLE_PIC_RPS 1 ///< JCTVC-P0130: Inter-layer RPS and temporal RPS should not contain picture with discardable_flag equal to 1 51 50 #define ALIGNED_BUMPING 1 ///< JCTVC-P0192: Align bumping of pictures in an AU -
branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp
r1219 r1220 99 99 #endif 100 100 memset(m_cIlpPic, 0, sizeof(m_cIlpPic)); 101 #if Q0177_EOS_CHECKS102 101 m_isLastNALWasEos = false; 103 #endif104 102 m_lastPicHasEos = false; 105 103 #if NO_CLRAS_OUTPUT_FLAG … … 1962 1960 #endif 1963 1961 #if SVC_EXTENSION 1964 #if Q0177_EOS_CHECKS1965 1962 m_isLastNALWasEos = false; 1966 #endif1967 1963 #if AVC_BASE 1968 1964 if( m_parameterSetManagerDecoder.getPrefetchedVPS(0)->getNonHEVCBaseLayerFlag() ) … … 2004 2000 case NAL_UNIT_PREFIX_SEI: 2005 2001 case NAL_UNIT_SUFFIX_SEI: 2006 #if Q0177_EOS_CHECKS2007 if 2002 #if SVC_EXTENSION 2003 if( nalu.m_nalUnitType == NAL_UNIT_SUFFIX_SEI ) 2008 2004 { 2009 2005 assert( m_isLastNALWasEos == false ); … … 2029 2025 case NAL_UNIT_CODED_SLICE_RASL_N: 2030 2026 case NAL_UNIT_CODED_SLICE_RASL_R: 2031 #if Q0177_EOS_CHECKS2032 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 || 2033 2029 nalu.m_nalUnitType == NAL_UNIT_CODED_SLICE_TSA_R || nalu.m_nalUnitType == NAL_UNIT_CODED_SLICE_TSA_N || 2034 2030 nalu.m_nalUnitType == NAL_UNIT_CODED_SLICE_STSA_R || nalu.m_nalUnitType == NAL_UNIT_CODED_SLICE_STSA_N || … … 2042 2038 m_isLastNALWasEos = false; 2043 2039 } 2044 #endif 2045 #if SVC_EXTENSION 2040 2046 2041 return xDecodeSlice(nalu, iSkipFrame, iPOCLastDisplay, curLayerId, bNewPOC); 2047 2042 #else … … 2051 2046 2052 2047 case NAL_UNIT_EOS: 2053 #if Q0177_EOS_CHECKS2048 #if SVC_EXTENSION 2054 2049 assert( m_isLastNALWasEos == false ); 2055 2050 … … 2080 2075 2081 2076 case NAL_UNIT_FILLER_DATA: 2082 #if Q0177_EOS_CHECKS2077 #if SVC_EXTENSION 2083 2078 assert( m_isLastNALWasEos == false ); 2084 2079 #endif -
branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.h
r1212 r1220 121 121 122 122 #if SVC_EXTENSION 123 #if Q0177_EOS_CHECKS124 123 Bool m_isLastNALWasEos; 125 #endif126 124 Bool m_lastPicHasEos; 127 125 static UInt m_prevPOC; // POC of the previous slice
Note: See TracChangeset for help on using the changeset viewer.