Last change
on this file since 4 was
2,
checked in by hhi, 13 years ago
|
inital import
|
-
Property svn:eol-style set to
native
|
File size:
1.5 KB
|
Rev | Line | |
---|
[2] | 1 | |
---|
| 2 | |
---|
| 3 | /** \file TAppDecCfg.h |
---|
| 4 | \brief Decoder configuration class (header) |
---|
| 5 | */ |
---|
| 6 | |
---|
| 7 | #ifndef __TAPPDECCFG__ |
---|
| 8 | #define __TAPPDECCFG__ |
---|
| 9 | |
---|
| 10 | #if _MSC_VER > 1000 |
---|
| 11 | #pragma once |
---|
| 12 | #endif // _MSC_VER > 1000 |
---|
| 13 | |
---|
| 14 | #include "../../Lib/TLibCommon/CommonDef.h" |
---|
| 15 | |
---|
| 16 | // ==================================================================================================================== |
---|
| 17 | // Class definition |
---|
| 18 | // ==================================================================================================================== |
---|
| 19 | |
---|
| 20 | /// Decoder configuration class |
---|
| 21 | class TAppDecCfg |
---|
| 22 | { |
---|
| 23 | protected: |
---|
| 24 | char* m_pchBitstreamFile; ///< input bitstream file name |
---|
| 25 | char* m_pchReconFile; ///< output reconstruction file name |
---|
| 26 | char* m_pchScaleOffsetFile; ///< output coded scale and offset parameters |
---|
| 27 | #if DCM_SKIP_DECODING_FRAMES |
---|
| 28 | Int m_iSkipFrame; ///< counter for frames prior to the random access point to skip |
---|
| 29 | #endif |
---|
| 30 | UInt m_outputBitDepth; ///< bit depth used for writing output |
---|
| 31 | |
---|
| 32 | bool m_pictureDigestEnabled; ///< enable(1)/disable(0) acting on SEI picture_digest message |
---|
| 33 | Void xAppendToFileNameEnd( Char* pchInputFileName, const Char* pchStringToAppend, Char*& rpchOutputFileName); ///< create filenames |
---|
| 34 | |
---|
| 35 | public: |
---|
| 36 | TAppDecCfg() {} |
---|
| 37 | virtual ~TAppDecCfg() {} |
---|
| 38 | |
---|
| 39 | Bool parseCfg ( Int argc, Char* argv[] ); ///< initialize option class from configuration |
---|
| 40 | }; |
---|
| 41 | |
---|
| 42 | #endif |
---|
| 43 | |
---|
| 44 | |
---|
Note: See
TracBrowser for help on using the repository browser.