added explicit interpolate_class->window_offset values to every resampler
This commit is contained in:
parent
7de848e644
commit
bc1d19b7ed
@ -434,6 +434,7 @@ vips_interpolate_bicubic_class_init( VipsInterpolateBicubicClass *iclass )
|
|||||||
|
|
||||||
interpolate_class->interpolate = vips_interpolate_bicubic_interpolate;
|
interpolate_class->interpolate = vips_interpolate_bicubic_interpolate;
|
||||||
interpolate_class->window_size = 4;
|
interpolate_class->window_size = 4;
|
||||||
|
interpolate_class->window_offset = 1;
|
||||||
|
|
||||||
/* Build the tables of pre-computed coefficients.
|
/* Build the tables of pre-computed coefficients.
|
||||||
*/
|
*/
|
||||||
|
@ -796,6 +796,7 @@ vips_interpolate_lbb_class_init( VipsInterpolateLbbClass *klass )
|
|||||||
|
|
||||||
interpolate_class->interpolate = vips_interpolate_lbb_interpolate;
|
interpolate_class->interpolate = vips_interpolate_lbb_interpolate;
|
||||||
interpolate_class->window_size = 4;
|
interpolate_class->window_size = 4;
|
||||||
|
interpolate_class->window_offset = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -657,6 +657,7 @@ vips_interpolate_nohalo1_class_init( VipsInterpolateNohalo1Class *klass )
|
|||||||
|
|
||||||
interpolate_class->interpolate = vips_interpolate_nohalo1_interpolate;
|
interpolate_class->interpolate = vips_interpolate_nohalo1_interpolate;
|
||||||
interpolate_class->window_size = 4;
|
interpolate_class->window_size = 4;
|
||||||
|
interpolate_class->window_offset = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -1083,6 +1083,7 @@ vips_interpolate_nohalo2_class_init( VipsInterpolateNohalo2Class *klass )
|
|||||||
|
|
||||||
interpolate_class->interpolate = vips_interpolate_nohalo2_interpolate;
|
interpolate_class->interpolate = vips_interpolate_nohalo2_interpolate;
|
||||||
interpolate_class->window_size = 6;
|
interpolate_class->window_size = 6;
|
||||||
|
interpolate_class->window_offset = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -1096,6 +1096,7 @@ vips_interpolate_snohalo1_class_init( VipsInterpolateSnohalo1Class *klass )
|
|||||||
interpolate_class->interpolate =
|
interpolate_class->interpolate =
|
||||||
vips_interpolate_snohalo1_interpolate;
|
vips_interpolate_snohalo1_interpolate;
|
||||||
interpolate_class->window_size = 7;
|
interpolate_class->window_size = 7;
|
||||||
|
interpolate_class->window_size = 3;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Create properties:
|
* Create properties:
|
||||||
|
Loading…
Reference in New Issue
Block a user