Skip to content
Snippets Groups Projects
EncAppCfg.h 55.4 KiB
Newer Older
  • Learn to ignore specific revisions
  •   int         m_sampleRange;
      int         m_colorPrimaries;
      bool        m_enableTFunctionLUT;
      int         m_chromaLocation;
      int         m_chromaUPFilter;
      int         m_cropOffsetLeft;
      int         m_cropOffsetTop;
      int         m_cropOffsetRight;
      int         m_cropOffsetBottom;
      bool        m_calculateHdrMetrics;
    #endif
    
    
      // internal member functions
      bool  xCheckParameter ();                                   ///< check validity of configuration values
      void  xPrintParameter ();                                   ///< print configuration values
      void  xPrintUsage     ();                                   ///< print usage
    
      bool  xHasNonZeroTemporalID();                             ///< check presence of constant temporal ID in GOP structure
      bool  xHasLeadingPicture();                                 ///< check presence of leading pictures in GOP structure
    
      int   xAutoDetermineProfile();                              ///< auto determine the profile to use given the other configuration settings. Returns 1 if erred. Can select profile 'NONE'
    
    public:
      EncAppCfg();
      virtual ~EncAppCfg();
    
    public:
      void  create    ();                                         ///< create option handling class
      void  destroy   ();                                         ///< destroy option handling class
      bool  parseCfg  ( int argc, char* argv[] );                ///< parse configuration file to fill member variables
    
    };// END CLASS DEFINITION EncAppCfg
    
    //! \}
    
    #endif // __ENCAPPCFG__