Searched refs:lengthlist (Results 1 - 11 of 11) sorted by relevance

/external/libvorbis/lib/
H A Dcodebook.c43 if(c->lengthlist[i-1]==0 || c->lengthlist[i]<c->lengthlist[i-1])break;
53 oggpack_write(opb,c->lengthlist[0]-1,5); /* 1 to 32 */
56 long this=c->lengthlist[i];
57 long last=c->lengthlist[i-1];
76 if(c->lengthlist[i]==0)break;
81 oggpack_write(opb,c->lengthlist[i]-1,5);
85 if(c->lengthlist[i]==0){
89 oggpack_write(opb,c->lengthlist[
[all...]
H A Dsharedbook.c217 if((sparsemap && b->lengthlist[j]) || !sparsemap){
238 if((sparsemap && b->lengthlist[j]) || !sparsemap){
264 if(b->lengthlist)_ogg_free(b->lengthlist);
290 c->codelist=_make_words(s->lengthlist,s->entries,0);
320 if(s->lengthlist[i]>0)
340 ogg_uint32_t *codes=_make_words(s->lengthlist,s->entries,c->used_entries);
369 if(s->lengthlist[i]>0)
374 if(s->lengthlist[i]>0)
375 c->dec_codelengths[sortindex[n++]]=s->lengthlist[
[all...]
H A Dcodebook.h39 long *lengthlist; /* codeword lengths in bits */ member in struct:static_codebook
H A Dres0.c355 if(book->c->lengthlist[index]<=0){
362 if(c->lengthlist[i]>0){
/external/libvorbis/vq/
H A Dlatticetune.c135 c->lengthlist=lengths;
140 long i,k,base=c->lengthlist[0];
142 if(c->lengthlist[i]>base)base=c->lengthlist[i];
145 if(c->lengthlist[j]){
155 for(k=0;k<base-c->lengthlist[j];k++)fprintf(stderr,"*");
H A Ddistribution.c97 long base=c->lengthlist[0];
104 if(c->lengthlist[i]>base)base=c->lengthlist[i];
108 if(c->lengthlist[j]){
118 for(k=0;k<base-c->lengthlist[j];k++)printf("*");
127 if(c->lengthlist[j]){
129 countarray[index]+=(1<<(base-c->lengthlist[j]));
H A Dlatticebuild.c107 c.lengthlist=_ogg_malloc(entries*sizeof(long));
115 for(j=0;j<entries;j++)c.lengthlist[j]=1;
168 memset(c.lengthlist,0,sizeof(long)*entries);
170 build_tree_from_lengths(entries,hits,c.lengthlist);
H A Dbookutil.c50 if(book->c->lengthlist[index]<=0){
57 if(c->lengthlist[i]>0){
287 /* load the lengthlist */
290 c->lengthlist=_ogg_malloc(sizeof(long)*c->entries);
292 if(get_next_ivalue(in,c->lengthlist+i)){
413 long *lengthlist=_ogg_calloc(vals,sizeof(long)); local
425 build_tree_from_lengths(upper,newhist,lengthlist);
430 lengths[i]=lengthlist[upper++];
434 free(lengthlist);
453 /* lengthlist */
[all...]
H A Dlocalcodebook.h39 long *lengthlist; /* codeword lengths in bits */ member in struct:static_codebook
H A Dmetrics.c100 if(c->c->lengthlist[j]>0){
103 if(c->c->lengthlist[k]>0){
/external/tremolo/Tremolo/
H A Dcodebook.c216 static int _make_decode_table(codebook *s,char *lengthlist,long quantvals, argument
221 if (!lengthlist) return 1;
233 if(_make_words(lengthlist,s->entries,
244 if(_make_words(lengthlist,s->entries,work,quantvals,s,opb,maptype)) goto error_out;
386 char *lengthlist=NULL; local
411 lengthlist=(char *)calloc(s->entries, sizeof(*lengthlist));
412 if(!lengthlist) goto _eofout;
422 lengthlist[i]=(char)(num+1);
426 lengthlist[
[all...]

Completed in 959 milliseconds