Lines Matching refs:vals
338 void build_tree_from_lengths(int vals, long *hist, long *lengths){ in build_tree_from_lengths() argument
340 long *membership=_ogg_malloc(vals*sizeof(long)); in build_tree_from_lengths()
341 long *histsave=alloca(vals*sizeof(long)); in build_tree_from_lengths()
342 memcpy(histsave,hist,vals*sizeof(long)); in build_tree_from_lengths()
344 for(i=0;i<vals;i++)membership[i]=i; in build_tree_from_lengths()
348 for(i=vals;i>1;i--){ in build_tree_from_lengths()
355 for(j=0;j<vals;j++) in build_tree_from_lengths()
361 for(j=0;j<vals;j++) in build_tree_from_lengths()
373 for(j=0;j<vals;j++) in build_tree_from_lengths()
380 for(i=0;i<vals-1;i++) in build_tree_from_lengths()
391 for(i=0;i<vals;i++){ in build_tree_from_lengths()
407 void build_tree_from_lengths0(int vals, long *hist, long *lengths){ in build_tree_from_lengths0() argument
413 long *lengthlist=_ogg_calloc(vals,sizeof(long)); in build_tree_from_lengths0()
414 long *newhist=alloca(vals*sizeof(long)); in build_tree_from_lengths0()
416 for(i=0;i<vals;i++) in build_tree_from_lengths0()
420 if(upper != vals){ in build_tree_from_lengths0()
422 vals-upper,upper); in build_tree_from_lengths0()
428 for(i=0;i<vals;i++) in build_tree_from_lengths0()
445 long vals=(c->maptype==1?_book_maptype1_quantvals(c):c->entries*c->dim); in write_codebook() local
447 for(j=0;j<vals;j++){ in write_codebook()