added explicit interpolate_class->window_offset values to nearest and bilinear (for documentation)
This commit is contained in:
parent
bc1d19b7ed
commit
096c7dc940
@ -246,6 +246,7 @@ vips_interpolate_nearest_class_init( VipsInterpolateNearestClass *class )
|
|||||||
|
|
||||||
interpolate_class->interpolate = vips_interpolate_nearest_interpolate;
|
interpolate_class->interpolate = vips_interpolate_nearest_interpolate;
|
||||||
interpolate_class->window_size = 1;
|
interpolate_class->window_size = 1;
|
||||||
|
interpolate_class->window_offset = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -428,6 +429,7 @@ vips_interpolate_bilinear_class_init( VipsInterpolateBilinearClass *class )
|
|||||||
|
|
||||||
interpolate_class->interpolate = vips_interpolate_bilinear_interpolate;
|
interpolate_class->interpolate = vips_interpolate_bilinear_interpolate;
|
||||||
interpolate_class->window_size = 2;
|
interpolate_class->window_size = 2;
|
||||||
|
interpolate_class->window_offset = 0;
|
||||||
|
|
||||||
/* Calculate the interpolation matricies.
|
/* Calculate the interpolation matricies.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user