Home
last modified time | relevance | path

Searched refs:quantlist (Results 1 – 8 of 8) sorted by relevance

/external/libvorbis/vq/
Dlatticebuild.c59 double *quantlist; in main() local
110 c.quantlist=_ogg_calloc(quantvals,sizeof(long)); in main()
112 quantlist=_ogg_malloc(sizeof(double)*c.dim*c.entries); in main()
121 if(!line || sscanf(line,"%lf",quantlist+j)!=1){ in main()
133 double min=quantlist[0]; in main()
136 for(j=1;j<quantvals;j++)if(quantlist[j]<min)min=quantlist[j]; in main()
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()
162 c.quantlist[j]=rint((quantlist[j]-min)/mindel); in main()
[all …]
Ddistribution.c83 float val=c->quantlist[i]*delta+min; in main()
100 for(i=0;i<bins;i++)sort[i]=c->quantlist+i; in main()
113 printf("%+3.1f,", c->quantlist[index]*_float32_unpack(c->q_delta)+ in main()
143 int ptr=sort[i]-c->quantlist; in main()
145 printf("%+08f (%8ld) |",c->quantlist[ptr]*delta+min,countarray[ptr]); in main()
Dbookutil.c280 c->quantlist=_ogg_malloc(sizeof(long)*quant_to_read); in codebook_load()
282 if(get_next_ivalue(in,c->quantlist+i)){ in codebook_load()
444 if(c->quantlist){ in write_codebook()
448 fprintf(out,"\t%ld,\n",c->quantlist[j]); in write_codebook()
471 if(c->quantlist) in write_codebook()
Dlocalcodebook.h52 long *quantlist; /* map == 1: (int)(entries^(1/dim)) element column map member
Dlatticetune.c150 fprintf(stderr,"%+3.1f,", c->quantlist[index]*_float32_unpack(c->q_delta)+ in main()
/external/libvorbis/lib/
Dcodebook.c106 if(!c->quantlist){ in vorbis_staticbook_pack()
135 oggpack_write(opb,labs(c->quantlist[i]),c->q_quant); in vorbis_staticbook_pack()
240 s->quantlist=_ogg_malloc(sizeof(*s->quantlist)*quantvals); in vorbis_staticbook_unpack()
242 s->quantlist[i]=oggpack_read(opb,s->q_quant); in vorbis_staticbook_unpack()
244 if(quantvals&&s->quantlist[quantvals-1]==-1)goto _eofout; in vorbis_staticbook_unpack()
Dsharedbook.c222 float val=b->quantlist[index]; in _book_unquantize()
242 float val=b->quantlist[j*b->dim+k]; in _book_unquantize()
263 if(b->quantlist)_ogg_free(b->quantlist); in vorbis_staticbook_destroy()
Dcodebook.h52 long *quantlist; /* map == 1: (int)(entries^(1/dim)) element column map member