Searched refs:_ft (Results 1 - 4 of 4) sorted by relevance

/external/libopus/celt/
H A Dentdec.h44 _ft: The total frequency of the symbols in the alphabet the next symbol was
51 unsigned ec_decode(ec_dec *_this,unsigned _ft);
53 /*Equivalent to ec_decode() with _ft==1<<_bits.*/
66 _ft: The total frequency of the symbols in the alphabet the symbol decoded
69 void ec_dec_update(ec_dec *_this,unsigned _fl,unsigned _fh,unsigned _ft);
87 _ft: The number of integers that can be decoded (one more than the max).
90 opus_uint32 ec_dec_uint(ec_dec *_this,opus_uint32 _ft);
H A Dentdec.c139 unsigned ec_decode(ec_dec *_this,unsigned _ft){ argument
141 _this->ext=_this->rng/_ft;
143 return _ft-EC_MINI(s+1,_ft);
153 void ec_dec_update(ec_dec *_this,unsigned _fl,unsigned _fh,unsigned _ft){ argument
155 s=IMUL32(_this->ext,_ft-_fh);
198 opus_uint32 ec_dec_uint(ec_dec *_this,opus_uint32 _ft){ argument
203 celt_assert(_ft>1);
204 _ft--;
205 ftb=EC_ILOG(_ft);
[all...]
H A Dentenc.h49 _ft: The sum of the frequencies of all the symbols*/
50 void ec_encode(ec_enc *_this,unsigned _fl,unsigned _fh,unsigned _ft);
52 /*Equivalent to ec_encode() with _ft==1<<_bits.*/
69 _ft: The number of integers that can be encoded (one more than the max).
71 void ec_enc_uint(ec_enc *_this,opus_uint32 _fl,opus_uint32 _ft);
H A Dentenc.c128 void ec_encode(ec_enc *_this,unsigned _fl,unsigned _fh,unsigned _ft){ argument
130 r=_this->rng/_ft;
132 _this->val+=_this->rng-IMUL32(r,(_ft-_fl));
135 else _this->rng-=IMUL32(r,(_ft-_fh));
175 void ec_enc_uint(ec_enc *_this,opus_uint32 _fl,opus_uint32 _ft){ argument
180 celt_assert(_ft>1);
181 _ft--;
182 ftb=EC_ILOG(_ft);
185 ft=(_ft>>ftb)+1;
190 else ec_encode(_this,_fl,_fl+1,_ft
[all...]

Completed in 100 milliseconds