shithub: opus

Download patch

ref: 5d34794d8f595430c936d5f880a29a9fb4cd7383
parent: b9fe12c42e9b08c695b5795a21dcc33fa987cd81
author: Jean-Marc Valin <[email protected]>
date: Wed Jul 4 23:49:13 EDT 2012

Gets rid of // comments

--- a/celt/celt.c
+++ b/celt/celt.c
@@ -351,7 +351,6 @@
          opus_val16 max_abs=0;
          for (j=0;j<2*block;j++)
             max_abs = MAX16(max_abs, ABS16(tmp[i*block+j]));
-         //printf("%f ", max_abs);
          bins[i] = max_abs;
          maxbin = MAX16(maxbin, bins[i]);
       }
@@ -398,7 +397,7 @@
       bmetric = 5*count1 + 4*count2 + 3*count3 + 2*count4 + count5;
       metric = fmetric+bmetric;
 
-      //if (metric>40)
+      /*if (metric>40)*/
       if (metric>20+50*MAX16(analysis->tonality, analysis->noisiness))
          is_transient=1;
 
@@ -415,7 +414,7 @@
 #ifdef FUZZING
    is_transient = rand()&0x1;
 #endif
-   //printf("%d %f %f %f %f\n", is_transient, *tf_estimate, tf_max, analysis->tonality, analysis->noisiness);
+   /*printf("%d %f %f %f %f\n", is_transient, *tf_estimate, tf_max, analysis->tonality, analysis->noisiness);*/
    return is_transient;
 }
 
--- a/src/mlp_train.c
+++ b/src/mlp_train.c
@@ -154,7 +154,7 @@
 			error[i] = out[i] - netOut[i];
 			rms += error[i]*error[i];
 			*error_rate += fabs(error[i])>1;
-                        //error[i] = error[i]/(1+fabs(error[i]));
+			/*error[i] = error[i]/(1+fabs(error[i]));*/
 		}
 		/* Back-propagate error */
 		for (i=0;i<outDim;i++)