Skip to content

Commit

Permalink
stats operations are sequential
Browse files Browse the repository at this point in the history
  • Loading branch information
jcupitt committed Feb 8, 2014
1 parent 6da3752 commit e809f9d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- redo im_draw_circle(), im_draw_flood(), im_draw_line(), im_draw_mask() as
classes
- better rounding in vips_flatten()
- VipsStatistic operations are sequential

22/1/14 started 7.38.3
- undeprecate VIPS_MASK_IDEAL_HIGHPASS and friends, ruby-vips was using them,
Expand Down
7 changes: 7 additions & 0 deletions libvips.supp
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,13 @@
fun:rb_file_expand_path
}

{
ruby5
Memcheck:Value8
...
fun:rb_enc_str_new
}




3 changes: 3 additions & 0 deletions libvips/arithmetic/statistic.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ vips_statistic_class_init( VipsStatisticClass *class )
{
GObjectClass *gobject_class = G_OBJECT_CLASS( class );
VipsObjectClass *vobject_class = VIPS_OBJECT_CLASS( class );
VipsOperationClass *operation_class = VIPS_OPERATION_CLASS( class );

gobject_class->set_property = vips_object_set_property;
gobject_class->get_property = vips_object_get_property;
Expand All @@ -159,6 +160,8 @@ vips_statistic_class_init( VipsStatisticClass *class )
vobject_class->description = _( "VIPS statistic operations" );
vobject_class->build = vips_statistic_build;

operation_class->flags = VIPS_OPERATION_SEQUENTIAL_UNBUFFERED;

VIPS_ARG_IMAGE( class, "in", 0,
_( "Input" ),
_( "Input image" ),
Expand Down

0 comments on commit e809f9d

Please sign in to comment.