Searched refs:_ft (Results 1 – 4 of 4) sorted by relevance
/external/libopus/celt/ |
D | entdec.c | 139 unsigned ec_decode(ec_dec *_this,unsigned _ft){ in ec_decode() argument 141 _this->ext=_this->rng/_ft; in ec_decode() 143 return _ft-EC_MINI(s+1,_ft); in ec_decode() 153 void ec_dec_update(ec_dec *_this,unsigned _fl,unsigned _fh,unsigned _ft){ in ec_dec_update() argument 155 s=IMUL32(_this->ext,_ft-_fh); in ec_dec_update() 198 opus_uint32 ec_dec_uint(ec_dec *_this,opus_uint32 _ft){ in ec_dec_uint() argument 203 celt_assert(_ft>1); in ec_dec_uint() 204 _ft--; in ec_dec_uint() 205 ftb=EC_ILOG(_ft); in ec_dec_uint() 209 ft=(unsigned)(_ft>>ftb)+1; in ec_dec_uint() [all …]
|
D | entenc.c | 128 void ec_encode(ec_enc *_this,unsigned _fl,unsigned _fh,unsigned _ft){ in ec_encode() argument 130 r=_this->rng/_ft; in ec_encode() 132 _this->val+=_this->rng-IMUL32(r,(_ft-_fl)); in ec_encode() 135 else _this->rng-=IMUL32(r,(_ft-_fh)); in ec_encode() 175 void ec_enc_uint(ec_enc *_this,opus_uint32 _fl,opus_uint32 _ft){ in ec_enc_uint() argument 180 celt_assert(_ft>1); in ec_enc_uint() 181 _ft--; in ec_enc_uint() 182 ftb=EC_ILOG(_ft); in ec_enc_uint() 185 ft=(_ft>>ftb)+1; in ec_enc_uint() 190 else ec_encode(_this,_fl,_fl+1,_ft+1); in ec_enc_uint()
|
D | entdec.h | 51 unsigned ec_decode(ec_dec *_this,unsigned _ft); 69 void ec_dec_update(ec_dec *_this,unsigned _fl,unsigned _fh,unsigned _ft); 90 opus_uint32 ec_dec_uint(ec_dec *_this,opus_uint32 _ft);
|
D | entenc.h | 50 void ec_encode(ec_enc *_this,unsigned _fl,unsigned _fh,unsigned _ft); 71 void ec_enc_uint(ec_enc *_this,opus_uint32 _fl,opus_uint32 _ft);
|