typo in one interpolate_class->window_offset value and cosmetic

This commit is contained in:
Nicolas Robidoux 2010-05-16 14:56:18 +00:00
parent 096c7dc940
commit 504221925f
6 changed files with 17 additions and 18 deletions

View File

@ -429,11 +429,11 @@ vips_interpolate_bicubic_class_init( VipsInterpolateBicubicClass *iclass )
VipsInterpolateClass *interpolate_class =
VIPS_INTERPOLATE_CLASS( iclass );
object_class->nickname = "bicubic";
object_class->nickname = "bicubic";
object_class->description = _( "Bicubic interpolation (Catmull-Rom)" );
interpolate_class->interpolate = vips_interpolate_bicubic_interpolate;
interpolate_class->window_size = 4;
interpolate_class->interpolate = vips_interpolate_bicubic_interpolate;
interpolate_class->window_size = 4;
interpolate_class->window_offset = 1;
/* Build the tables of pre-computed coefficients.

View File

@ -269,7 +269,7 @@ vips_interpolate_nearest_new( void )
/* Convenience: return a static nearest you don't need to free.
*/
VipsInterpolate *
vips_interpolate_nearest_static( void )
<vips_interpolate_nearest_static( void )
{
static VipsInterpolate *interpolate = NULL;

View File

@ -791,11 +791,11 @@ vips_interpolate_lbb_class_init( VipsInterpolateLbbClass *klass )
VipsInterpolateClass *interpolate_class =
VIPS_INTERPOLATE_CLASS( klass );
object_class->nickname = "lbb";
object_class->nickname = "lbb";
object_class->description = _( "Reduced halo bicubic" );
interpolate_class->interpolate = vips_interpolate_lbb_interpolate;
interpolate_class->window_size = 4;
interpolate_class->interpolate = vips_interpolate_lbb_interpolate;
interpolate_class->window_size = 4;
interpolate_class->window_offset = 1;
}

View File

@ -652,11 +652,11 @@ vips_interpolate_nohalo1_class_init( VipsInterpolateNohalo1Class *klass )
VipsInterpolateClass *interpolate_class =
VIPS_INTERPOLATE_CLASS( klass );
object_class->nickname = "nohalo1";
object_class->nickname = "nohalo1";
object_class->description = _( "Edge-enhancing bilinear" );
interpolate_class->interpolate = vips_interpolate_nohalo1_interpolate;
interpolate_class->window_size = 4;
interpolate_class->interpolate = vips_interpolate_nohalo1_interpolate;
interpolate_class->window_size = 4;
interpolate_class->window_offset = 1;
}

View File

@ -1078,11 +1078,11 @@ vips_interpolate_nohalo2_class_init( VipsInterpolateNohalo2Class *klass )
gobject_class->set_property = vips_object_set_property;
gobject_class->get_property = vips_object_get_property;
object_class->nickname = "nohalo2";
object_class->nickname = "nohalo2";
object_class->description = _( "Smoother and more edge-enhancing nohalo1" );
interpolate_class->interpolate = vips_interpolate_nohalo2_interpolate;
interpolate_class->window_size = 6;
interpolate_class->interpolate = vips_interpolate_nohalo2_interpolate;
interpolate_class->window_size = 6;
interpolate_class->window_offset = 2;
}

View File

@ -1090,13 +1090,12 @@ vips_interpolate_snohalo1_class_init( VipsInterpolateSnohalo1Class *klass )
gobject_class->set_property = vips_object_set_property;
gobject_class->get_property = vips_object_get_property;
object_class->nickname = "snohalo1";
object_class->nickname = "snohalo1";
object_class->description = _( "Nohalo level 2 with antialiasing blur" );
interpolate_class->interpolate =
vips_interpolate_snohalo1_interpolate;
interpolate_class->window_size = 7;
interpolate_class->window_size = 3;
interpolate_class->interpolate = vips_interpolate_snohalo1_interpolate;
interpolate_class->window_size = 7;
interpolate_class->window_offset = 3;
/*
* Create properties: