Changeset 1131 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder
- Timestamp:
- 7 Jul 2015, 03:31:59 (10 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibDecoder
- Files:
-
- 2 edited
-
TDecTop.cpp (modified) (8 diffs)
-
TDecTop.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp
r1130 r1131 106 106 m_isLastNALWasEos = false; 107 107 #endif 108 #if R0071_IRAP_EOS_CROSS_LAYER_IMPACTS109 108 m_lastPicHasEos = false; 110 #endif111 109 #if NO_CLRAS_OUTPUT_FLAG 112 110 m_noClrasOutputFlag = false; … … 852 850 setNoClrasOutputFlag(true); 853 851 } 854 #if R0071_IRAP_EOS_CROSS_LAYER_IMPACTS855 852 else if( m_lastPicHasEos ) 856 853 { 857 854 setNoClrasOutputFlag(true); 858 855 } 859 #endif860 856 else if ( m_apcSlicePilot->getBlaPicFlag() ) 861 857 { … … 1483 1479 } 1484 1480 #endif 1485 #if R0071_IRAP_EOS_CROSS_LAYER_IMPACTS 1481 1482 #if SVC_EXTENSION 1486 1483 xCheckLayerReset(); 1487 1484 xSetLayerInitializedFlag(); 1488 1485 #endif 1486 1489 1487 // Buffer initialize for prediction. 1490 1488 m_cPrediction.initTempBuff(m_apcSlicePilot->getSPS()->getChromaFormatIdc()); … … 1993 1991 setFirstPicInLayerDecodedFlag(true); 1994 1992 #endif 1995 #if R0071_IRAP_EOS_CROSS_LAYER_IMPACTS1993 #if SVC_EXTENSION 1996 1994 m_lastPicHasEos = false; 1997 1995 #endif … … 2248 2246 #if Q0177_EOS_CHECKS 2249 2247 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 2258 2249 m_isLastNALWasEos = true; 2259 #if R0071_IRAP_EOS_CROSS_LAYER_IMPACTS2260 2250 m_lastPicHasEos = true; 2261 #endif2262 2251 #endif 2263 2252 m_associatedIRAPType = NAL_UNIT_INVALID; … … 2687 2676 #endif 2688 2677 2689 #if R0071_IRAP_EOS_CROSS_LAYER_IMPACTS2690 2678 Void TDecTop::xCheckLayerReset() 2691 2679 { … … 2772 2760 } 2773 2761 } 2774 #endif 2775 2776 #if SVC_EXTENSION 2762 2777 2763 Void TDecTop::xDeriveSmallestLayerId(TComVPS* vps) 2778 2764 { … … 2811 2797 } 2812 2798 } 2813 #endif2814 2799 2815 2800 Void TDecTop::xSetSpatialEnhLayerFlag(TComSlice* slice, TComPic* pic) -
branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.h
r1111 r1131 124 124 Bool m_isLastNALWasEos; 125 125 #endif 126 #if R0071_IRAP_EOS_CROSS_LAYER_IMPACTS127 126 Bool m_lastPicHasEos; 128 #endif129 127 static UInt m_prevPOC; // POC of the previous slice 130 128 static UInt m_uiPrevLayerId; // LayerId of the previous slice … … 310 308 Void xDecodeSEI( TComInputBitstream* bs, const NalUnitType nalUnitType ); 311 309 310 #if SVC_EXTENSION 312 311 #if NO_CLRAS_OUTPUT_FLAG 313 312 Int getNoClrasOutputFlag() { return m_noClrasOutputFlag;} … … 324 323 Void resetPocRestrictionCheckParameters(); 325 324 #endif 326 #if R0071_IRAP_EOS_CROSS_LAYER_IMPACTS327 325 Void xCheckLayerReset(); 328 326 Void xSetNoRaslOutputFlag();
Note: See TracChangeset for help on using the changeset viewer.