46 #include "../Lib/TLibCommon/Debug.h"
52 int main(
int argc,
char* argv[])
57 fprintf( stdout,
"\n" );
58 fprintf( stdout,
"HM software: Encoder Version [%s] (including RExt)",
NV_VERSION );
62 fprintf( stdout,
"\n\n" );
70 if(!cTAppEncTop.
parseCfg( argc, argv ))
73 #if ENVIRONMENT_VARIABLE_DEBUG_AND_TEST
81 std::cerr <<
"Error parsing option \""<< e.
arg <<
"\" with argument \""<< e.
val <<
"\"." << std::endl;
85 #if PRINT_MACRO_VALUES
89 #if ENVIRONMENT_VARIABLE_DEBUG_AND_TEST
95 clock_t lBefore = clock();
101 dResult = (
Double)(clock()-lBefore) / CLOCKS_PER_SEC;
102 printf(
"\n Total Time: %12.3f sec.\n", dResult);
Void create()
create option handling class
Encoder application class (header)
Void printMacroSettings()
#define NVM_BITS
used for checking 64-bit O/S
Bool parseCfg(Int argc, TChar *argv[])
parse configuration file to fill member variables
static Void printEnvVar()
int main(int argc, char *argv[])
encoder application class
static Void printEnvVarInUse()
Void destroy()
destroy option handling class
Void encode()
main encoding function
#define NV_VERSION
Current software version.