Home
last modified time | relevance | path

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

/external/libvorbis/vq/
Dlatticebuild.c134 double mindel=-1; in main() local
139 if(mindel==-1 || fabs(quantlist[j]-quantlist[i])<mindel) in main()
140 mindel=fabs(quantlist[j]-quantlist[i]); in main()
145 double test=fac*(quantlist[j]-min)/mindel; in main()
152 mindel/=fac; in main()
153 fprintf(stderr,"min=%g mindel=%g\n",min,mindel); in main()
156 c.q_delta=_float32_pack(mindel); in main()
160 mindel=_float32_unpack(c.q_delta); in main()
162 c.quantlist[j]=rint((quantlist[j]-min)/mindel); in main()
Dvqgen.c168 float mindel; in vqgen_quantize() local
175 mindel=maxdel=_now(v,0)[0]; in vqgen_quantize()
180 if(mindel>_now(v,j)[k]-last)mindel=_now(v,j)[k]-last; in vqgen_quantize()
191 delta=(maxdel-mindel)/((1<<q->quant)-1.5f); in vqgen_quantize()
193 q->min=_float32_pack(mindel); in vqgen_quantize()
196 mindel=_float32_unpack(q->min); in vqgen_quantize()
203 float now=rint((val-last-mindel)/delta); in vqgen_quantize()
217 if(q->sequencep)last=(now*delta)+mindel+last; in vqgen_quantize()
226 float mindel=_float32_unpack(q->min); in vqgen_unquantize() local
233 now=fabs(now)*delta+last+mindel; in vqgen_unquantize()
/external/libvorbis/lib/
Dsharedbook.c200 float mindel=_float32_unpack(b->q_min); in _book_unquantize() local
223 val=fabs(val)*delta+mindel+last; in _book_unquantize()
243 val=fabs(val)*delta+mindel+last; in _book_unquantize()