[xiph-cvs] cvs commit: vorbis/lib lsp.c
Monty
xiphmont at xiph.org
Thu Oct 5 14:35:42 PDT 2000
xiphmont 00/10/05 14:35:41
Modified: lib Tag: branch_postbeta2 lsp.c
Log:
Lost some essential changes; cacm283 requires doubles for larger
filters in lsp.c
Monty
Revision Changes Path
No revision
No revision
1.9.2.5 +3 -3 vorbis/lib/lsp.c
Index: lsp.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis/lib/lsp.c,v
retrieving revision 1.9.2.4
retrieving revision 1.9.2.5
diff -u -r1.9.2.4 -r1.9.2.5
--- lsp.c 2000/09/26 22:31:50 1.9.2.4
+++ lsp.c 2000/10/05 21:35:40 1.9.2.5
@@ -12,7 +12,7 @@
********************************************************************
function: LSP (also called LSF) conversion routines
- last mod: $Id: lsp.c,v 1.9.2.4 2000/09/26 22:31:50 xiphmont Exp $
+ last mod: $Id: lsp.c,v 1.9.2.5 2000/10/05 21:35:40 xiphmont Exp $
The LSP generation code is taken (with minimal modification) from
"On the Computation of the LSP Frequencies" by Joseph Rothweiler
@@ -244,8 +244,8 @@
/* CACM algorithm 283. */
static void cacm283(float *a,int ord,float *r){
int i, k;
- float val, p, delta, error;
- float rooti;
+ double val, p, delta, error;
+ double rooti;
for(i=0; i<ord;i++) r[i] = 2.0 * (i+0.5) / ord - 1.0;
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list