add SEQ operation hint to conv
conv operations can run sequentially over images
This commit is contained in:
parent
54dcea8c3d
commit
64b5b9e514
|
@ -104,6 +104,7 @@ vips_convolution_class_init( VipsConvolutionClass *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;
|
||||
|
@ -112,6 +113,8 @@ vips_convolution_class_init( VipsConvolutionClass *class )
|
|||
vobject_class->description = _( "convolution operations" );
|
||||
vobject_class->build = vips_convolution_build;
|
||||
|
||||
operation_class->flags = VIPS_OPERATION_SEQUENTIAL;
|
||||
|
||||
/* Inputs set by subclassess.
|
||||
*/
|
||||
|
||||
|
|
|
@ -131,6 +131,7 @@ vips_correlation_class_init( VipsCorrelationClass *class )
|
|||
{
|
||||
GObjectClass *gobject_class = G_OBJECT_CLASS( class );
|
||||
VipsObjectClass *object_class = (VipsObjectClass *) class;
|
||||
VipsOperationClass *operation_class = VIPS_OPERATION_CLASS( class );
|
||||
|
||||
gobject_class->set_property = vips_object_set_property;
|
||||
gobject_class->get_property = vips_object_get_property;
|
||||
|
@ -139,6 +140,8 @@ vips_correlation_class_init( VipsCorrelationClass *class )
|
|||
object_class->description = _( "correlation operation" );
|
||||
object_class->build = vips_correlation_build;
|
||||
|
||||
operation_class->flags = VIPS_OPERATION_SEQUENTIAL;
|
||||
|
||||
VIPS_ARG_IMAGE( class, "in", 0,
|
||||
_( "Input" ),
|
||||
_( "Input image argument" ),
|
||||
|
|
|
@ -102,6 +102,7 @@ vips_gaussblur_class_init( VipsGaussblurClass *class )
|
|||
{
|
||||
GObjectClass *gobject_class = G_OBJECT_CLASS( class );
|
||||
VipsObjectClass *object_class = (VipsObjectClass *) class;
|
||||
VipsOperationClass *operation_class = VIPS_OPERATION_CLASS( class );
|
||||
|
||||
gobject_class->set_property = vips_object_set_property;
|
||||
gobject_class->get_property = vips_object_get_property;
|
||||
|
@ -110,6 +111,8 @@ vips_gaussblur_class_init( VipsGaussblurClass *class )
|
|||
object_class->description = _( "Unsharp masking for print" );
|
||||
object_class->build = vips_gaussblur_build;
|
||||
|
||||
operation_class->flags = VIPS_OPERATION_SEQUENTIAL;
|
||||
|
||||
VIPS_ARG_IMAGE( class, "in", 1,
|
||||
_( "Input" ),
|
||||
_( "Input image" ),
|
||||
|
|
|
@ -295,6 +295,7 @@ vips_sharpen_class_init( VipsSharpenClass *class )
|
|||
{
|
||||
GObjectClass *gobject_class = G_OBJECT_CLASS( class );
|
||||
VipsObjectClass *object_class = (VipsObjectClass *) class;
|
||||
VipsOperationClass *operation_class = VIPS_OPERATION_CLASS( class );
|
||||
|
||||
gobject_class->set_property = vips_object_set_property;
|
||||
gobject_class->get_property = vips_object_get_property;
|
||||
|
@ -303,6 +304,8 @@ vips_sharpen_class_init( VipsSharpenClass *class )
|
|||
object_class->description = _( "Unsharp masking for print" );
|
||||
object_class->build = vips_sharpen_build;
|
||||
|
||||
operation_class->flags = VIPS_OPERATION_SEQUENTIAL;
|
||||
|
||||
VIPS_ARG_IMAGE( class, "in", 1,
|
||||
_( "Input" ),
|
||||
_( "Input image" ),
|
||||
|
|
Loading…
Reference in New Issue