From 030a567f790a8fe0f0c8b0502bde1385b67cb158 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Thu, 29 Jul 2010 08:39:04 +0000 Subject: [PATCH] stuff --- libvips/arithmetic/im_add.c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/libvips/arithmetic/im_add.c b/libvips/arithmetic/im_add.c index 15d522c8..bf94ed42 100644 --- a/libvips/arithmetic/im_add.c +++ b/libvips/arithmetic/im_add.c @@ -28,6 +28,8 @@ * 11/9/09 * - im__cast_and_call() becomes im__arith_binary() * - more of operation scaffold moved inside + * 25/7/10 + * - remove oil support again ... we'll try Orc instead */ /* @@ -64,15 +66,10 @@ #include #include #include -#include #include #include -#ifdef HAVE_LIBOIL -#include -#endif /*HAVE_LIBOIL*/ - #ifdef WITH_DMALLOC #include #endif /*WITH_DMALLOC*/ @@ -109,12 +106,7 @@ add_buffer( PEL **in, PEL *out, int width, IMAGE *im ) case IM_BANDFMT_FLOAT: case IM_BANDFMT_COMPLEX: -#ifdef HAVE_LIBOIL - oil_add_f32( (float *) out, - (float *) in[0], (float *) in[1], sz ); -#else /*!HAVE_LIBOIL*/ LOOP( float, float ); -#endif /*HAVE_LIBOIL*/ break; case IM_BANDFMT_DOUBLE: @@ -123,7 +115,7 @@ add_buffer( PEL **in, PEL *out, int width, IMAGE *im ) break; default: - assert( 0 ); + g_assert( 0 ); } }