Home
last modified time | relevance | path

Searched refs:IMUL32 (Results 1 – 3 of 3) sorted by relevance

/external/libopus/celt/
Dentenc.c132 _this->val+=_this->rng-IMUL32(r,(_ft-_fl)); in ec_encode()
133 _this->rng=IMUL32(r,(_fh-_fl)); in ec_encode()
135 else _this->rng-=IMUL32(r,(_ft-_fh)); in ec_encode()
143 _this->val+=_this->rng-IMUL32(r,((1U<<_bits)-_fl)); in ec_encode_bin()
144 _this->rng=IMUL32(r,(_fh-_fl)); in ec_encode_bin()
146 else _this->rng-=IMUL32(r,((1U<<_bits)-_fh)); in ec_encode_bin()
168 _this->val+=_this->rng-IMUL32(r,_icdf[_s-1]); in ec_enc_icdf()
169 _this->rng=IMUL32(r,_icdf[_s-1]-_icdf[_s]); in ec_enc_icdf()
171 else _this->rng-=IMUL32(r,_icdf[_s]); in ec_enc_icdf()
Dentdec.c155 s=IMUL32(_this->ext,_ft-_fh); in ec_dec_update()
157 _this->rng=_fl>0?IMUL32(_this->ext,_fh-_fl):_this->rng-s; in ec_dec_update()
189 s=IMUL32(r,_icdf[++ret]); in ec_dec_icdf()
Darch.h70 #define IMUL32(a,b) ((a)*(b)) macro