summaryrefslogtreecommitdiff
path: root/liboil/dct
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2005-01-13 09:29:30 +0000
committerDavid Schleef <ds@schleef.org>2005-01-13 09:29:30 +0000
commit7b47b1bc65acd20b15fa7b62114024f2f6e9b652 (patch)
treeb3aaec095a4eb5a61a888662a95c2203d14dae90 /liboil/dct
parent6233c61a9d737153b32e408e91428c62fa1868e6 (diff)
downloadliboil-7b47b1bc65acd20b15fa7b62114024f2f6e9b652.tar.gz
* Makefile.am: dist autogen.sh
* README: add comments * configure.ac: bump version. Fix ordering. failing->broken * liboil.pc.in: add -lm * liboil/dct/dct36_f32.c: (dct36_f32_ref): still broken. Note to self: only add classes that _have_ a reference implementation. * liboil/dct/fdct8x8_f64.c: (fdct8x8_f64_1d): fix striding * liboil/liboilfuncs.h: parameter name change * liboil/liboilparameter.h: Add guard value. * liboil/liboiltest.c: (oil_test_check_function), (check_guard), (oil_test_check_impl), (init_parameter), (check_holes): check interstitial regions. Use a guard value instead of 0. * liboil/simdpack/abs_i386.c: (abs_u16_s16_mmx2), (abs_u16_s16_sse2): disable broken impls * liboil/simdpack/scalarmult_i386.c: (scalarmult_f32_sse): fix impl
Diffstat (limited to 'liboil/dct')
-rw-r--r--liboil/dct/dct36_f32.c2
-rw-r--r--liboil/dct/fdct8x8_f64.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/liboil/dct/dct36_f32.c b/liboil/dct/dct36_f32.c
index c29fb30..f1315c7 100644
--- a/liboil/dct/dct36_f32.c
+++ b/liboil/dct/dct36_f32.c
@@ -37,10 +37,12 @@ OIL_DEFINE_CLASS(dct36_f32, "float *d_36, int dstr, float *s_36, int sstr");
static void
dct36_f32_ref(float *dest, int dstr, float *src, int sstr)
{
+#if 0
int i;
for(i=0;i<36;i++){
dest[i] = src[i];
}
+#endif
}
OIL_DEFINE_IMPL_REF (dct36_f32_ref, dct36_f32);
diff --git a/liboil/dct/fdct8x8_f64.c b/liboil/dct/fdct8x8_f64.c
index 0e7c09f..4e4938d 100644
--- a/liboil/dct/fdct8x8_f64.c
+++ b/liboil/dct/fdct8x8_f64.c
@@ -139,7 +139,7 @@ fdct8x8_f64_1d (double *dest, int dstr, double *src, int sstr)
for(i=0;i<8;i++){
oil_fdct8_f64(dest + i, tmp + i,
- 8*sizeof(double), 8*sizeof(double));
+ dstr, 8*sizeof(double));
}
}