From 225162c6d7ee110f9782080aee1c5cc33f534aad Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Thu, 5 Mar 2009 12:01:49 +0000 Subject: [PATCH] tiny nohalo improvements --- libsrc/resample/nohalo.cpp | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/libsrc/resample/nohalo.cpp b/libsrc/resample/nohalo.cpp index 6862175e..56ff681b 100644 --- a/libsrc/resample/nohalo.cpp +++ b/libsrc/resample/nohalo.cpp @@ -682,21 +682,13 @@ vips_interpolate_nohalo_interpolate( VipsInterpolate *interpolate, break; case IM_BANDFMT_COMPLEX: - nohalo_sharp_level_1_float( out, - p, - bands * 2, - lskip, - relative_x, - relative_y ); + bands *= 2; + CALL( float, float ); break; case IM_BANDFMT_DPCOMPLEX: - nohalo_sharp_level_1_float( out, - p, - bands * 2, - lskip, - relative_x, - relative_y ); + bands *= 2; + CALL( double, float ); break; default: