Changeset 1313 in 3DVCSoftware for trunk/source/App/TAppDecoder/TAppDecTop.h
- Timestamp:
- 13 Aug 2015, 17:38:13 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/App/TAppDecoder/TAppDecTop.h
r1179 r1313 2 2 * License, included below. This software may be subject to other third party 3 3 * and contributor rights, including patent rights, and no such rights are 4 * granted under this license. 4 * granted under this license. 5 5 * 6 * Copyright (c) 2010-2015, ITU/ISO/IEC6 * Copyright (c) 2010-2015, ITU/ISO/IEC 7 7 * All rights reserved. 8 8 * … … 61 61 private: 62 62 // class interface 63 #if H_MV63 #if NH_MV 64 64 TDecTop* m_tDecTop [ MAX_NUM_LAYERS ]; ///< decoder classes 65 65 TVideoIOYuv* m_tVideoIOYuvReconFile[ MAX_NUM_LAYERS ]; ///< reconstruction YUV class … … 68 68 TComPicLists m_ivPicLists; ///< picture buffers of decoder instances 69 69 Bool m_layerInitilizedFlags[ MAX_NUM_LAYER_IDS ]; ///< for layerwise startup 70 TComVPS*m_vps; ///< active VPS70 const TComVPS* m_vps; ///< active VPS 71 71 #else 72 72 TDecTop m_cTDecTop; ///< decoder class 73 73 TVideoIOYuv m_cTVideoIOYuvReconFile; ///< reconstruction YUV class 74 74 #endif 75 76 #if H_MV75 // for output control 76 #if NH_MV 77 77 Int m_pocLastDisplay [ MAX_NUM_LAYERS ]; ///< last POC in display order 78 78 Bool m_reconOpen [ MAX_NUM_LAYERS ]; ///< reconstruction file opened … … 81 81 Int m_iPOCLastDisplay; ///< last POC in display order 82 82 #endif 83 std::ofstream m_seiMessageFileStream; ///< Used for outputing SEI messages. 83 84 84 #if H_3D85 #if NH_3D 85 86 FILE* m_pScaleOffsetFile; 86 87 CamParsCollector m_cCamParsCollector; … … 89 90 TAppDecTop(); 90 91 virtual ~TAppDecTop() {} 91 92 92 93 Void create (); ///< create internal members 93 94 Void destroy (); ///< destroy internal members 94 95 Void decode (); ///< main decoding function 96 #if NH_MV 97 UInt getNumberOfChecksumErrorsDetected( ) const 98 { 99 UInt numOfChecksumErrors = 0; 100 for (Int i = 0; i < m_numDecoders; i++ ) 101 { 102 numOfChecksumErrors += getNumberOfChecksumErrorsDetected( i ); 103 } 104 return numOfChecksumErrors; 105 } 106 107 UInt getNumberOfChecksumErrorsDetected( Int decIdx ) const { return m_tDecTop[decIdx]->getNumberOfChecksumErrorsDetected(); } 108 109 #else 110 UInt getNumberOfChecksumErrorsDetected() const { return m_cTDecTop.getNumberOfChecksumErrorsDetected(); } 111 #endif 95 112 96 113 protected: … … 99 116 Void xInitDecLib (); ///< initialize decoder class 100 117 101 #if H_MV118 #if NH_MV 102 119 Void xWriteOutput ( TComList<TComPic*>* pcListPic, Int layerId, Int tId ); ///< write YUV to file 103 120
Note: See TracChangeset for help on using the changeset viewer.