shithub: opus

Download patch

ref: ba3a28921a2a4cb898efe7867e6c1ff370ebe8e4
parent: 3f9857b99e3f6d38685116d3190b537e09cc9c68
author: Jean-Marc Valin <[email protected]>
date: Mon Aug 23 07:14:35 EDT 2010

MSE measurement details (no codec changes)

--- a/libcelt/bands.c
+++ b/libcelt/bands.c
@@ -326,7 +326,7 @@
    int i;
    for (i=0;i<nbMSEBands;i++)
    {
-      printf ("%f ", MSE[i]/MSECount[i]);
+      printf ("%g ", MSE[i]/MSECount[i]);
    }
    printf ("\n");
 }
@@ -345,7 +345,7 @@
       int j;
       int c;
       float g;
-      if (bandE0[i]<1 || (C==2 && bandE0[i+m->nbEBands]<1))
+      if (bandE0[i]<10 || (C==2 && bandE0[i+m->nbEBands]<1))
          continue;
       for (c=0;c<C;c++)
       {