Home
last modified time | relevance | path

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

/external/libvorbis/vq/
Dlatticebuild.c62 int entries=-1,dim=-1,quantvals=-1,addmul=-1,sequencep=0; in main() local
98 if(sscanf(line,"%d %d %d %d",&quantvals,&dim,&addmul,&sequencep)!=4){ in main()
99 if(sscanf(line,"%d %d %d",&quantvals,&dim,&addmul)!=3){ in main()
104 entries=pow(quantvals,dim); in main()
110 c.quantlist=_ogg_calloc(quantvals,sizeof(long)); in main()
119 for(j=0;j<quantvals;j++){ in main()
136 for(j=1;j<quantvals;j++)if(quantlist[j]<min)min=quantlist[j]; in main()
137 for(j=0;j<quantvals;j++) in main()
138 for(i=j+1;i<quantvals;i++) in main()
143 while(j<quantvals){ in main()
[all …]
Dlocalcodebook.h77 int quantvals; member
Dbookutil.c31 int qv=book->quantvals; in _best()
55 int maxval = book->minval + book->delta*(book->quantvals-1); in _best()
/external/tremolo/Tremolo/
Dcodebook.c61 static ogg_uint32_t decpack(long entry,long used_entry,long quantvals, in decpack() argument
75 ogg_uint32_t off=entry%quantvals; in decpack()
76 entry/=quantvals; in decpack()
87 ogg_uint32_t off=entry%quantvals; in decpack()
88 entry/=quantvals; in decpack()
146 static int _make_words(char *l,long n,ogg_uint32_t *r,long quantvals, in _make_words() argument
192 r[chase*2+bit]= decpack(i,count++,quantvals,b,opb,maptype) | in _make_words()
236 static int _make_decode_table(codebook *s,char *lengthlist,long quantvals, in _make_decode_table() argument
254 s->dec_table,quantvals,s,opb,maptype))return 1; in _make_decode_table()
264 if(_make_words(lengthlist,s->entries,work,quantvals,s,opb,maptype)) goto error_out; in _make_decode_table()
[all …]
/external/libvorbis/lib/
Dcodebook.c118 int quantvals; in vorbis_staticbook_pack() local
123 quantvals=_book_maptype1_quantvals(c); in vorbis_staticbook_pack()
127 quantvals=c->entries*c->dim; in vorbis_staticbook_pack()
130 quantvals=-1; in vorbis_staticbook_pack()
134 for(i=0;i<quantvals;i++) in vorbis_staticbook_pack()
229 int quantvals=0; in vorbis_staticbook_unpack() local
232 quantvals=(s->dim==0?0:_book_maptype1_quantvals(s)); in vorbis_staticbook_unpack()
235 quantvals=s->entries*s->dim; in vorbis_staticbook_unpack()
240 s->quantlist=_ogg_malloc(sizeof(*s->quantlist)*quantvals); in vorbis_staticbook_unpack()
241 for(i=0;i<quantvals;i++) in vorbis_staticbook_unpack()
[all …]
Dsharedbook.c199 int quantvals; in _book_unquantize() local
215 quantvals=_book_maptype1_quantvals(b); in _book_unquantize()
221 int index= (j/indexdiv)%quantvals; in _book_unquantize()
229 indexdiv*=quantvals; in _book_unquantize()
292 c->quantvals=_book_maptype1_quantvals(s); in vorbis_book_init_encode()
Dcodebook.h77 int quantvals; member
Dres0.c333 int qv=book->quantvals; in local_book_besterror()
360 int maxval = book->minval + book->delta*(book->quantvals-1); in local_book_besterror()