[xiph-cvs] cvs commit: speex/libspeex quant_lsp.c
Jean-Marc Valin
jm at xiph.org
Mon Jan 27 21:22:03 PST 2003
jm 03/01/28 00:22:03
Modified: libspeex quant_lsp.c
Log:
oops...
Revision Changes Path
1.22 +3 -3 speex/libspeex/quant_lsp.c
Index: quant_lsp.c
===================================================================
RCS file: /usr/local/cvsroot/speex/libspeex/quant_lsp.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- quant_lsp.c 28 Jan 2003 00:50:22 -0000 1.21
+++ quant_lsp.c 28 Jan 2003 05:22:02 -0000 1.22
@@ -282,8 +282,8 @@
for (i=0;i<order;i++)
qlsp[i]*=2;
- id = lsp_weight_quant(qlsp, quant_weight, high_lsp_cdbk2, 128, order);
- speex_bits_pack(bits, id, 7);
+ id = lsp_weight_quant(qlsp, quant_weight, high_lsp_cdbk2, 64, order);
+ speex_bits_pack(bits, id, 6);
for (i=0;i<order;i++)
qlsp[i]*=0.0019531;
@@ -305,7 +305,7 @@
lsp[i] += 0.0039062*high_lsp_cdbk[id*order+i];
- id=speex_bits_unpack_unsigned(bits, 7);
+ id=speex_bits_unpack_unsigned(bits, 6);
for (i=0;i<order;i++)
lsp[i] += 0.0019531*high_lsp_cdbk2[id*order+i];
}
<p><p>--- >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