Commit 91e66c2b authored by malenov's avatar malenov
Browse files

simplification in count.c

parent bfd80ab3
Loading
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -53,7 +53,6 @@

#ifdef WMOPS
static double frameRate = FRAME_RATE; /* default value : 10 ms */
#endif                                /* ifdef WMOPS */

#define MAX_RECORDS 1024
#define MAX_STACK   64
@@ -82,17 +81,13 @@ static struct wmops_record wmops[MAX_RECORDS];
static int stack[MAX_STACK];
static int sptr;


#ifdef WMOPS
/* Global counter variable for calculation of complexity weight */
/* Some enhancement written by Vail., GJR and M.Mul. during EVS time */

BASIC_OP multiCounter[MAXCOUNTERS];
BASIC_OP glob_multiCounter;
int currCounter = 0; /* Zero equals global counter */
#endif               /* ifdef WMOPS */

#ifdef WMOPS
void setFrameRate( int samplingFreq, int frameLength )
{
    if ( frameLength > 0 )
@@ -102,9 +97,7 @@ void setFrameRate( int samplingFreq, int frameLength )
    return;
}

#endif /* ifdef WMOPS */

#ifdef WMOPS
/*
 * Below list is used for displaying the code profiling information in
 * the file which name is defined by CODE_PROFILE_FILENAME.
@@ -172,10 +165,8 @@ char *BasicOperationList[] = {
#endif /* #ifdef CONTROL_CODE_OPS */

};
#endif /* ifdef WMOPS */


#ifdef WMOPS
const BASIC_OP op_weight = {
    1, 1, 1, 1, 1,
    1, 1, 1, 1, 1,