shithub: opus

Download patch

ref: e775896ed3ffb4da9d2958a30f77fd6462c2c7f7
parent: f6c4f6464eb59c2d3e66ba3d0bb44ec7883c5ffb
author: Jean-Marc Valin <[email protected]>
date: Thu Jun 2 14:11:33 EDT 2016

Getting rid of the SILK penalty for hybrid CBR.

That was likely a mistake from a misunderstanding on the SILK bit allocation

--- a/src/opus_encoder.c
+++ b/src/opus_encoder.c
@@ -980,8 +980,8 @@
    }
    if (!vbr)
    {
-      if (silk_rate > 8000)
-         silk_rate -= 1000;
+      /* Tiny boost to SILK for CBR. We should probably tune this better. */
+      silk_rate += 100;
    }
    return silk_rate;
 }