diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2011-10-20 00:39:41 -0400 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2011-10-20 00:39:41 -0400 |
commit | 294bfec27b82f879e3c3004d31bb91bcb34014f4 (patch) | |
tree | 94a6332cc1df41ec84b453ef76ee8118b95bfd8f /silk/control.h | |
parent | dbf2ea841e5b022f0b6d15a606dd7288f25c35dd (diff) | |
download | opus-294bfec27b82f879e3c3004d31bb91bcb34014f4.tar.gz |
Implements hard CBR for SILK
This is achieved by running the encoding process in a loop and
padding when we don't reach the exact rate. It also implements
VBR-with-cap, which means we no longer need to artificially decrease
the SILK bandwidth when it's close to the cap.
Diffstat (limited to 'silk/control.h')
-rw-r--r-- | silk/control.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/silk/control.h b/silk/control.h index ac1b288e..c2f906b8 100644 --- a/silk/control.h +++ b/silk/control.h @@ -83,6 +83,9 @@ typedef struct { /* I: Flag to use constant bitrate */ opus_int useCBR; + /* I: Maximum number of bits allowed for the frame */ + opus_int maxBits; + /* I: Causes a smooth downmix to mono */ opus_int toMono; |