Displaying 3 results from an estimated 3 matches for "wdel".
Did you mean:
del
2002 Jun 25
2
FLOAT_LOOKUP version of lsp_to_curve
...float p=.7071067812f;
float q=.7071067812f;
will just leads after applying all the products and squaring
to p and q having a common factor 0.5 which can be extracted
from the formulaes.
So I propose to replace:
float p=.7071067812f;
float q=.7071067812f;
float w=vorbis_coslook(wdel*k);
float *ftmp=lsp;
int c=m>>1;
by:
float w=vorbis_coslook(wdel*k);
float p=lsp[0]-w;
float q=lsp[1]-w;
float *ftmp=lsp + 2;
int c=(m>>1) - 1;
and:
vorbis_invsq2explook(qexp+m)
by:
vorbis_invsq2explook(qexp+m-1)
André
--- >8 ----
List arch...
2003 Oct 15
5
Floor0-decode-curve
Hello
I'm working on a fix-point decoder for AOS/Bluebottle - the proprietary
OS of ETH Zurich.
I've some problems with Floor0-curve-computation: I don't know what the
little omega [cos(w)] stands for, line 3 of the official Vorbis
documentation. Does anybody knows what this value means?
I've tried to get the answer from the jOrbis and Tremor, but both seem
to do - among
2002 Sep 11
1
floor0.c and lsp.c optimisations
...the lsp_look lookup array
isn't ideal and found a better change that can be applied.
in floor0_map_lazy_init() you can replace
look->linearmap[W][j]=val;
by
look->linearmap[W][j]=vorbis_coslook(M_PI*val/look->ln);
and in vorbis_lsp_to_curve you then replace
float w=vorbis_coslook(wdel*k);
...
}while(map[i]==k);
by
float w=map[i];
...
}while(map[i]==w);
then get rid of the ln function parameter and the k local variable.
<p><p>Next the fact that p and q are initialised to 1/sqrt(2),
multiplied by a series of factors and finally squared
means that on exit the 1/sqrt...