Changeset 364 in 3DVCSoftware for branches/HTM-DEV-0.1-dev/source/App/TAppDecoder
- Timestamp:
- 3 May 2013, 16:34:51 (12 years ago)
- Location:
- branches/HTM-DEV-0.1-dev/source/App/TAppDecoder
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-DEV-0.1-dev/source/App/TAppDecoder/TAppDecCfg.cpp
r324 r364 45 45 #include <cassert> 46 46 #endif 47 48 47 #ifdef WIN32 49 48 #define strdup _strdup … … 79 78 ("OutputBitDepth,d", m_outputBitDepthY, 0, "bit depth of YUV output luma component (default: use 0 for native depth)") 80 79 ("OutputBitDepthC,d", m_outputBitDepthC, 0, "bit depth of YUV output chroma component (default: use 0 for native depth)") 81 82 80 #if H_MV 83 81 ("MaxLayerId,-ls", m_maxLayerId, MAX_NUM_LAYER_IDS-1, "Maximum LayerId to be decoded.") 84 82 #endif 85 86 83 ("MaxTemporalLayer,t", m_iMaxTemporalLayer, -1, "Maximum Temporal Layer to be decoded. -1 to decode all layers") 87 84 ("SEIDecodedPictureHash", m_decodedPictureHashSEIEnabled, 1, "Control handling of decoded picture hash SEI messages\n" … … 108 105 /* convert std::string to c string for compatability */ 109 106 m_pchBitstreamFile = cfg_BitstreamFile.empty() ? NULL : strdup(cfg_BitstreamFile.c_str()); 110 111 107 m_pchReconFile = cfg_ReconFile.empty() ? NULL : strdup(cfg_ReconFile.c_str()); 112 108 … … 191 187 } 192 188 #endif 193 194 189 //! \} -
branches/HTM-DEV-0.1-dev/source/App/TAppDecoder/TAppDecCfg.h
r324 r364 64 64 #endif 65 65 Char* m_pchReconFile; ///< output reconstruction file name 66 67 66 Int m_iSkipFrame; ///< counter for frames prior to the random access point to skip 68 67 Int m_outputBitDepthY; ///< bit depth used for writing output (luma) … … 78 77 Void xAppendToFileNameEnd( Char* pchInputFileName, const Char* pchStringToAppend, Char*& rpchOutputFileName); ///< create filenames 79 78 #endif 80 81 79 public: 82 80 TAppDecCfg() 83 81 : m_pchBitstreamFile(NULL) 84 85 82 #if H_MV 86 83 , m_maxLayerId(0) -
branches/HTM-DEV-0.1-dev/source/App/TAppDecoder/TAppDecTop.cpp
r363 r364 60 60 : m_numDecoders( 0 ) 61 61 #endif 62 63 62 { 64 63 ::memset (m_abDecFlag, 0, sizeof (m_abDecFlag)); … … 79 78 m_pchBitstreamFile = NULL; 80 79 } 81 82 80 #if H_MV 83 81 for (Int decIdx = 0; decIdx < m_numDecoders; decIdx++) -
branches/HTM-DEV-0.1-dev/source/App/TAppDecoder/TAppDecTop.h
r324 r364 90 90 Void decode (); ///< main decoding function 91 91 92 93 92 protected: 94 93 Void xCreateDecLib (); ///< create internal classes … … 153 152 Void xFlushOutput ( TComList<TComPic*>* pcListPic ); ///< flush all remaining decoded pictures to file 154 153 #endif 155 156 154 Bool isNaluWithinTargetDecLayerIdSet ( InputNALUnit* nalu ); ///< check whether given Nalu is within targetDecLayerIdSet 157 155 };
Note: See TracChangeset for help on using the changeset viewer.