2011-02-14 19:23:01 +01:00
|
|
|
|
|
|
|
/* Generated data (by glib-mkenums) */
|
|
|
|
|
|
|
|
/* auto-generated enums for vips introspection */
|
|
|
|
|
|
|
|
#include <vips/vips.h>
|
2016-03-09 23:47:02 +01:00
|
|
|
/* enumerations from "../../libvips/include/vips/resample.h" */
|
|
|
|
GType
|
|
|
|
vips_kernel_get_type( void )
|
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{VIPS_KERNEL_NEAREST, "VIPS_KERNEL_NEAREST", "nearest"},
|
|
|
|
{VIPS_KERNEL_LINEAR, "VIPS_KERNEL_LINEAR", "linear"},
|
|
|
|
{VIPS_KERNEL_CUBIC, "VIPS_KERNEL_CUBIC", "cubic"},
|
|
|
|
{VIPS_KERNEL_LANCZOS2, "VIPS_KERNEL_LANCZOS2", "lanczos2"},
|
|
|
|
{VIPS_KERNEL_LANCZOS3, "VIPS_KERNEL_LANCZOS3", "lanczos3"},
|
|
|
|
{VIPS_KERNEL_LAST, "VIPS_KERNEL_LAST", "last"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
etype = g_enum_register_static( "VipsKernel", values );
|
|
|
|
}
|
|
|
|
|
|
|
|
return( etype );
|
|
|
|
}
|
2017-01-06 14:43:43 +01:00
|
|
|
GType
|
|
|
|
vips_size_get_type( void )
|
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{VIPS_SIZE_BOTH, "VIPS_SIZE_BOTH", "both"},
|
|
|
|
{VIPS_SIZE_UP, "VIPS_SIZE_UP", "up"},
|
|
|
|
{VIPS_SIZE_DOWN, "VIPS_SIZE_DOWN", "down"},
|
|
|
|
{VIPS_SIZE_LAST, "VIPS_SIZE_LAST", "last"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
etype = g_enum_register_static( "VipsSize", values );
|
|
|
|
}
|
|
|
|
|
|
|
|
return( etype );
|
|
|
|
}
|
2011-11-29 12:43:08 +01:00
|
|
|
/* enumerations from "../../libvips/include/vips/foreign.h" */
|
2011-11-24 15:53:30 +01:00
|
|
|
GType
|
2011-11-29 12:43:08 +01:00
|
|
|
vips_foreign_flags_get_type( void )
|
2011-11-24 15:53:30 +01:00
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
2012-02-20 22:02:37 +01:00
|
|
|
static const GFlagsValue values[] = {
|
2011-11-29 12:43:08 +01:00
|
|
|
{VIPS_FOREIGN_NONE, "VIPS_FOREIGN_NONE", "none"},
|
|
|
|
{VIPS_FOREIGN_PARTIAL, "VIPS_FOREIGN_PARTIAL", "partial"},
|
|
|
|
{VIPS_FOREIGN_BIGENDIAN, "VIPS_FOREIGN_BIGENDIAN", "bigendian"},
|
2013-11-21 18:43:28 +01:00
|
|
|
{VIPS_FOREIGN_SEQUENTIAL, "VIPS_FOREIGN_SEQUENTIAL", "sequential"},
|
2011-12-01 22:59:21 +01:00
|
|
|
{VIPS_FOREIGN_ALL, "VIPS_FOREIGN_ALL", "all"},
|
2011-11-24 15:53:30 +01:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2012-02-20 22:02:37 +01:00
|
|
|
etype = g_flags_register_static( "VipsForeignFlags", values );
|
2011-11-24 15:53:30 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
return( etype );
|
|
|
|
}
|
2011-11-25 15:34:17 +01:00
|
|
|
GType
|
|
|
|
vips_saveable_get_type( void )
|
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
|
|
|
static const GEnumValue values[] = {
|
2011-12-16 16:24:35 +01:00
|
|
|
{VIPS_SAVEABLE_MONO, "VIPS_SAVEABLE_MONO", "mono"},
|
2011-11-25 15:34:17 +01:00
|
|
|
{VIPS_SAVEABLE_RGB, "VIPS_SAVEABLE_RGB", "rgb"},
|
|
|
|
{VIPS_SAVEABLE_RGBA, "VIPS_SAVEABLE_RGBA", "rgba"},
|
2015-04-17 17:59:28 +02:00
|
|
|
{VIPS_SAVEABLE_RGBA_ONLY, "VIPS_SAVEABLE_RGBA_ONLY", "rgba-only"},
|
2011-11-25 15:34:17 +01:00
|
|
|
{VIPS_SAVEABLE_RGB_CMYK, "VIPS_SAVEABLE_RGB_CMYK", "rgb-cmyk"},
|
|
|
|
{VIPS_SAVEABLE_ANY, "VIPS_SAVEABLE_ANY", "any"},
|
|
|
|
{VIPS_SAVEABLE_LAST, "VIPS_SAVEABLE_LAST", "last"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
etype = g_enum_register_static( "VipsSaveable", values );
|
|
|
|
}
|
|
|
|
|
|
|
|
return( etype );
|
|
|
|
}
|
2011-12-02 19:21:55 +01:00
|
|
|
GType
|
2016-04-22 19:54:19 +02:00
|
|
|
vips_foreign_webp_preset_get_type( void )
|
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{VIPS_FOREIGN_WEBP_PRESET_DEFAULT, "VIPS_FOREIGN_WEBP_PRESET_DEFAULT", "default"},
|
|
|
|
{VIPS_FOREIGN_WEBP_PRESET_PICTURE, "VIPS_FOREIGN_WEBP_PRESET_PICTURE", "picture"},
|
|
|
|
{VIPS_FOREIGN_WEBP_PRESET_PHOTO, "VIPS_FOREIGN_WEBP_PRESET_PHOTO", "photo"},
|
|
|
|
{VIPS_FOREIGN_WEBP_PRESET_DRAWING, "VIPS_FOREIGN_WEBP_PRESET_DRAWING", "drawing"},
|
|
|
|
{VIPS_FOREIGN_WEBP_PRESET_ICON, "VIPS_FOREIGN_WEBP_PRESET_ICON", "icon"},
|
|
|
|
{VIPS_FOREIGN_WEBP_PRESET_TEXT, "VIPS_FOREIGN_WEBP_PRESET_TEXT", "text"},
|
|
|
|
{VIPS_FOREIGN_WEBP_PRESET_LAST, "VIPS_FOREIGN_WEBP_PRESET_LAST", "last"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
etype = g_enum_register_static( "VipsForeignWebpPreset", values );
|
|
|
|
}
|
|
|
|
|
|
|
|
return( etype );
|
|
|
|
}
|
|
|
|
GType
|
2011-12-02 19:21:55 +01:00
|
|
|
vips_foreign_tiff_compression_get_type( void )
|
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{VIPS_FOREIGN_TIFF_COMPRESSION_NONE, "VIPS_FOREIGN_TIFF_COMPRESSION_NONE", "none"},
|
|
|
|
{VIPS_FOREIGN_TIFF_COMPRESSION_JPEG, "VIPS_FOREIGN_TIFF_COMPRESSION_JPEG", "jpeg"},
|
|
|
|
{VIPS_FOREIGN_TIFF_COMPRESSION_DEFLATE, "VIPS_FOREIGN_TIFF_COMPRESSION_DEFLATE", "deflate"},
|
|
|
|
{VIPS_FOREIGN_TIFF_COMPRESSION_PACKBITS, "VIPS_FOREIGN_TIFF_COMPRESSION_PACKBITS", "packbits"},
|
|
|
|
{VIPS_FOREIGN_TIFF_COMPRESSION_CCITTFAX4, "VIPS_FOREIGN_TIFF_COMPRESSION_CCITTFAX4", "ccittfax4"},
|
|
|
|
{VIPS_FOREIGN_TIFF_COMPRESSION_LZW, "VIPS_FOREIGN_TIFF_COMPRESSION_LZW", "lzw"},
|
|
|
|
{VIPS_FOREIGN_TIFF_COMPRESSION_LAST, "VIPS_FOREIGN_TIFF_COMPRESSION_LAST", "last"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
etype = g_enum_register_static( "VipsForeignTiffCompression", values );
|
|
|
|
}
|
|
|
|
|
|
|
|
return( etype );
|
|
|
|
}
|
|
|
|
GType
|
|
|
|
vips_foreign_tiff_predictor_get_type( void )
|
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{VIPS_FOREIGN_TIFF_PREDICTOR_NONE, "VIPS_FOREIGN_TIFF_PREDICTOR_NONE", "none"},
|
|
|
|
{VIPS_FOREIGN_TIFF_PREDICTOR_HORIZONTAL, "VIPS_FOREIGN_TIFF_PREDICTOR_HORIZONTAL", "horizontal"},
|
|
|
|
{VIPS_FOREIGN_TIFF_PREDICTOR_FLOAT, "VIPS_FOREIGN_TIFF_PREDICTOR_FLOAT", "float"},
|
|
|
|
{VIPS_FOREIGN_TIFF_PREDICTOR_LAST, "VIPS_FOREIGN_TIFF_PREDICTOR_LAST", "last"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
etype = g_enum_register_static( "VipsForeignTiffPredictor", values );
|
|
|
|
}
|
|
|
|
|
|
|
|
return( etype );
|
|
|
|
}
|
|
|
|
GType
|
|
|
|
vips_foreign_tiff_resunit_get_type( void )
|
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{VIPS_FOREIGN_TIFF_RESUNIT_CM, "VIPS_FOREIGN_TIFF_RESUNIT_CM", "cm"},
|
|
|
|
{VIPS_FOREIGN_TIFF_RESUNIT_INCH, "VIPS_FOREIGN_TIFF_RESUNIT_INCH", "inch"},
|
|
|
|
{VIPS_FOREIGN_TIFF_RESUNIT_LAST, "VIPS_FOREIGN_TIFF_RESUNIT_LAST", "last"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
etype = g_enum_register_static( "VipsForeignTiffResunit", values );
|
|
|
|
}
|
|
|
|
|
|
|
|
return( etype );
|
|
|
|
}
|
2012-10-03 15:26:59 +02:00
|
|
|
GType
|
2014-10-25 16:42:10 +02:00
|
|
|
vips_foreign_png_filter_get_type( void )
|
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
|
|
|
static const GFlagsValue values[] = {
|
|
|
|
{VIPS_FOREIGN_PNG_FILTER_NONE, "VIPS_FOREIGN_PNG_FILTER_NONE", "none"},
|
|
|
|
{VIPS_FOREIGN_PNG_FILTER_SUB, "VIPS_FOREIGN_PNG_FILTER_SUB", "sub"},
|
|
|
|
{VIPS_FOREIGN_PNG_FILTER_UP, "VIPS_FOREIGN_PNG_FILTER_UP", "up"},
|
|
|
|
{VIPS_FOREIGN_PNG_FILTER_AVG, "VIPS_FOREIGN_PNG_FILTER_AVG", "avg"},
|
|
|
|
{VIPS_FOREIGN_PNG_FILTER_PAETH, "VIPS_FOREIGN_PNG_FILTER_PAETH", "paeth"},
|
|
|
|
{VIPS_FOREIGN_PNG_FILTER_ALL, "VIPS_FOREIGN_PNG_FILTER_ALL", "all"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
2014-10-27 12:40:43 +01:00
|
|
|
|
2014-10-25 16:42:10 +02:00
|
|
|
etype = g_flags_register_static( "VipsForeignPngFilter", values );
|
|
|
|
}
|
|
|
|
|
|
|
|
return( etype );
|
|
|
|
}
|
|
|
|
GType
|
2012-10-03 15:26:59 +02:00
|
|
|
vips_foreign_dz_layout_get_type( void )
|
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{VIPS_FOREIGN_DZ_LAYOUT_DZ, "VIPS_FOREIGN_DZ_LAYOUT_DZ", "dz"},
|
|
|
|
{VIPS_FOREIGN_DZ_LAYOUT_ZOOMIFY, "VIPS_FOREIGN_DZ_LAYOUT_ZOOMIFY", "zoomify"},
|
|
|
|
{VIPS_FOREIGN_DZ_LAYOUT_GOOGLE, "VIPS_FOREIGN_DZ_LAYOUT_GOOGLE", "google"},
|
|
|
|
{VIPS_FOREIGN_DZ_LAYOUT_LAST, "VIPS_FOREIGN_DZ_LAYOUT_LAST", "last"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
etype = g_enum_register_static( "VipsForeignDzLayout", values );
|
|
|
|
}
|
|
|
|
|
|
|
|
return( etype );
|
|
|
|
}
|
2012-11-01 19:11:46 +01:00
|
|
|
GType
|
|
|
|
vips_foreign_dz_depth_get_type( void )
|
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
|
|
|
static const GEnumValue values[] = {
|
2015-01-07 15:22:13 +01:00
|
|
|
{VIPS_FOREIGN_DZ_DEPTH_ONEPIXEL, "VIPS_FOREIGN_DZ_DEPTH_ONEPIXEL", "onepixel"},
|
|
|
|
{VIPS_FOREIGN_DZ_DEPTH_ONETILE, "VIPS_FOREIGN_DZ_DEPTH_ONETILE", "onetile"},
|
|
|
|
{VIPS_FOREIGN_DZ_DEPTH_ONE, "VIPS_FOREIGN_DZ_DEPTH_ONE", "one"},
|
2012-11-01 19:11:46 +01:00
|
|
|
{VIPS_FOREIGN_DZ_DEPTH_LAST, "VIPS_FOREIGN_DZ_DEPTH_LAST", "last"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
etype = g_enum_register_static( "VipsForeignDzDepth", values );
|
|
|
|
}
|
|
|
|
|
|
|
|
return( etype );
|
|
|
|
}
|
2014-04-25 11:26:23 +02:00
|
|
|
GType
|
|
|
|
vips_foreign_dz_container_get_type( void )
|
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{VIPS_FOREIGN_DZ_CONTAINER_FS, "VIPS_FOREIGN_DZ_CONTAINER_FS", "fs"},
|
|
|
|
{VIPS_FOREIGN_DZ_CONTAINER_ZIP, "VIPS_FOREIGN_DZ_CONTAINER_ZIP", "zip"},
|
|
|
|
{VIPS_FOREIGN_DZ_CONTAINER_LAST, "VIPS_FOREIGN_DZ_CONTAINER_LAST", "last"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
etype = g_enum_register_static( "VipsForeignDzContainer", values );
|
|
|
|
}
|
|
|
|
|
|
|
|
return( etype );
|
|
|
|
}
|
2011-10-16 15:48:47 +02:00
|
|
|
/* enumerations from "../../libvips/include/vips/conversion.h" */
|
|
|
|
GType
|
|
|
|
vips_extend_get_type( void )
|
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{VIPS_EXTEND_BLACK, "VIPS_EXTEND_BLACK", "black"},
|
|
|
|
{VIPS_EXTEND_COPY, "VIPS_EXTEND_COPY", "copy"},
|
|
|
|
{VIPS_EXTEND_REPEAT, "VIPS_EXTEND_REPEAT", "repeat"},
|
|
|
|
{VIPS_EXTEND_MIRROR, "VIPS_EXTEND_MIRROR", "mirror"},
|
|
|
|
{VIPS_EXTEND_WHITE, "VIPS_EXTEND_WHITE", "white"},
|
2012-10-10 14:22:30 +02:00
|
|
|
{VIPS_EXTEND_BACKGROUND, "VIPS_EXTEND_BACKGROUND", "background"},
|
2011-10-16 18:48:28 +02:00
|
|
|
{VIPS_EXTEND_LAST, "VIPS_EXTEND_LAST", "last"},
|
2011-10-16 15:48:47 +02:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
etype = g_enum_register_static( "VipsExtend", values );
|
|
|
|
}
|
|
|
|
|
|
|
|
return( etype );
|
|
|
|
}
|
2011-10-17 08:15:51 +02:00
|
|
|
GType
|
|
|
|
vips_direction_get_type( void )
|
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{VIPS_DIRECTION_HORIZONTAL, "VIPS_DIRECTION_HORIZONTAL", "horizontal"},
|
|
|
|
{VIPS_DIRECTION_VERTICAL, "VIPS_DIRECTION_VERTICAL", "vertical"},
|
|
|
|
{VIPS_DIRECTION_LAST, "VIPS_DIRECTION_LAST", "last"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
etype = g_enum_register_static( "VipsDirection", values );
|
|
|
|
}
|
|
|
|
|
|
|
|
return( etype );
|
|
|
|
}
|
2011-10-26 10:39:14 +02:00
|
|
|
GType
|
|
|
|
vips_align_get_type( void )
|
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{VIPS_ALIGN_LOW, "VIPS_ALIGN_LOW", "low"},
|
|
|
|
{VIPS_ALIGN_CENTRE, "VIPS_ALIGN_CENTRE", "centre"},
|
|
|
|
{VIPS_ALIGN_HIGH, "VIPS_ALIGN_HIGH", "high"},
|
2011-10-26 14:26:20 +02:00
|
|
|
{VIPS_ALIGN_LAST, "VIPS_ALIGN_LAST", "last"},
|
2011-10-26 10:39:14 +02:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
etype = g_enum_register_static( "VipsAlign", values );
|
|
|
|
}
|
|
|
|
|
|
|
|
return( etype );
|
|
|
|
}
|
2011-11-04 15:45:56 +01:00
|
|
|
GType
|
|
|
|
vips_angle_get_type( void )
|
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
|
|
|
static const GEnumValue values[] = {
|
2014-09-29 14:56:55 +02:00
|
|
|
{VIPS_ANGLE_D0, "VIPS_ANGLE_D0", "d0"},
|
|
|
|
{VIPS_ANGLE_D90, "VIPS_ANGLE_D90", "d90"},
|
|
|
|
{VIPS_ANGLE_D180, "VIPS_ANGLE_D180", "d180"},
|
|
|
|
{VIPS_ANGLE_D270, "VIPS_ANGLE_D270", "d270"},
|
2011-11-04 15:45:56 +01:00
|
|
|
{VIPS_ANGLE_LAST, "VIPS_ANGLE_LAST", "last"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
etype = g_enum_register_static( "VipsAngle", values );
|
|
|
|
}
|
|
|
|
|
2012-02-20 16:03:29 +01:00
|
|
|
return( etype );
|
|
|
|
}
|
2013-10-19 19:26:46 +02:00
|
|
|
GType
|
|
|
|
vips_angle45_get_type( void )
|
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
|
|
|
static const GEnumValue values[] = {
|
2014-09-29 14:56:55 +02:00
|
|
|
{VIPS_ANGLE45_D0, "VIPS_ANGLE45_D0", "d0"},
|
|
|
|
{VIPS_ANGLE45_D45, "VIPS_ANGLE45_D45", "d45"},
|
|
|
|
{VIPS_ANGLE45_D90, "VIPS_ANGLE45_D90", "d90"},
|
|
|
|
{VIPS_ANGLE45_D135, "VIPS_ANGLE45_D135", "d135"},
|
|
|
|
{VIPS_ANGLE45_D180, "VIPS_ANGLE45_D180", "d180"},
|
|
|
|
{VIPS_ANGLE45_D225, "VIPS_ANGLE45_D225", "d225"},
|
|
|
|
{VIPS_ANGLE45_D270, "VIPS_ANGLE45_D270", "d270"},
|
|
|
|
{VIPS_ANGLE45_D315, "VIPS_ANGLE45_D315", "d315"},
|
2013-10-19 19:26:46 +02:00
|
|
|
{VIPS_ANGLE45_LAST, "VIPS_ANGLE45_LAST", "last"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
etype = g_enum_register_static( "VipsAngle45", values );
|
|
|
|
}
|
|
|
|
|
|
|
|
return( etype );
|
|
|
|
}
|
2011-11-04 18:55:06 +01:00
|
|
|
/* enumerations from "../../libvips/include/vips/arithmetic.h" */
|
|
|
|
GType
|
2011-11-10 14:53:58 +01:00
|
|
|
vips_operation_math_get_type( void )
|
2011-11-04 18:55:06 +01:00
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
|
|
|
static const GEnumValue values[] = {
|
2011-11-10 14:53:58 +01:00
|
|
|
{VIPS_OPERATION_MATH_SIN, "VIPS_OPERATION_MATH_SIN", "sin"},
|
|
|
|
{VIPS_OPERATION_MATH_COS, "VIPS_OPERATION_MATH_COS", "cos"},
|
|
|
|
{VIPS_OPERATION_MATH_TAN, "VIPS_OPERATION_MATH_TAN", "tan"},
|
|
|
|
{VIPS_OPERATION_MATH_ASIN, "VIPS_OPERATION_MATH_ASIN", "asin"},
|
|
|
|
{VIPS_OPERATION_MATH_ACOS, "VIPS_OPERATION_MATH_ACOS", "acos"},
|
|
|
|
{VIPS_OPERATION_MATH_ATAN, "VIPS_OPERATION_MATH_ATAN", "atan"},
|
|
|
|
{VIPS_OPERATION_MATH_LOG, "VIPS_OPERATION_MATH_LOG", "log"},
|
|
|
|
{VIPS_OPERATION_MATH_LOG10, "VIPS_OPERATION_MATH_LOG10", "log10"},
|
|
|
|
{VIPS_OPERATION_MATH_EXP, "VIPS_OPERATION_MATH_EXP", "exp"},
|
|
|
|
{VIPS_OPERATION_MATH_EXP10, "VIPS_OPERATION_MATH_EXP10", "exp10"},
|
|
|
|
{VIPS_OPERATION_MATH_LAST, "VIPS_OPERATION_MATH_LAST", "last"},
|
2011-11-04 18:55:06 +01:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2011-11-10 14:53:58 +01:00
|
|
|
etype = g_enum_register_static( "VipsOperationMath", values );
|
|
|
|
}
|
|
|
|
|
|
|
|
return( etype );
|
|
|
|
}
|
|
|
|
GType
|
2011-11-13 18:45:27 +01:00
|
|
|
vips_operation_math2_get_type( void )
|
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{VIPS_OPERATION_MATH2_POW, "VIPS_OPERATION_MATH2_POW", "pow"},
|
|
|
|
{VIPS_OPERATION_MATH2_WOP, "VIPS_OPERATION_MATH2_WOP", "wop"},
|
|
|
|
{VIPS_OPERATION_MATH2_LAST, "VIPS_OPERATION_MATH2_LAST", "last"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
etype = g_enum_register_static( "VipsOperationMath2", values );
|
|
|
|
}
|
|
|
|
|
|
|
|
return( etype );
|
|
|
|
}
|
|
|
|
GType
|
2011-11-10 14:53:58 +01:00
|
|
|
vips_operation_round_get_type( void )
|
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
|
|
|
static const GEnumValue values[] = {
|
2011-11-18 15:34:33 +01:00
|
|
|
{VIPS_OPERATION_ROUND_RINT, "VIPS_OPERATION_ROUND_RINT", "rint"},
|
2011-11-10 14:53:58 +01:00
|
|
|
{VIPS_OPERATION_ROUND_CEIL, "VIPS_OPERATION_ROUND_CEIL", "ceil"},
|
|
|
|
{VIPS_OPERATION_ROUND_FLOOR, "VIPS_OPERATION_ROUND_FLOOR", "floor"},
|
|
|
|
{VIPS_OPERATION_ROUND_LAST, "VIPS_OPERATION_ROUND_LAST", "last"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
etype = g_enum_register_static( "VipsOperationRound", values );
|
2011-11-04 18:55:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
return( etype );
|
|
|
|
}
|
2011-11-11 14:45:12 +01:00
|
|
|
GType
|
|
|
|
vips_operation_relational_get_type( void )
|
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{VIPS_OPERATION_RELATIONAL_EQUAL, "VIPS_OPERATION_RELATIONAL_EQUAL", "equal"},
|
2014-09-16 18:25:20 +02:00
|
|
|
{VIPS_OPERATION_RELATIONAL_NOTEQ, "VIPS_OPERATION_RELATIONAL_NOTEQ", "noteq"},
|
2011-11-11 14:45:12 +01:00
|
|
|
{VIPS_OPERATION_RELATIONAL_LESS, "VIPS_OPERATION_RELATIONAL_LESS", "less"},
|
|
|
|
{VIPS_OPERATION_RELATIONAL_LESSEQ, "VIPS_OPERATION_RELATIONAL_LESSEQ", "lesseq"},
|
|
|
|
{VIPS_OPERATION_RELATIONAL_MORE, "VIPS_OPERATION_RELATIONAL_MORE", "more"},
|
|
|
|
{VIPS_OPERATION_RELATIONAL_MOREEQ, "VIPS_OPERATION_RELATIONAL_MOREEQ", "moreeq"},
|
|
|
|
{VIPS_OPERATION_RELATIONAL_LAST, "VIPS_OPERATION_RELATIONAL_LAST", "last"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
etype = g_enum_register_static( "VipsOperationRelational", values );
|
|
|
|
}
|
|
|
|
|
|
|
|
return( etype );
|
|
|
|
}
|
2011-11-12 15:11:46 +01:00
|
|
|
GType
|
|
|
|
vips_operation_boolean_get_type( void )
|
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{VIPS_OPERATION_BOOLEAN_AND, "VIPS_OPERATION_BOOLEAN_AND", "and"},
|
|
|
|
{VIPS_OPERATION_BOOLEAN_OR, "VIPS_OPERATION_BOOLEAN_OR", "or"},
|
|
|
|
{VIPS_OPERATION_BOOLEAN_EOR, "VIPS_OPERATION_BOOLEAN_EOR", "eor"},
|
2011-11-12 18:18:13 +01:00
|
|
|
{VIPS_OPERATION_BOOLEAN_LSHIFT, "VIPS_OPERATION_BOOLEAN_LSHIFT", "lshift"},
|
|
|
|
{VIPS_OPERATION_BOOLEAN_RSHIFT, "VIPS_OPERATION_BOOLEAN_RSHIFT", "rshift"},
|
2011-11-12 15:11:46 +01:00
|
|
|
{VIPS_OPERATION_BOOLEAN_LAST, "VIPS_OPERATION_BOOLEAN_LAST", "last"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
etype = g_enum_register_static( "VipsOperationBoolean", values );
|
|
|
|
}
|
|
|
|
|
|
|
|
return( etype );
|
|
|
|
}
|
2011-11-19 12:24:04 +01:00
|
|
|
GType
|
|
|
|
vips_operation_complex_get_type( void )
|
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{VIPS_OPERATION_COMPLEX_POLAR, "VIPS_OPERATION_COMPLEX_POLAR", "polar"},
|
|
|
|
{VIPS_OPERATION_COMPLEX_RECT, "VIPS_OPERATION_COMPLEX_RECT", "rect"},
|
|
|
|
{VIPS_OPERATION_COMPLEX_CONJ, "VIPS_OPERATION_COMPLEX_CONJ", "conj"},
|
|
|
|
{VIPS_OPERATION_COMPLEX_LAST, "VIPS_OPERATION_COMPLEX_LAST", "last"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
etype = g_enum_register_static( "VipsOperationComplex", values );
|
|
|
|
}
|
|
|
|
|
|
|
|
return( etype );
|
|
|
|
}
|
2011-11-21 15:38:11 +01:00
|
|
|
GType
|
2012-12-06 15:52:51 +01:00
|
|
|
vips_operation_complex2_get_type( void )
|
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{VIPS_OPERATION_COMPLEX2_CROSS_PHASE, "VIPS_OPERATION_COMPLEX2_CROSS_PHASE", "cross-phase"},
|
|
|
|
{VIPS_OPERATION_COMPLEX2_LAST, "VIPS_OPERATION_COMPLEX2_LAST", "last"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
etype = g_enum_register_static( "VipsOperationComplex2", values );
|
|
|
|
}
|
|
|
|
|
|
|
|
return( etype );
|
|
|
|
}
|
|
|
|
GType
|
2011-11-21 15:38:11 +01:00
|
|
|
vips_operation_complexget_get_type( void )
|
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{VIPS_OPERATION_COMPLEXGET_REAL, "VIPS_OPERATION_COMPLEXGET_REAL", "real"},
|
|
|
|
{VIPS_OPERATION_COMPLEXGET_IMAG, "VIPS_OPERATION_COMPLEXGET_IMAG", "imag"},
|
|
|
|
{VIPS_OPERATION_COMPLEXGET_LAST, "VIPS_OPERATION_COMPLEXGET_LAST", "last"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
etype = g_enum_register_static( "VipsOperationComplexget", values );
|
|
|
|
}
|
|
|
|
|
|
|
|
return( etype );
|
|
|
|
}
|
2011-02-14 19:23:01 +01:00
|
|
|
/* enumerations from "../../libvips/include/vips/util.h" */
|
|
|
|
GType
|
|
|
|
vips_token_get_type( void )
|
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{VIPS_TOKEN_LEFT, "VIPS_TOKEN_LEFT", "left"},
|
|
|
|
{VIPS_TOKEN_RIGHT, "VIPS_TOKEN_RIGHT", "right"},
|
|
|
|
{VIPS_TOKEN_STRING, "VIPS_TOKEN_STRING", "string"},
|
|
|
|
{VIPS_TOKEN_EQUALS, "VIPS_TOKEN_EQUALS", "equals"},
|
|
|
|
{VIPS_TOKEN_COMMA, "VIPS_TOKEN_COMMA", "comma"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
etype = g_enum_register_static( "VipsToken", values );
|
|
|
|
}
|
|
|
|
|
|
|
|
return( etype );
|
|
|
|
}
|
|
|
|
/* enumerations from "../../libvips/include/vips/image.h" */
|
|
|
|
GType
|
|
|
|
vips_demand_style_get_type( void )
|
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
|
|
|
static const GEnumValue values[] = {
|
2012-01-27 18:36:25 +01:00
|
|
|
{VIPS_DEMAND_STYLE_ERROR, "VIPS_DEMAND_STYLE_ERROR", "error"},
|
2011-02-14 19:23:01 +01:00
|
|
|
{VIPS_DEMAND_STYLE_SMALLTILE, "VIPS_DEMAND_STYLE_SMALLTILE", "smalltile"},
|
|
|
|
{VIPS_DEMAND_STYLE_FATSTRIP, "VIPS_DEMAND_STYLE_FATSTRIP", "fatstrip"},
|
|
|
|
{VIPS_DEMAND_STYLE_THINSTRIP, "VIPS_DEMAND_STYLE_THINSTRIP", "thinstrip"},
|
|
|
|
{VIPS_DEMAND_STYLE_ANY, "VIPS_DEMAND_STYLE_ANY", "any"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
etype = g_enum_register_static( "VipsDemandStyle", values );
|
|
|
|
}
|
|
|
|
|
|
|
|
return( etype );
|
|
|
|
}
|
|
|
|
GType
|
2011-02-21 10:16:17 +01:00
|
|
|
vips_image_type_get_type( void )
|
2011-02-14 19:23:01 +01:00
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
|
|
|
static const GEnumValue values[] = {
|
2012-01-27 18:36:25 +01:00
|
|
|
{VIPS_IMAGE_ERROR, "VIPS_IMAGE_ERROR", "error"},
|
2011-02-21 10:16:17 +01:00
|
|
|
{VIPS_IMAGE_NONE, "VIPS_IMAGE_NONE", "none"},
|
|
|
|
{VIPS_IMAGE_SETBUF, "VIPS_IMAGE_SETBUF", "setbuf"},
|
|
|
|
{VIPS_IMAGE_SETBUF_FOREIGN, "VIPS_IMAGE_SETBUF_FOREIGN", "setbuf-foreign"},
|
|
|
|
{VIPS_IMAGE_OPENIN, "VIPS_IMAGE_OPENIN", "openin"},
|
|
|
|
{VIPS_IMAGE_MMAPIN, "VIPS_IMAGE_MMAPIN", "mmapin"},
|
|
|
|
{VIPS_IMAGE_MMAPINRW, "VIPS_IMAGE_MMAPINRW", "mmapinrw"},
|
|
|
|
{VIPS_IMAGE_OPENOUT, "VIPS_IMAGE_OPENOUT", "openout"},
|
|
|
|
{VIPS_IMAGE_PARTIAL, "VIPS_IMAGE_PARTIAL", "partial"},
|
2011-02-14 19:23:01 +01:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2011-02-21 10:16:17 +01:00
|
|
|
etype = g_enum_register_static( "VipsImageType", values );
|
2011-02-14 19:23:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
return( etype );
|
|
|
|
}
|
|
|
|
GType
|
2011-02-21 10:16:17 +01:00
|
|
|
vips_interpretation_get_type( void )
|
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
|
|
|
static const GEnumValue values[] = {
|
2012-01-27 18:36:25 +01:00
|
|
|
{VIPS_INTERPRETATION_ERROR, "VIPS_INTERPRETATION_ERROR", "error"},
|
2011-02-21 10:16:17 +01:00
|
|
|
{VIPS_INTERPRETATION_MULTIBAND, "VIPS_INTERPRETATION_MULTIBAND", "multiband"},
|
|
|
|
{VIPS_INTERPRETATION_B_W, "VIPS_INTERPRETATION_B_W", "b-w"},
|
|
|
|
{VIPS_INTERPRETATION_HISTOGRAM, "VIPS_INTERPRETATION_HISTOGRAM", "histogram"},
|
|
|
|
{VIPS_INTERPRETATION_XYZ, "VIPS_INTERPRETATION_XYZ", "xyz"},
|
|
|
|
{VIPS_INTERPRETATION_LAB, "VIPS_INTERPRETATION_LAB", "lab"},
|
|
|
|
{VIPS_INTERPRETATION_CMYK, "VIPS_INTERPRETATION_CMYK", "cmyk"},
|
|
|
|
{VIPS_INTERPRETATION_LABQ, "VIPS_INTERPRETATION_LABQ", "labq"},
|
|
|
|
{VIPS_INTERPRETATION_RGB, "VIPS_INTERPRETATION_RGB", "rgb"},
|
2012-11-01 11:21:55 +01:00
|
|
|
{VIPS_INTERPRETATION_CMC, "VIPS_INTERPRETATION_CMC", "cmc"},
|
2011-02-21 10:16:17 +01:00
|
|
|
{VIPS_INTERPRETATION_LCH, "VIPS_INTERPRETATION_LCH", "lch"},
|
|
|
|
{VIPS_INTERPRETATION_LABS, "VIPS_INTERPRETATION_LABS", "labs"},
|
|
|
|
{VIPS_INTERPRETATION_sRGB, "VIPS_INTERPRETATION_sRGB", "srgb"},
|
|
|
|
{VIPS_INTERPRETATION_YXY, "VIPS_INTERPRETATION_YXY", "yxy"},
|
2012-09-24 12:23:32 +02:00
|
|
|
{VIPS_INTERPRETATION_FOURIER, "VIPS_INTERPRETATION_FOURIER", "fourier"},
|
2011-02-21 10:16:17 +01:00
|
|
|
{VIPS_INTERPRETATION_RGB16, "VIPS_INTERPRETATION_RGB16", "rgb16"},
|
|
|
|
{VIPS_INTERPRETATION_GREY16, "VIPS_INTERPRETATION_GREY16", "grey16"},
|
2013-07-02 23:09:50 +02:00
|
|
|
{VIPS_INTERPRETATION_MATRIX, "VIPS_INTERPRETATION_MATRIX", "matrix"},
|
2012-12-11 16:25:28 +01:00
|
|
|
{VIPS_INTERPRETATION_scRGB, "VIPS_INTERPRETATION_scRGB", "scrgb"},
|
2015-06-09 11:18:30 +02:00
|
|
|
{VIPS_INTERPRETATION_HSV, "VIPS_INTERPRETATION_HSV", "hsv"},
|
2015-04-21 19:39:02 +02:00
|
|
|
{VIPS_INTERPRETATION_LAST, "VIPS_INTERPRETATION_LAST", "last"},
|
2011-02-21 10:16:17 +01:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
etype = g_enum_register_static( "VipsInterpretation", values );
|
|
|
|
}
|
|
|
|
|
|
|
|
return( etype );
|
|
|
|
}
|
|
|
|
GType
|
|
|
|
vips_band_format_get_type( void )
|
2011-02-14 19:23:01 +01:00
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{VIPS_FORMAT_NOTSET, "VIPS_FORMAT_NOTSET", "notset"},
|
|
|
|
{VIPS_FORMAT_UCHAR, "VIPS_FORMAT_UCHAR", "uchar"},
|
|
|
|
{VIPS_FORMAT_CHAR, "VIPS_FORMAT_CHAR", "char"},
|
|
|
|
{VIPS_FORMAT_USHORT, "VIPS_FORMAT_USHORT", "ushort"},
|
|
|
|
{VIPS_FORMAT_SHORT, "VIPS_FORMAT_SHORT", "short"},
|
|
|
|
{VIPS_FORMAT_UINT, "VIPS_FORMAT_UINT", "uint"},
|
|
|
|
{VIPS_FORMAT_INT, "VIPS_FORMAT_INT", "int"},
|
|
|
|
{VIPS_FORMAT_FLOAT, "VIPS_FORMAT_FLOAT", "float"},
|
|
|
|
{VIPS_FORMAT_COMPLEX, "VIPS_FORMAT_COMPLEX", "complex"},
|
|
|
|
{VIPS_FORMAT_DOUBLE, "VIPS_FORMAT_DOUBLE", "double"},
|
|
|
|
{VIPS_FORMAT_DPCOMPLEX, "VIPS_FORMAT_DPCOMPLEX", "dpcomplex"},
|
|
|
|
{VIPS_FORMAT_LAST, "VIPS_FORMAT_LAST", "last"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2011-02-21 10:16:17 +01:00
|
|
|
etype = g_enum_register_static( "VipsBandFormat", values );
|
2011-02-14 19:23:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
return( etype );
|
|
|
|
}
|
|
|
|
GType
|
|
|
|
vips_coding_get_type( void )
|
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
|
|
|
static const GEnumValue values[] = {
|
2012-01-27 18:36:25 +01:00
|
|
|
{VIPS_CODING_ERROR, "VIPS_CODING_ERROR", "error"},
|
2011-02-14 19:23:01 +01:00
|
|
|
{VIPS_CODING_NONE, "VIPS_CODING_NONE", "none"},
|
|
|
|
{VIPS_CODING_LABQ, "VIPS_CODING_LABQ", "labq"},
|
|
|
|
{VIPS_CODING_RAD, "VIPS_CODING_RAD", "rad"},
|
2012-01-12 14:39:58 +01:00
|
|
|
{VIPS_CODING_LAST, "VIPS_CODING_LAST", "last"},
|
2011-02-14 19:23:01 +01:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
etype = g_enum_register_static( "VipsCoding", values );
|
|
|
|
}
|
|
|
|
|
|
|
|
return( etype );
|
|
|
|
}
|
2013-09-29 12:04:11 +02:00
|
|
|
GType
|
|
|
|
vips_access_get_type( void )
|
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{VIPS_ACCESS_RANDOM, "VIPS_ACCESS_RANDOM", "random"},
|
|
|
|
{VIPS_ACCESS_SEQUENTIAL, "VIPS_ACCESS_SEQUENTIAL", "sequential"},
|
2017-02-27 11:26:32 +01:00
|
|
|
{VIPS_ACCESS_SEQUENTIAL_UNBUFFERED, "VIPS_ACCESS_SEQUENTIAL_UNBUFFERED", "sequential-unbuffered"},
|
2013-09-29 12:04:11 +02:00
|
|
|
{VIPS_ACCESS_LAST, "VIPS_ACCESS_LAST", "last"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
etype = g_enum_register_static( "VipsAccess", values );
|
|
|
|
}
|
|
|
|
|
|
|
|
return( etype );
|
|
|
|
}
|
2013-10-01 15:26:13 +02:00
|
|
|
/* enumerations from "../../libvips/include/vips/colour.h" */
|
|
|
|
GType
|
|
|
|
vips_intent_get_type( void )
|
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{VIPS_INTENT_PERCEPTUAL, "VIPS_INTENT_PERCEPTUAL", "perceptual"},
|
|
|
|
{VIPS_INTENT_RELATIVE, "VIPS_INTENT_RELATIVE", "relative"},
|
|
|
|
{VIPS_INTENT_SATURATION, "VIPS_INTENT_SATURATION", "saturation"},
|
|
|
|
{VIPS_INTENT_ABSOLUTE, "VIPS_INTENT_ABSOLUTE", "absolute"},
|
2015-02-18 17:32:30 +01:00
|
|
|
{VIPS_INTENT_LAST, "VIPS_INTENT_LAST", "last"},
|
2013-10-01 15:26:13 +02:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
etype = g_enum_register_static( "VipsIntent", values );
|
|
|
|
}
|
|
|
|
|
|
|
|
return( etype );
|
|
|
|
}
|
2013-11-12 15:58:59 +01:00
|
|
|
GType
|
|
|
|
vips_pcs_get_type( void )
|
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{VIPS_PCS_LAB, "VIPS_PCS_LAB", "lab"},
|
|
|
|
{VIPS_PCS_XYZ, "VIPS_PCS_XYZ", "xyz"},
|
|
|
|
{VIPS_PCS_LAST, "VIPS_PCS_LAST", "last"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
etype = g_enum_register_static( "VipsPCS", values );
|
|
|
|
}
|
|
|
|
|
|
|
|
return( etype );
|
|
|
|
}
|
2012-07-10 11:51:40 +02:00
|
|
|
/* enumerations from "../../libvips/include/vips/operation.h" */
|
|
|
|
GType
|
|
|
|
vips_operation_flags_get_type( void )
|
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
|
|
|
static const GFlagsValue values[] = {
|
|
|
|
{VIPS_OPERATION_NONE, "VIPS_OPERATION_NONE", "none"},
|
|
|
|
{VIPS_OPERATION_SEQUENTIAL, "VIPS_OPERATION_SEQUENTIAL", "sequential"},
|
2013-09-29 12:04:11 +02:00
|
|
|
{VIPS_OPERATION_SEQUENTIAL_UNBUFFERED, "VIPS_OPERATION_SEQUENTIAL_UNBUFFERED", "sequential-unbuffered"},
|
2012-07-10 11:51:40 +02:00
|
|
|
{VIPS_OPERATION_NOCACHE, "VIPS_OPERATION_NOCACHE", "nocache"},
|
2014-02-03 14:23:58 +01:00
|
|
|
{VIPS_OPERATION_DEPRECATED, "VIPS_OPERATION_DEPRECATED", "deprecated"},
|
2012-07-10 11:51:40 +02:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
etype = g_flags_register_static( "VipsOperationFlags", values );
|
|
|
|
}
|
|
|
|
|
|
|
|
return( etype );
|
|
|
|
}
|
2013-10-01 15:26:13 +02:00
|
|
|
/* enumerations from "../../libvips/include/vips/convolution.h" */
|
2012-09-25 23:06:24 +02:00
|
|
|
GType
|
2013-10-24 15:46:08 +02:00
|
|
|
vips_combine_get_type( void )
|
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{VIPS_COMBINE_MAX, "VIPS_COMBINE_MAX", "max"},
|
|
|
|
{VIPS_COMBINE_SUM, "VIPS_COMBINE_SUM", "sum"},
|
|
|
|
{VIPS_COMBINE_LAST, "VIPS_COMBINE_LAST", "last"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
etype = g_enum_register_static( "VipsCombine", values );
|
|
|
|
}
|
|
|
|
|
|
|
|
return( etype );
|
|
|
|
}
|
2014-01-17 19:03:46 +01:00
|
|
|
/* enumerations from "../../libvips/include/vips/morphology.h" */
|
2013-10-23 14:15:31 +02:00
|
|
|
GType
|
|
|
|
vips_operation_morphology_get_type( void )
|
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{VIPS_OPERATION_MORPHOLOGY_ERODE, "VIPS_OPERATION_MORPHOLOGY_ERODE", "erode"},
|
|
|
|
{VIPS_OPERATION_MORPHOLOGY_DILATE, "VIPS_OPERATION_MORPHOLOGY_DILATE", "dilate"},
|
|
|
|
{VIPS_OPERATION_MORPHOLOGY_LAST, "VIPS_OPERATION_MORPHOLOGY_LAST", "last"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
etype = g_enum_register_static( "VipsOperationMorphology", values );
|
|
|
|
}
|
|
|
|
|
|
|
|
return( etype );
|
|
|
|
}
|
2014-03-28 14:55:56 +01:00
|
|
|
/* enumerations from "../../libvips/include/vips/draw.h" */
|
|
|
|
GType
|
|
|
|
vips_combine_mode_get_type( void )
|
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{VIPS_COMBINE_MODE_SET, "VIPS_COMBINE_MODE_SET", "set"},
|
|
|
|
{VIPS_COMBINE_MODE_ADD, "VIPS_COMBINE_MODE_ADD", "add"},
|
|
|
|
{VIPS_COMBINE_MODE_LAST, "VIPS_COMBINE_MODE_LAST", "last"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
etype = g_enum_register_static( "VipsCombineMode", values );
|
|
|
|
}
|
|
|
|
|
|
|
|
return( etype );
|
|
|
|
}
|
2014-12-16 21:48:11 +01:00
|
|
|
/* enumerations from "../../libvips/include/vips/basic.h" */
|
|
|
|
GType
|
|
|
|
vips_precision_get_type( void )
|
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{VIPS_PRECISION_INTEGER, "VIPS_PRECISION_INTEGER", "integer"},
|
|
|
|
{VIPS_PRECISION_FLOAT, "VIPS_PRECISION_FLOAT", "float"},
|
|
|
|
{VIPS_PRECISION_APPROXIMATE, "VIPS_PRECISION_APPROXIMATE", "approximate"},
|
|
|
|
{VIPS_PRECISION_LAST, "VIPS_PRECISION_LAST", "last"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
etype = g_enum_register_static( "VipsPrecision", values );
|
|
|
|
}
|
|
|
|
|
|
|
|
return( etype );
|
|
|
|
}
|
2011-02-14 19:23:01 +01:00
|
|
|
/* enumerations from "../../libvips/include/vips/object.h" */
|
|
|
|
GType
|
2011-02-21 10:16:17 +01:00
|
|
|
vips_argument_flags_get_type( void )
|
2011-02-14 19:23:01 +01:00
|
|
|
{
|
|
|
|
static GType etype = 0;
|
|
|
|
|
|
|
|
if( etype == 0 ) {
|
2012-02-20 22:02:37 +01:00
|
|
|
static const GFlagsValue values[] = {
|
2011-02-14 19:23:01 +01:00
|
|
|
{VIPS_ARGUMENT_NONE, "VIPS_ARGUMENT_NONE", "none"},
|
|
|
|
{VIPS_ARGUMENT_REQUIRED, "VIPS_ARGUMENT_REQUIRED", "required"},
|
|
|
|
{VIPS_ARGUMENT_CONSTRUCT, "VIPS_ARGUMENT_CONSTRUCT", "construct"},
|
|
|
|
{VIPS_ARGUMENT_SET_ONCE, "VIPS_ARGUMENT_SET_ONCE", "set-once"},
|
2012-01-02 12:06:04 +01:00
|
|
|
{VIPS_ARGUMENT_SET_ALWAYS, "VIPS_ARGUMENT_SET_ALWAYS", "set-always"},
|
2011-02-14 19:23:01 +01:00
|
|
|
{VIPS_ARGUMENT_INPUT, "VIPS_ARGUMENT_INPUT", "input"},
|
|
|
|
{VIPS_ARGUMENT_OUTPUT, "VIPS_ARGUMENT_OUTPUT", "output"},
|
2012-08-07 13:52:50 +02:00
|
|
|
{VIPS_ARGUMENT_DEPRECATED, "VIPS_ARGUMENT_DEPRECATED", "deprecated"},
|
2014-09-15 15:47:34 +02:00
|
|
|
{VIPS_ARGUMENT_MODIFY, "VIPS_ARGUMENT_MODIFY", "modify"},
|
2011-02-14 19:23:01 +01:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2012-02-20 22:02:37 +01:00
|
|
|
etype = g_flags_register_static( "VipsArgumentFlags", values );
|
2011-02-14 19:23:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
return( etype );
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Generated data ends here */
|
|
|
|
|