Update ec_dec_cdf() to use an unsigned cdf[].
For our current usage, this doesn't matter, but is more consistent with the rest of the API. We may want to reduce this to an unsigned char[], but I'd rather coordinate that optimization with SILK's planned reduction to 8-bit CDFs, as we may be able to use the same code.
This commit is contained in:
parent
de31e7e09a
commit
1aaa50d1c1
4 changed files with 5 additions and 5 deletions
|
@ -187,7 +187,7 @@ int ec_dec_bit_logp(ec_dec *_this,unsigned _logp){
|
|||
return val;
|
||||
}
|
||||
|
||||
int ec_dec_cdf(ec_dec *_this,const int *_cdf,unsigned _ftb){
|
||||
int ec_dec_cdf(ec_dec *_this,const unsigned *_cdf,unsigned _ftb){
|
||||
ec_uint32 r;
|
||||
ec_uint32 d;
|
||||
ec_uint32 s;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue