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/API.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/API.h')
-rw-r--r-- | silk/API.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -56,7 +56,7 @@ typedef struct { /* Get size in bytes of the Silk encoder state */ /***********************************************/ opus_int silk_Get_Encoder_Size( /* O: Returns error code */ - int *encSizeBytes /* O: Number of bytes in SILK encoder state */ + opus_int *encSizeBytes /* O: Number of bytes in SILK encoder state */ ); /*************************/ @@ -98,7 +98,7 @@ opus_int silk_Encode( /* O: Returns error c /* Get size in bytes of the Silk decoder state */ /***********************************************/ opus_int silk_Get_Decoder_Size( /* O: Returns error code */ - int *decSizeBytes /* O: Number of bytes in SILK decoder state */ + opus_int *decSizeBytes /* O: Number of bytes in SILK decoder state */ ); /*************************/ |