Displaying 2 results from an estimated 2 matches for "cacm283".
Did you mean:
cache83
2000 Aug 29
1
double -> float conversion
I'm in the process of collecting performance data on my platform and I thought I'd test the difference between double and float performance. So, I replaced all occurances of double in vorbis with float (as was suggested should work).
I ended up hanging at:
#0 0x0002695c in cacm283 ()
#1 0x00026dd0 in vorbis_lpc_to_lsp ()
#2 0x0001b3cc in forward ()
#3 0x0001cac8 in forward ()
#4 0x0000b844 in vorbis_analysis ()
#5 0x000030b4 in oe_encode ()
#6 0x00002230 in main ()
#7 0x00001a04 in _start ()
#8 0x000018a8 in start ()
(gdb) q
Is the rewritten LPC/LSP (whatever that...
2000 Jun 22
0
LSP optimisations
.../*Ao and Ae are progressively */
temp=O[j]*Ao[j]+Ae[j]; /*filled with zeros*/
Ae[j]=Ao[j];
Ao[j]=A;
A+=temp;
temp=E[j]*Bo[j]+Be[j];
Be[j]=Bo[j];
Bo[j]=B;
B+=temp;
}
*lpc++=(A+Ao[j]+B-Ae[j])/2;
Ao[j]=A;
Ae[j]=B;
}
}
tatic void cacm283(double *a,int ord,double *r){
int i, k;
double val, p, delta, error;
double rooti;
for(i=0; i<ord;i++) r[i] = 2.0 * (i+0.5) / ord - 1.0;
for(error=1 ; error > 1.e-12; ) {
error = 0;
for( i=0; i<ord; i++) { /* Update each point. */
rooti = r[i];
val = a[ord]...