stuff
This commit is contained in:
parent
36fa881c7a
commit
030a567f79
@ -28,6 +28,8 @@
|
|||||||
* 11/9/09
|
* 11/9/09
|
||||||
* - im__cast_and_call() becomes im__arith_binary()
|
* - im__cast_and_call() becomes im__arith_binary()
|
||||||
* - more of operation scaffold moved inside
|
* - more of operation scaffold moved inside
|
||||||
|
* 25/7/10
|
||||||
|
* - remove oil support again ... we'll try Orc instead
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -64,15 +66,10 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <assert.h>
|
|
||||||
|
|
||||||
#include <vips/vips.h>
|
#include <vips/vips.h>
|
||||||
#include <vips/internal.h>
|
#include <vips/internal.h>
|
||||||
|
|
||||||
#ifdef HAVE_LIBOIL
|
|
||||||
#include <liboil/liboil.h>
|
|
||||||
#endif /*HAVE_LIBOIL*/
|
|
||||||
|
|
||||||
#ifdef WITH_DMALLOC
|
#ifdef WITH_DMALLOC
|
||||||
#include <dmalloc.h>
|
#include <dmalloc.h>
|
||||||
#endif /*WITH_DMALLOC*/
|
#endif /*WITH_DMALLOC*/
|
||||||
@ -109,12 +106,7 @@ add_buffer( PEL **in, PEL *out, int width, IMAGE *im )
|
|||||||
|
|
||||||
case IM_BANDFMT_FLOAT:
|
case IM_BANDFMT_FLOAT:
|
||||||
case IM_BANDFMT_COMPLEX:
|
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 );
|
LOOP( float, float );
|
||||||
#endif /*HAVE_LIBOIL*/
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case IM_BANDFMT_DOUBLE:
|
case IM_BANDFMT_DOUBLE:
|
||||||
@ -123,7 +115,7 @@ add_buffer( PEL **in, PEL *out, int width, IMAGE *im )
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
assert( 0 );
|
g_assert( 0 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user