/external/libvorbis/lib/ |
codebook.c | 43 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[i]-1,5) [all...] |
sharedbook.c | 217 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[i] [all...] |
codebook.h | 39 long *lengthlist; /* codeword lengths in bits */ member in struct:static_codebook
|
res0.c | 355 if(book->c->lengthlist[index]<=0){ 362 if(c->lengthlist[i]>0){
|
/external/libvorbis/vq/ |
latticetune.c | 135 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,"*");
|
distribution.c | 97 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]));
|
latticebuild.c | 107 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);
|
bookutil.c | 50 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...] |
localcodebook.h | 39 long *lengthlist; /* codeword lengths in bits */ member in struct:static_codebook
|
metrics.c | 100 if(c->c->lengthlist[j]>0){ 103 if(c->c->lengthlist[k]>0){
|
/external/tremolo/Tremolo/ |
codebook.c | 216 static int _make_decode_table(codebook *s,char *lengthlist,long quantvals, 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[i]=0 [all...] |