Loading apps/encoder.c +0 −37 Original line number Diff line number Diff line Loading @@ -29,7 +29,6 @@ the United Nations Convention on Contracts on the International Sales of Goods. *******************************************************************************************************/ #define DEBUGGING_Z #include <string.h> #include "options.h" Loading Loading @@ -167,10 +166,6 @@ typedef struct char *sceneOrientationTrajFileName; char *deviceOrientationTrajFileName; #ifdef DEBUGGING_Z int32_t max_frames; #endif char *requestsFileName; } EncArguments; Loading Loading @@ -925,13 +920,6 @@ int main( } frame++; #ifdef DEBUGGING_Z if ( frame == arg.max_frames ) { fprintf( stderr, "reached frame #%d, exiting\n", frame ); break; } #endif if ( !arg.quietModeEnabled ) { fprintf( stdout, "%-8d\b\b\b\b\b\b\b\b", frame ); Loading Loading @@ -1082,9 +1070,6 @@ static bool parseCmdlIVAS_enc( #endif #endif arg->pca = false; #ifdef DEBUGGING_Z arg->max_frames = 0; #endif /*-----------------------------------------------------------------* * Initialization Loading Loading @@ -1154,28 +1139,6 @@ static bool parseCmdlIVAS_enc( arg->quietModeEnabled = true; } #ifdef DEBUGGING_Z /*-----------------------------------------------------------------* * Maximum number of frames to process *-----------------------------------------------------------------*/ else if ( strcmp( argv[i], "-z" ) == 0 ) { i++; if ( sscanf( argv[i], "%d", &tmp ) <= 0 ) { fprintf( stderr, "Error: -z number-of-frames\n\n" ); usage_enc(); } else { arg->max_frames = tmp; i++; } } #endif /*-----------------------------------------------------------------* * DTX/CNG *-----------------------------------------------------------------*/ Loading Loading
apps/encoder.c +0 −37 Original line number Diff line number Diff line Loading @@ -29,7 +29,6 @@ the United Nations Convention on Contracts on the International Sales of Goods. *******************************************************************************************************/ #define DEBUGGING_Z #include <string.h> #include "options.h" Loading Loading @@ -167,10 +166,6 @@ typedef struct char *sceneOrientationTrajFileName; char *deviceOrientationTrajFileName; #ifdef DEBUGGING_Z int32_t max_frames; #endif char *requestsFileName; } EncArguments; Loading Loading @@ -925,13 +920,6 @@ int main( } frame++; #ifdef DEBUGGING_Z if ( frame == arg.max_frames ) { fprintf( stderr, "reached frame #%d, exiting\n", frame ); break; } #endif if ( !arg.quietModeEnabled ) { fprintf( stdout, "%-8d\b\b\b\b\b\b\b\b", frame ); Loading Loading @@ -1082,9 +1070,6 @@ static bool parseCmdlIVAS_enc( #endif #endif arg->pca = false; #ifdef DEBUGGING_Z arg->max_frames = 0; #endif /*-----------------------------------------------------------------* * Initialization Loading Loading @@ -1154,28 +1139,6 @@ static bool parseCmdlIVAS_enc( arg->quietModeEnabled = true; } #ifdef DEBUGGING_Z /*-----------------------------------------------------------------* * Maximum number of frames to process *-----------------------------------------------------------------*/ else if ( strcmp( argv[i], "-z" ) == 0 ) { i++; if ( sscanf( argv[i], "%d", &tmp ) <= 0 ) { fprintf( stderr, "Error: -z number-of-frames\n\n" ); usage_enc(); } else { arg->max_frames = tmp; i++; } } #endif /*-----------------------------------------------------------------* * DTX/CNG *-----------------------------------------------------------------*/ Loading