Searched refs:lengthlist (Results 1 – 11 of 11) sorted by relevance
/external/libvorbis/lib/ |
D | codebook.c | 43 if(c->lengthlist[i-1]==0 || c->lengthlist[i]<c->lengthlist[i-1])break; in vorbis_staticbook_pack() 53 oggpack_write(opb,c->lengthlist[0]-1,5); /* 1 to 32 */ in vorbis_staticbook_pack() 56 long this=c->lengthlist[i]; in vorbis_staticbook_pack() 57 long last=c->lengthlist[i-1]; in vorbis_staticbook_pack() 76 if(c->lengthlist[i]==0)break; in vorbis_staticbook_pack() 81 oggpack_write(opb,c->lengthlist[i]-1,5); in vorbis_staticbook_pack() 85 if(c->lengthlist[i]==0){ in vorbis_staticbook_pack() 89 oggpack_write(opb,c->lengthlist[i]-1,5); in vorbis_staticbook_pack() 168 s->lengthlist=_ogg_malloc(sizeof(*s->lengthlist)*s->entries); in vorbis_staticbook_unpack() 178 s->lengthlist[i]=num+1; in vorbis_staticbook_unpack() [all …]
|
D | sharedbook.c | 217 if((sparsemap && b->lengthlist[j]) || !sparsemap){ in _book_unquantize() 238 if((sparsemap && b->lengthlist[j]) || !sparsemap){ in _book_unquantize() 264 if(b->lengthlist)_ogg_free(b->lengthlist); in vorbis_staticbook_destroy() 290 c->codelist=_make_words(s->lengthlist,s->entries,0); in vorbis_book_init_encode() 320 if(s->lengthlist[i]>0) in vorbis_book_init_decode() 340 ogg_uint32_t *codes=_make_words(s->lengthlist,s->entries,c->used_entries); in vorbis_book_init_decode() 369 if(s->lengthlist[i]>0) in vorbis_book_init_decode() 374 if(s->lengthlist[i]>0) in vorbis_book_init_decode() 375 c->dec_codelengths[sortindex[n++]]=s->lengthlist[i]; in vorbis_book_init_decode() 440 return book->c->lengthlist[entry]; in vorbis_book_codelen()
|
D | codebook.h | 39 long *lengthlist; /* codeword lengths in bits */ member
|
D | res0.c | 355 if(book->c->lengthlist[index]<=0){ in local_book_besterror() 362 if(c->lengthlist[i]>0){ in local_book_besterror()
|
/external/libvorbis/vq/ |
D | latticetune.c | 135 c->lengthlist=lengths; in main() 140 long i,k,base=c->lengthlist[0]; in main() 142 if(c->lengthlist[i]>base)base=c->lengthlist[i]; in main() 145 if(c->lengthlist[j]){ in main() 155 for(k=0;k<base-c->lengthlist[j];k++)fprintf(stderr,"*"); in main()
|
D | distribution.c | 97 long base=c->lengthlist[0]; in main() 104 if(c->lengthlist[i]>base)base=c->lengthlist[i]; in main() 108 if(c->lengthlist[j]){ in main() 118 for(k=0;k<base-c->lengthlist[j];k++)printf("*"); in main() 127 if(c->lengthlist[j]){ in main() 129 countarray[index]+=(1<<(base-c->lengthlist[j])); in main()
|
D | bookutil.c | 50 if(book->c->lengthlist[index]<=0){ in _best() 57 if(c->lengthlist[i]>0){ in _best() 290 c->lengthlist=_ogg_malloc(sizeof(long)*c->entries); in codebook_load() 292 if(get_next_ivalue(in,c->lengthlist+i)){ in codebook_load() 413 long *lengthlist=_ogg_calloc(vals,sizeof(long)); in build_tree_from_lengths0() local 425 build_tree_from_lengths(upper,newhist,lengthlist); in build_tree_from_lengths0() 430 lengths[i]=lengthlist[upper++]; in build_tree_from_lengths0() 434 free(lengthlist); in build_tree_from_lengths0() 458 fprintf(out,"%2ld,",c->lengthlist[j]); in write_codebook()
|
D | latticebuild.c | 107 c.lengthlist=_ogg_malloc(entries*sizeof(long)); in main() 115 for(j=0;j<entries;j++)c.lengthlist[j]=1; in main() 168 memset(c.lengthlist,0,sizeof(long)*entries); in main() 170 build_tree_from_lengths(entries,hits,c.lengthlist); in main()
|
D | localcodebook.h | 39 long *lengthlist; /* codeword lengths in bits */ member
|
D | metrics.c | 100 if(c->c->lengthlist[j]>0){ in cell_spacing() 103 if(c->c->lengthlist[k]>0){ in cell_spacing()
|
/external/tremolo/Tremolo/ |
D | codebook.c | 230 static int _make_decode_table(codebook *s,char *lengthlist,long quantvals, in _make_decode_table() argument 235 if (!lengthlist) return 1; in _make_decode_table() 247 if(_make_words(lengthlist,s->entries, in _make_decode_table() 258 if(_make_words(lengthlist,s->entries,work,quantvals,s,opb,maptype)) goto error_out; in _make_decode_table() 400 char *lengthlist=NULL; in vorbis_book_unpack() local 425 lengthlist=(char *)calloc(s->entries, sizeof(*lengthlist)); in vorbis_book_unpack() 426 if(!lengthlist) goto _eofout; in vorbis_book_unpack() 436 lengthlist[i]=(char)(num+1); in vorbis_book_unpack() 440 lengthlist[i]=0; in vorbis_book_unpack() 448 lengthlist[i]=(char)(num+1); in vorbis_book_unpack() [all …]
|