Changeset 1200 in 3DVCSoftware for branches/HTM-14.1-update-dev0/source/App/TAppDecoder/TAppDecCfg.h
- Timestamp:
- 4 May 2015, 18:38:08 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-14.1-update-dev0/source/App/TAppDecoder/TAppDecCfg.h
r1179 r1200 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 * … … 45 45 #include "TLibCommon/CommonDef.h" 46 46 #include <vector> 47 47 48 //! \ingroup TAppDecoder 48 49 //! \{ … … 56 57 { 57 58 protected: 58 Char* m_pchBitstreamFile; ///< input bitstream file name59 #if H_MV60 Int m_targetOptLayerSetIdx; ///< target output layer set index61 Int m_maxLayerId; ///< maximum nuh_layer_id decoded62 std::vector<Char*> m_pchReconFiles; ///< array of output reconstruction file name create from output reconstruction file name59 Char* m_pchBitstreamFile; ///< input bitstream file name 60 #if NH_MV 61 Int m_targetOptLayerSetIdx; ///< target output layer set index 62 Int m_maxLayerId; ///< maximum nuh_layer_id decoded 63 std::vector<Char*> m_pchReconFiles; ///< array of output reconstruction file name create from output reconstruction file name 63 64 #endif 64 Char* m_pchReconFile; ///< output reconstruction file name 65 #if H_3D 66 Char* m_pchScaleOffsetFile; ///< output coded scale and offset parameters 65 Char* m_pchReconFile; ///< output reconstruction file name 66 #if NH_3D 67 Char* m_pchScaleOffsetFile; ///< output coded scale and offset parameters 68 Bool m_depth420OutputFlag; ///< output depth layers in 4:2:0 67 69 #endif 68 Int m_iSkipFrame; ///< counter for frames prior to the random access point to skip69 Int m_outputBitDepth Y; ///< bit depth used for writing output (luma)70 In t m_outputBitDepthC; ///< bit depth used for writing output (chroma)t70 Int m_iSkipFrame; ///< counter for frames prior to the random access point to skip 71 Int m_outputBitDepth[MAX_NUM_CHANNEL_TYPE]; ///< bit depth used for writing output 72 InputColourSpaceConversion m_outputColourSpaceConvert; 71 73 72 74 Int m_iMaxTemporalLayer; ///< maximum temporal layer to be decoded 73 75 Int m_decodedPictureHashSEIEnabled; ///< Checksum(3)/CRC(2)/MD5(1)/disable(0) acting on decoded picture hash SEI message 76 Bool m_decodedNoDisplaySEIEnabled; ///< Enable(true)/disable(false) writing only pictures that get displayed based on the no display SEI message 77 std::vector<Int> m_targetDecLayerIdSet; ///< set of LayerIds to be included in the sub-bitstream extraction process. 78 #if NH_MV 79 Bool m_targetDecLayerIdSetFileEmpty; ///< indication if target layers are given by file 80 #endif 74 81 75 std::vector<Int> m_targetDecLayerIdSet; ///< set of LayerIds to be included in the sub-bitstream extraction process.76 #if H_MV77 Bool m_targetDecLayerIdSetFileEmpty; ///< indication if target layers are given by file82 Int m_respectDefDispWindow; ///< Only output content inside the default display window 83 #if O0043_BEST_EFFORT_DECODING 84 UInt m_forceDecodeBitDepth; ///< if non-zero, force the bit depth at the decoder (best effort decoding) 78 85 #endif 79 Int m_respectDefDispWindow; ///< Only output content inside the default display window80 81 #if H_MV86 std::string m_outputDecodedSEIMessagesFilename; ///< filename to output decoded SEI messages to. If '-', then use stdout. If empty, do not output details. 87 Bool m_bClipOutputVideoToRec709Range; ///< If true, clip the output video to the Rec 709 range on saving. 88 #if NH_MV 82 89 Bool m_outputVpsInfo; ///< Output VPS information 83 90 Void xAppendToFileNameEnd( Char* pchInputFileName, const Char* pchStringToAppend, Char*& rpchOutputFileName); ///< create filenames 84 91 #endif 92 85 93 public: 86 94 TAppDecCfg() … … 88 96 , m_pchReconFile(NULL) 89 97 , m_iSkipFrame(0) 90 , m_outputBitDepthY(0) 91 , m_outputBitDepthC(0) 98 , m_outputColourSpaceConvert(IPCOLOURSPACE_UNCHANGED) 92 99 , m_iMaxTemporalLayer(-1) 93 100 , m_decodedPictureHashSEIEnabled(0) 94 #if H_MV 101 , m_decodedNoDisplaySEIEnabled(false) 102 #if NH_MV 95 103 , m_targetDecLayerIdSetFileEmpty(true) 96 104 #endif 97 105 , m_respectDefDispWindow(0) 98 {} 106 #if O0043_BEST_EFFORT_DECODING 107 , m_forceDecodeBitDepth(0) 108 #endif 109 { 110 for (UInt channelTypeIndex = 0; channelTypeIndex < MAX_NUM_CHANNEL_TYPE; channelTypeIndex++) 111 { 112 m_outputBitDepth[channelTypeIndex] = 0; 113 } 114 } 115 99 116 virtual ~TAppDecCfg() {} 100 117 101 118 Bool parseCfg ( Int argc, Char* argv[] ); ///< initialize option class from configuration 102 119 };
Note: See TracChangeset for help on using the changeset viewer.