[xiph-cvs] cvs commit: speex/libspeex filters_sse.h
Jean-Marc Valin
jm at xiph.org
Fri Jan 16 00:07:42 PST 2004
jm 04/01/16 03:07:42
Modified: libspeex filters_sse.h
Log:
A couple 'const's to make that compile cleanly
Revision Changes Path
1.6 +9 -9 speex/libspeex/filters_sse.h
Index: filters_sse.h
===================================================================
RCS file: /usr/local/cvsroot/speex/libspeex/filters_sse.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- filters_sse.h 16 Jan 2004 07:50:26 -0000 1.5
+++ filters_sse.h 16 Jan 2004 08:07:42 -0000 1.6
@@ -32,7 +32,7 @@
#include <xmmintrin.h>
-void filter_mem2_10(float *x, float *_num, float *_den, float *y, int N, int ord, float *_mem)
+void filter_mem2_10(const float *x, const float *_num, const float *_den, float *y, int N, int ord, float *_mem)
{
__m128 num[3], den[3], mem[3];
@@ -85,7 +85,7 @@
_mm_store_ss(_mem+9, mem[2]);
}
-void filter_mem2_8(float *x, float *_num, float *_den, float *y, int N, int ord, float *_mem)
+void filter_mem2_8(const float *x, const float *_num, const float *_den, float *y, int N, int ord, float *_mem)
{
__m128 num[2], den[2], mem[2];
@@ -129,7 +129,7 @@
-void filter_mem2(float *x, float *_num, float *_den, float *y, int N, int ord, float *_mem)
+void filter_mem2(const float *x, const float *_num, const float *_den, float *y, int N, int ord, float *_mem)
{
if(ord==10)
filter_mem2_10(x, _num, _den, y, N, ord, _mem);
@@ -139,7 +139,7 @@
-void iir_mem2_10(float *x, float *_den, float *y, int N, int ord, float *_mem)
+void iir_mem2_10(const float *x, const float *_den, float *y, int N, int ord, float *_mem)
{
__m128 den[3], mem[3];
@@ -188,7 +188,7 @@
}
-void iir_mem2_8(float *x, float *_den, float *y, int N, int ord, float *_mem)
+void iir_mem2_8(const float *x, const float *_den, float *y, int N, int ord, float *_mem)
{
__m128 den[2], mem[2];
@@ -227,7 +227,7 @@
_mm_storeu_ps(_mem+4, mem[1]);
}
-void iir_mem2(float *x, float *_den, float *y, int N, int ord, float *_mem)
+void iir_mem2(const float *x, const float *_den, float *y, int N, int ord, float *_mem)
{
if(ord==10)
iir_mem2_10(x, _den, y, N, ord, _mem);
@@ -236,7 +236,7 @@
}
-void fir_mem2_10(float *x, float *_num, float *y, int N, int ord, float *_mem)
+void fir_mem2_10(const float *x, const float *_num, float *y, int N, int ord, float *_mem)
{
__m128 num[3], mem[3];
@@ -284,7 +284,7 @@
_mm_store_ss(_mem+9, mem[2]);
}
-void fir_mem2_8(float *x, float *_num, float *y, int N, int ord, float *_mem)
+void fir_mem2_8(const float *x, const float *_num, float *y, int N, int ord, float *_mem)
{
__m128 num[2], mem[2];
@@ -324,7 +324,7 @@
}
-void fir_mem2(float *x, float *_num, float *y, int N, int ord, float *_mem)
+void fir_mem2(const float *x, const float *_num, float *y, int N, int ord, float *_mem)
{
if(ord==10)
fir_mem2_10(x, _num, y, N, ord, _mem);
<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