add compat stubs

This commit is contained in:
John Cupitt 2012-12-05 09:09:52 +00:00
parent 97d1431abe
commit 4b9ca4cfce
4 changed files with 15 additions and 2 deletions

2
TODO
View File

@ -1,3 +1,5 @@
- im_maxpos_vec()/im_minpos_vec() wrappers need doing
- im_maxpos_avg() should be NaN-avoiding?
- now we've removed round-to-nearest from NN, we need something extra in the

View File

@ -2806,3 +2806,13 @@ im_quadratic( IMAGE *in, IMAGE *out, IMAGE *coeff )
return( 0 );
}
int
im_maxpos_vec( VipsImage *im, int *xpos, int *ypos, double *maxima, int n )
{
}
int
im_minpos_vec( VipsImage *im, int *xpos, int *ypos, double *minima, int n )
{
}

View File

@ -364,8 +364,6 @@ int vips_measure( VipsImage *in, VipsImage **out, int h, int v, ... )
int im_maxpos_avg( VipsImage *im, double *xpos, double *ypos, double *out );
int im_maxpos_vec( VipsImage *im, int *xpos, int *ypos, double *maxima, int n );
int im_minpos_vec( VipsImage *im, int *xpos, int *ypos, double *minima, int n );
int im_linreg( VipsImage **ins, VipsImage *out, double *xs );
int im_point( VipsImage *im, VipsInterpolate *interpolate,

View File

@ -664,6 +664,9 @@ int im_lesseqconst( VipsImage *in, VipsImage *out, double c );
int im_moreconst( VipsImage *in, VipsImage *out, double c );
int im_moreeqconst( VipsImage *in, VipsImage *out, double c );
int im_maxpos_vec( VipsImage *im, int *xpos, int *ypos, double *maxima, int n );
int im_minpos_vec( VipsImage *im, int *xpos, int *ypos, double *minima, int n );
int im_copy( VipsImage *in, VipsImage *out );
int im_copy_set( VipsImage *in, VipsImage *out,
VipsInterpretation interpretation,