Commit 77f22a11 authored by vaclav's avatar vaclav
Browse files

editorial changes to options.h

parent 41a36b9c
Loading
Loading
Loading
Loading
Loading
+28 −23
Original line number Diff line number Diff line
@@ -38,10 +38,24 @@
#define OPTIONS_H

/* clang-format off */
  /* ################### Start compiler switches ######################## */

#define SUPPORT_JBM_TRACEFILE                   /* support for JBM tracefile, which is needed for 3GPP objective/subjective testing, but not relevant for real-world implementations */

/* #################### End compiler switches ######################### */


/* ################### Start DEBUGGING switches ######################## */

/*#define DEBUGGING*/                             /* Allows debugging message to be printed out during runtime */
#ifndef RELEASE
/*#define DEBUGGING*/                           /* Activate debugging part of the code */
#endif
/*#define WMOPS*/                               /* Activate complexity and memory counters */
/*#define WMOPS_PER_FRAME*/                     /* Output per-frame complexity (writes one float value per frame to the file "wmops_analysis") */
/*#define WMOPS_DETAIL*/                        /* Output detailed complexity printout for every function. Increases runtime overhead */
/*#define WMOPS_WC_FRAME_ANALYSIS*/             /* Output detailed complexity analysis for the worst-case frame */
/*define MEM_COUNT_DETAILS*/                    /* Output detailed memory analysis for the worst-case frame (writes to the file "mem_analysis.csv") */

#ifdef DEBUGGING
/*#define DBG_BITSTREAM_ANALYSIS*/              /* Write bitstream with annotations to a text file */
#define DEBUG_MODE_INFO                         /* Define to output most important parameters to the subdirectory "res/" */
@@ -51,23 +65,14 @@
/*#define DBG_WAV_WRITER*/                      /* Enable dbgwrite_wav() function for generating ".wav" files */
#define SUPPORT_FORCE_TCX10_TCX20               /* VA: Enable -force tcx10|tcx20 command-line option */
/*#define DEBUG_MODE_JBM */                     /* define to output JBM relevant parameters */
#endif

#define SUPPORT_JBM_TRACEFILE                   /* Support for JBM tracefile, which is needed for 3GPP objective/subjective testing, but not relevant for real-world implementations */

/*#define WMOPS*/                                    /* Activate complexity and memory counters */
#ifdef WMOPS
#define WMOPS_PER_FRAME                   /* Output per-frame complexity (writes one float value per frame to the file "wmops_analysis") */
#define WMOPS_DETAIL                       /* Output detailed complexity printout for every function. Increases runtime overhead */
#define WMOPS_WC_FRAME_ANALYSIS             /* Output detailed complexity analysis for the worst-case frame */
/*define MEM_COUNT_DETAILS*/                   /* Output detailed memory analysis for the worst-case frame (writes to the file "mem_analysis.csv") */
#endif

/*#define DISABLE_LIMITER*/
/*#define DEBUG_APA_SILENCE_NON_SCALED*/        /* Switch APA into mode that replaces contents of non-scaled frames with silence. Useful for identifying scaled regions in the audio output of the decoder  */

#endif /* DEBUGGING */

/* #################### End DEBUGGING switches ############################ */

/* keep as part of options.h */
/*#define DISABLE_LIMITER*/

/* ################### Start MAINTENANCE switches ########################### */