misc minor changes
This commit is contained in:
parent
f81edea012
commit
a3803a98af
5 changed files with 8 additions and 7 deletions
2
Doxyfile
2
Doxyfile
|
@ -5,7 +5,7 @@
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
DOXYFILE_ENCODING = UTF-8
|
DOXYFILE_ENCODING = UTF-8
|
||||||
PROJECT_NAME = CELT
|
PROJECT_NAME = CELT
|
||||||
PROJECT_NUMBER = 0.6.1
|
PROJECT_NUMBER = 0.7.0
|
||||||
OUTPUT_DIRECTORY = doc/API
|
OUTPUT_DIRECTORY = doc/API
|
||||||
CREATE_SUBDIRS = NO
|
CREATE_SUBDIRS = NO
|
||||||
OUTPUT_LANGUAGE = English
|
OUTPUT_LANGUAGE = English
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
DOXYFILE_ENCODING = UTF-8
|
DOXYFILE_ENCODING = UTF-8
|
||||||
PROJECT_NAME = CELT
|
PROJECT_NAME = CELT
|
||||||
PROJECT_NUMBER = 0.6.1
|
PROJECT_NUMBER = 0.7.0
|
||||||
OUTPUT_DIRECTORY = doc/devel
|
OUTPUT_DIRECTORY = doc/devel
|
||||||
CREATE_SUBDIRS = NO
|
CREATE_SUBDIRS = NO
|
||||||
OUTPUT_LANGUAGE = English
|
OUTPUT_LANGUAGE = English
|
||||||
|
|
|
@ -270,10 +270,14 @@ EXPORT int celt_decode(CELTDecoder *st, const unsigned char *data, int len, celt
|
||||||
EXPORT int celt_decoder_ctl(CELTDecoder * st, int request, ...);
|
EXPORT int celt_decoder_ctl(CELTDecoder * st, int request, ...);
|
||||||
|
|
||||||
|
|
||||||
/* @} */
|
/** Returns the English string that corresponds to an error code
|
||||||
|
* @param error Error code (negative for an error, 0 for success
|
||||||
|
* @return Constant string (must NOT be freed)
|
||||||
|
*/
|
||||||
EXPORT const char *celt_strerror(int error);
|
EXPORT const char *celt_strerror(int error);
|
||||||
|
|
||||||
|
/* @} */
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
|
@ -67,7 +67,6 @@ int ec_byte_read1(ec_byte_buffer *_b){
|
||||||
ec_uint32 ec_dec_bits(ec_dec *_this,int _ftb){
|
ec_uint32 ec_dec_bits(ec_dec *_this,int _ftb){
|
||||||
ec_uint32 t;
|
ec_uint32 t;
|
||||||
unsigned s;
|
unsigned s;
|
||||||
unsigned ft;
|
|
||||||
t=0;
|
t=0;
|
||||||
while(_ftb>EC_UNIT_BITS){
|
while(_ftb>EC_UNIT_BITS){
|
||||||
s=ec_decode_raw(_this,EC_UNIT_BITS);
|
s=ec_decode_raw(_this,EC_UNIT_BITS);
|
||||||
|
@ -75,7 +74,6 @@ ec_uint32 ec_dec_bits(ec_dec *_this,int _ftb){
|
||||||
t=t<<EC_UNIT_BITS|s;
|
t=t<<EC_UNIT_BITS|s;
|
||||||
_ftb-=EC_UNIT_BITS;
|
_ftb-=EC_UNIT_BITS;
|
||||||
}
|
}
|
||||||
ft=1U<<_ftb;
|
|
||||||
s=ec_decode_raw(_this,_ftb);
|
s=ec_decode_raw(_this,_ftb);
|
||||||
/*ec_dec_update(_this,s,s+1,ft);*/
|
/*ec_dec_update(_this,s,s+1,ft);*/
|
||||||
t=t<<_ftb|s;
|
t=t<<_ftb|s;
|
||||||
|
|
|
@ -162,7 +162,6 @@ void alg_quant(celt_norm *X, int N, int K, int spread, ec_enc *enc)
|
||||||
if (K > (N>>1))
|
if (K > (N>>1))
|
||||||
{
|
{
|
||||||
celt_word16 rcp;
|
celt_word16 rcp;
|
||||||
sum=0;
|
|
||||||
j=0; do {
|
j=0; do {
|
||||||
sum += X[j];
|
sum += X[j];
|
||||||
} while (++j<N);
|
} while (++j<N);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue