search for: thresh_tree

Displaying 3 results from an estimated 3 matches for "thresh_tree".

2000 Sep 13
0
vq: postbeta2 patch
...} if(feof(in))break; diff -bBu2 branch_postbeta2/vq/latticepare.c vorbis-postb2/vq/latticepare.c --- branch_postbeta2/vq/latticepare.c Thu Aug 31 05:00:03 2000 +++ vorbis-postb2/vq/latticepare.c Wed Sep 13 18:08:51 2000 @@ -86,5 +86,5 @@ encode_aux_threshmatch *tt=b->c->thresh_tree; int dim=b->dim; - int i,k,o; + int k,o; int best=0; @@ -102,7 +102,7 @@ static int closest(codebook *b,float *vec,int current){ - encode_aux_threshmatch *tt=b->c->thresh_tree; + /*encode_aux_threshmatch *tt=b->c->thresh_tree;*/ int dim=b->dim; - int i,k,o; + int...
2000 Nov 08
0
vq diffs
...gt;q=_ogg_malloc(sizeof(long)*a->aux); + a->q=(long*)_ogg_malloc(sizeof(long)*a->aux); for(i=0;i<a->aux;i++) if(get_next_ivalue(in,a->q+i)){ @@ -271,5 +272,5 @@ if(find_seek_to(in,"static encode_aux_threshmatch _vq_aux")){ /* how big? */ - c->thresh_tree=t=_ogg_calloc(1,sizeof(encode_aux_threshmatch)); + c->thresh_tree=t=(encode_aux_threshmatch*)_ogg_calloc(1,sizeof(encode_aux_threshmatch)); line=get_line(in); line=get_line(in); @@ -287,5 +288,5 @@ find_seek_to(in,"static float _vq_quantthresh_"); reset_next_valu...
2001 May 01
1
encoder observation
Hello! First of all a question: When you make the encoder tables (ie: mode_e.h) do you use the mapping0_forward function? Because you made the encoder tables, and after this you did a minor correction in the final beta4 ... (this correction was: additional[0]=fabs(additional[0]*scale); in the mapping0_forward function) (I see this was a bug, and the modification was correct, but this correction