Displaying 3 results from an estimated 3 matches for "_fl".
Did you mean:
_f
2011 Mar 03
0
[PATCH] Eliminate the ec_int32 and ec_uint32 typedefs.
...uf,ec_uint32 _storage){
+void ec_dec_init(ec_dec *_this,unsigned char *_buf,celt_uint32 _storage){
_this->buf=_buf;
_this->storage=_storage;
_this->end_offs=0;
@@ -160,7 +160,7 @@ unsigned ec_decode_bin(ec_dec *_this,unsigned _bits){
}
void ec_dec_update(ec_dec *_this,unsigned _fl,unsigned _fh,unsigned _ft){
- ec_uint32 s;
+ celt_uint32 s;
s=IMUL32(_this->ext,_ft-_fh);
_this->val-=s;
_this->rng=_fl>0?IMUL32(_this->ext,_fh-_fl):_this->rng-s;
@@ -169,10 +169,10 @@ void ec_dec_update(ec_dec *_this,unsigned _fl,unsigned _fh,unsigned _ft){
/*The pr...
2008 Dec 21
0
[PATCH] Fix ectest to not check a case which isn't guaranteed to work, and which we don't use.
...ndefined for the value 0.*/
+ celt_assert(_ft>1);
_ft--;
ftb=EC_ILOG(_ft);
if(ftb>EC_UNIT_BITS){
diff --git a/libcelt/entenc.c b/libcelt/entenc.c
index 3da351e..d0cbb0c 100644
--- a/libcelt/entenc.c
+++ b/libcelt/entenc.c
@@ -100,8 +100,10 @@ void ec_enc_uint(ec_enc *_this,ec_uint32 _fl,ec_uint32 _ft){
unsigned ft;
unsigned fl;
int ftb;
+ /*In order to optimize EC_ILOG(), it is undefined for the value 0.*/
+ celt_assert(_ft>1);
_ft--;
- ftb=EC_ILOG(_ft)&-!!_ft;
+ ftb=EC_ILOG(_ft);
if(ftb>EC_UNIT_BITS){
ftb-=EC_UNIT_BITS;
ft=(_ft>&g...
2009 Jul 23
1
[PATCH server] changes required for fedora rawhide inclusion.
...vH!r
ztwM7i>a6;YJ^{vM5fhCBtJdPKU1g_n_1QvX(uZ at wu0iUqL9Bd(tbDzlqrIKuj<it{
z_H3Ms$0$bZnF!g4T_Qjd1es37&5gg}AGNO;Kvp9b${<COR+e6a>jr at m(gvj=((9ft
z15A(mp3L`3YF6d}pzsc$?jBw{WzRph9>ANHF&`w&uc82~;RI-H4b`R6E~W=}NMNbh
zUeU9!rqojy922N0neeFthx+3nK24k0e2pYxlym0chAX}9Mc;i&-vQ}t5_FL<^0GqT
zvxC@(5L`1qQZ9@^JD|DGc at T>&Iy+Zgm&E`tJmP^gm#B+5fhq9&$^>ABR{>3<h+=&Q
zdkPCo+Ho5J!x*6~03;g=I1N;^_udD~7d#75J=J$6P}1bHsE^c1Y;lmNkr1vRe(%z=
zafxToS at v!l{xX<@cwm7*L-E<9bsrvEwhE;h-Y%$zr7(Sc*1qTUCzjUG#t(*vQQ+6D
zK?|YU at sA2)H)C8T`mU?q*B!0l%&O>UK6vfLs}M...