| conversion.h | | conversion.h | |
| | | | |
| skipping to change at line 72 | | skipping to change at line 72 | |
| } VipsAlign; | | } VipsAlign; | |
| | | | |
| typedef enum { | | typedef enum { | |
| VIPS_ANGLE_0, | | VIPS_ANGLE_0, | |
| VIPS_ANGLE_90, | | VIPS_ANGLE_90, | |
| VIPS_ANGLE_180, | | VIPS_ANGLE_180, | |
| VIPS_ANGLE_270, | | VIPS_ANGLE_270, | |
| VIPS_ANGLE_LAST | | VIPS_ANGLE_LAST | |
| } VipsAngle; | | } VipsAngle; | |
| | | | |
|
| | | typedef enum { | |
| | | VIPS_ANGLE45_0, | |
| | | VIPS_ANGLE45_45, | |
| | | VIPS_ANGLE45_90, | |
| | | VIPS_ANGLE45_135, | |
| | | VIPS_ANGLE45_180, | |
| | | VIPS_ANGLE45_225, | |
| | | VIPS_ANGLE45_270, | |
| | | VIPS_ANGLE45_315, | |
| | | VIPS_ANGLE45_LAST | |
| | | } VipsAngle45; | |
| | | | |
| int vips_copy( VipsImage *in, VipsImage **out, ... ) | | int vips_copy( VipsImage *in, VipsImage **out, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| int vips_tilecache( VipsImage *in, VipsImage **out, ... ) | | int vips_tilecache( VipsImage *in, VipsImage **out, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| int vips_linecache( VipsImage *in, VipsImage **out, ... ) | | int vips_linecache( VipsImage *in, VipsImage **out, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| int vips_sequential( VipsImage *in, VipsImage **out, ... ) | | int vips_sequential( VipsImage *in, VipsImage **out, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| int vips_cache( VipsImage *in, VipsImage **out, ... ) | | int vips_cache( VipsImage *in, VipsImage **out, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| | | | |
| skipping to change at line 99 | | skipping to change at line 111 | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| int vips_insert( VipsImage *main, VipsImage *sub, VipsImage **out, | | int vips_insert( VipsImage *main, VipsImage *sub, VipsImage **out, | |
| int x, int y, ... ) | | int x, int y, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| int vips_join( VipsImage *main, VipsImage *sub, VipsImage **out, | | int vips_join( VipsImage *main, VipsImage *sub, VipsImage **out, | |
| VipsDirection direction, ... ) | | VipsDirection direction, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| int vips_extract_area( VipsImage *input, VipsImage **output, | | int vips_extract_area( VipsImage *input, VipsImage **output, | |
| int left, int top, int width, int height, ... ) | | int left, int top, int width, int height, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
|
| | | int vips_crop( VipsImage *input, VipsImage **output, | |
| | | int left, int top, int width, int height, ... ) | |
| | | __attribute__((sentinel)); | |
| int vips_extract_band( VipsImage *input, VipsImage **output, int band, ...
) | | int vips_extract_band( VipsImage *input, VipsImage **output, int band, ...
) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| int vips_replicate( VipsImage *in, VipsImage **out, int across, int down, .
.. ) | | int vips_replicate( VipsImage *in, VipsImage **out, int across, int down, .
.. ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| int vips_grid( VipsImage *in, VipsImage **out, | | int vips_grid( VipsImage *in, VipsImage **out, | |
| int tile_height, int across, int down, ... ) | | int tile_height, int across, int down, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| int vips_wrap( VipsImage *in, VipsImage **out, ... ) | | int vips_wrap( VipsImage *in, VipsImage **out, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| int vips_rot( VipsImage *in, VipsImage **out, VipsAngle angle, ... ) | | int vips_rot( VipsImage *in, VipsImage **out, VipsAngle angle, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
|
| | | int vips_rot45( VipsImage *in, VipsImage **out, ... ) | |
| | | __attribute__((sentinel)); | |
| int vips_zoom( VipsImage *in, VipsImage **out, int xfac, int yfac, ... ) | | int vips_zoom( VipsImage *in, VipsImage **out, int xfac, int yfac, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| int vips_subsample( VipsImage *in, VipsImage **out, int xfac, int yfac, ...
) | | int vips_subsample( VipsImage *in, VipsImage **out, int xfac, int yfac, ...
) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| | | | |
| int vips_cast( VipsImage *in, VipsImage **out, VipsBandFormat format, ... ) | | int vips_cast( VipsImage *in, VipsImage **out, VipsBandFormat format, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| int vips_cast_uchar( VipsImage *in, VipsImage **out, ... ) | | int vips_cast_uchar( VipsImage *in, VipsImage **out, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| int vips_cast_char( VipsImage *in, VipsImage **out, ... ) | | int vips_cast_char( VipsImage *in, VipsImage **out, ... ) | |
| | | | |
| skipping to change at line 146 | | skipping to change at line 163 | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| int vips_scale( VipsImage *in, VipsImage **out, ... ) | | int vips_scale( VipsImage *in, VipsImage **out, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| int vips_msb( VipsImage *in, VipsImage **out, ... ) | | int vips_msb( VipsImage *in, VipsImage **out, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| | | | |
| int vips_bandjoin( VipsImage **in, VipsImage **out, int n, ... ) | | int vips_bandjoin( VipsImage **in, VipsImage **out, int n, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| int vips_bandjoin2( VipsImage *in1, VipsImage *in2, VipsImage **out, ... ) | | int vips_bandjoin2( VipsImage *in1, VipsImage *in2, VipsImage **out, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
|
| int vips_bandmean( VipsImage *in, VipsImage **out, ... ) | | int vips_bandrank( VipsImage **in, VipsImage **out, int n, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| | | | |
| int vips_bandbool( VipsImage *in, VipsImage **out, | | int vips_bandbool( VipsImage *in, VipsImage **out, | |
| VipsOperationBoolean operation, ... ) | | VipsOperationBoolean operation, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| int vips_bandand( VipsImage *in, VipsImage **out, ... ) | | int vips_bandand( VipsImage *in, VipsImage **out, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| int vips_bandor( VipsImage *in, VipsImage **out, ... ) | | int vips_bandor( VipsImage *in, VipsImage **out, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| int vips_bandeor( VipsImage *in, VipsImage **out, ... ) | | int vips_bandeor( VipsImage *in, VipsImage **out, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
|
| | | int vips_bandmean( VipsImage *in, VipsImage **out, ... ) | |
| | | __attribute__((sentinel)); | |
| | | | |
| int vips_recomb( VipsImage *in, VipsImage **out, VipsImage *m, ... ) | | int vips_recomb( VipsImage *in, VipsImage **out, VipsImage *m, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| | | | |
| int vips_ifthenelse( VipsImage *cond, VipsImage *in1, VipsImage *in2, | | int vips_ifthenelse( VipsImage *cond, VipsImage *in1, VipsImage *in2, | |
| VipsImage **out, ... ) | | VipsImage **out, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| int vips_flatten( VipsImage *in, VipsImage **out, ... ) | | int vips_flatten( VipsImage *in, VipsImage **out, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| | | | |
| int vips_falsecolour( VipsImage *in, VipsImage **out, ... ) | | int vips_falsecolour( VipsImage *in, VipsImage **out, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
|
| int vips_gammacorrect( VipsImage *in, VipsImage **out, ... ) | | int vips_gamma( VipsImage *in, VipsImage **out, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| | | | |
| int im_insertset( VipsImage *main, VipsImage *sub, VipsImage *out, int n, i
nt *x, int *y ); | | int im_insertset( VipsImage *main, VipsImage *sub, VipsImage *out, int n, i
nt *x, int *y ); | |
| | | | |
| #ifdef __cplusplus | | #ifdef __cplusplus | |
| } | | } | |
| #endif /*__cplusplus*/ | | #endif /*__cplusplus*/ | |
| | | | |
| #endif /*VIPS_CONVERSION_H*/ | | #endif /*VIPS_CONVERSION_H*/ | |
| | | | |
End of changes. 6 change blocks. |
| 2 lines changed or deleted | | 21 lines changed or added | |
|
| create.h | | create.h | |
| | | | |
| skipping to change at line 41 | | skipping to change at line 41 | |
| | | | |
| */ | | */ | |
| | | | |
| #ifndef VIPS_CREATE_H | | #ifndef VIPS_CREATE_H | |
| #define VIPS_CREATE_H | | #define VIPS_CREATE_H | |
| | | | |
| #ifdef __cplusplus | | #ifdef __cplusplus | |
| extern "C" { | | extern "C" { | |
| #endif /*__cplusplus*/ | | #endif /*__cplusplus*/ | |
| | | | |
|
| void vips_create_operation_init( void ); | | | |
| | | | |
| int vips_black( VipsImage **out, int width, int height, ... ) | | int vips_black( VipsImage **out, int width, int height, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| | | | |
| int vips_xyz( VipsImage **out, int width, int height, ... ) | | int vips_xyz( VipsImage **out, int width, int height, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| int vips_grey( VipsImage **out, int width, int height, ... ) | | int vips_grey( VipsImage **out, int width, int height, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
|
| | | int vips_gaussmat( VipsImage **out, double sigma, double min_ampl, ... ) | |
| | | __attribute__((sentinel)); | |
| | | int vips_logmat( VipsImage **out, double sigma, double min_ampl, ... ) | |
| | | __attribute__((sentinel)); | |
| | | | |
| int vips_text( VipsImage **out, const char *text, ... ) | | int vips_text( VipsImage **out, const char *text, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| | | | |
| int vips_gaussnoise( VipsImage **out, int width, int height, ... ) | | int vips_gaussnoise( VipsImage **out, int width, int height, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| int vips_eye( VipsImage **out, int width, int height, ... ) | | int vips_eye( VipsImage **out, int width, int height, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| int vips_sines( VipsImage **out, int width, int height, ... ) | | int vips_sines( VipsImage **out, int width, int height, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| | | | |
| skipping to change at line 72 | | skipping to change at line 74 | |
| | | | |
| int vips_identity( VipsImage **out, ... ) | | int vips_identity( VipsImage **out, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| int vips_buildlut( VipsImage *in, VipsImage **out, ... ) | | int vips_buildlut( VipsImage *in, VipsImage **out, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| int vips_invertlut( VipsImage *in, VipsImage **out, ... ) | | int vips_invertlut( VipsImage *in, VipsImage **out, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| int vips_tonelut( VipsImage **out, ... ) | | int vips_tonelut( VipsImage **out, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| | | | |
|
| | | int vips_mask_ideal( VipsImage **out, int width, int height, | |
| | | double frequency_cutoff, ... ) | |
| | | __attribute__((sentinel)); | |
| | | int vips_mask_ideal_ring( VipsImage **out, int width, int height, | |
| | | double frequency_cutoff, double ringwidth, ... ) | |
| | | __attribute__((sentinel)); | |
| | | int vips_mask_ideal_band( VipsImage **out, int width, int height, | |
| | | double frequency_cutoff_x, double frequency_cutoff_y, double r, ... | |
| | | ) | |
| | | __attribute__((sentinel)); | |
| | | int vips_mask_butterworth( VipsImage **out, int width, int height, | |
| | | double order, | |
| | | double frequency_cutoff, double amplitude_cutoff, ... ) | |
| | | __attribute__((sentinel)); | |
| | | int vips_mask_butterworth_ring( VipsImage **out, int width, int height, | |
| | | double order, | |
| | | double frequency_cutoff, double amplitude_cutoff, | |
| | | double ringwidth, ... ) | |
| | | __attribute__((sentinel)); | |
| | | int vips_mask_butterworth_band( VipsImage **out, int width, int height, | |
| | | double order, | |
| | | double frequency_cutoff_x, double frequency_cutoff_y, double r, | |
| | | double amplitude_cutoff, ... ) | |
| | | __attribute__((sentinel)); | |
| | | int vips_mask_gaussian( VipsImage **out, int width, int height, | |
| | | double frequency_cutoff, double amplitude_cutoff, ... ) | |
| | | __attribute__((sentinel)); | |
| | | int vips_mask_gaussian_ring( VipsImage **out, int width, int height, | |
| | | double frequency_cutoff, double amplitude_cutoff, | |
| | | double ringwidth, ... ) | |
| | | __attribute__((sentinel)); | |
| | | int vips_mask_gaussian_band( VipsImage **out, int width, int height, | |
| | | double frequency_cutoff_x, double frequency_cutoff_y, double r, | |
| | | double amplitude_cutoff, ... ) | |
| | | __attribute__((sentinel)); | |
| | | int vips_mask_fractal( VipsImage **out, int width, int height, | |
| | | double fractal_dimension, ... ) | |
| | | __attribute__((sentinel)); | |
| | | | |
| | | int vips_fractsurf( VipsImage **out, | |
| | | int width, int height, double fractal_dimension, ... ) | |
| | | __attribute__((sentinel)); | |
| | | | |
| int im_benchmarkn( VipsImage *in, VipsImage *out, int n ); | | int im_benchmarkn( VipsImage *in, VipsImage *out, int n ); | |
| int im_benchmark2( VipsImage *in, double *out ); | | int im_benchmark2( VipsImage *in, double *out ); | |
| | | | |
| #ifdef __cplusplus | | #ifdef __cplusplus | |
| } | | } | |
| #endif /*__cplusplus*/ | | #endif /*__cplusplus*/ | |
| | | | |
| #endif /*VIPS_CREATE_H*/ | | #endif /*VIPS_CREATE_H*/ | |
| | | | |
End of changes. 3 change blocks. |
| 2 lines changed or deleted | | 47 lines changed or added | |
|
| enumtypes.h | | enumtypes.h | |
| | | | |
| skipping to change at line 50 | | skipping to change at line 50 | |
| #define VIPS_TYPE_OPERATION_COMPLEXGET (vips_operation_complexget_get_type(
)) | | #define VIPS_TYPE_OPERATION_COMPLEXGET (vips_operation_complexget_get_type(
)) | |
| /* enumerations from "../../../libvips/include/vips/conversion.h" */ | | /* enumerations from "../../../libvips/include/vips/conversion.h" */ | |
| GType vips_extend_get_type (void) G_GNUC_CONST; | | GType vips_extend_get_type (void) G_GNUC_CONST; | |
| #define VIPS_TYPE_EXTEND (vips_extend_get_type()) | | #define VIPS_TYPE_EXTEND (vips_extend_get_type()) | |
| GType vips_direction_get_type (void) G_GNUC_CONST; | | GType vips_direction_get_type (void) G_GNUC_CONST; | |
| #define VIPS_TYPE_DIRECTION (vips_direction_get_type()) | | #define VIPS_TYPE_DIRECTION (vips_direction_get_type()) | |
| GType vips_align_get_type (void) G_GNUC_CONST; | | GType vips_align_get_type (void) G_GNUC_CONST; | |
| #define VIPS_TYPE_ALIGN (vips_align_get_type()) | | #define VIPS_TYPE_ALIGN (vips_align_get_type()) | |
| GType vips_angle_get_type (void) G_GNUC_CONST; | | GType vips_angle_get_type (void) G_GNUC_CONST; | |
| #define VIPS_TYPE_ANGLE (vips_angle_get_type()) | | #define VIPS_TYPE_ANGLE (vips_angle_get_type()) | |
|
| | | GType vips_angle45_get_type (void) G_GNUC_CONST; | |
| | | #define VIPS_TYPE_ANGLE45 (vips_angle45_get_type()) | |
| /* enumerations from "../../../libvips/include/vips/util.h" */ | | /* enumerations from "../../../libvips/include/vips/util.h" */ | |
| GType vips_token_get_type (void) G_GNUC_CONST; | | GType vips_token_get_type (void) G_GNUC_CONST; | |
| #define VIPS_TYPE_TOKEN (vips_token_get_type()) | | #define VIPS_TYPE_TOKEN (vips_token_get_type()) | |
| /* enumerations from "../../../libvips/include/vips/image.h" */ | | /* enumerations from "../../../libvips/include/vips/image.h" */ | |
| GType vips_demand_style_get_type (void) G_GNUC_CONST; | | GType vips_demand_style_get_type (void) G_GNUC_CONST; | |
| #define VIPS_TYPE_DEMAND_STYLE (vips_demand_style_get_type()) | | #define VIPS_TYPE_DEMAND_STYLE (vips_demand_style_get_type()) | |
| GType vips_image_type_get_type (void) G_GNUC_CONST; | | GType vips_image_type_get_type (void) G_GNUC_CONST; | |
| #define VIPS_TYPE_IMAGE_TYPE (vips_image_type_get_type()) | | #define VIPS_TYPE_IMAGE_TYPE (vips_image_type_get_type()) | |
| GType vips_interpretation_get_type (void) G_GNUC_CONST; | | GType vips_interpretation_get_type (void) G_GNUC_CONST; | |
| #define VIPS_TYPE_INTERPRETATION (vips_interpretation_get_type()) | | #define VIPS_TYPE_INTERPRETATION (vips_interpretation_get_type()) | |
| GType vips_band_format_get_type (void) G_GNUC_CONST; | | GType vips_band_format_get_type (void) G_GNUC_CONST; | |
| #define VIPS_TYPE_BAND_FORMAT (vips_band_format_get_type()) | | #define VIPS_TYPE_BAND_FORMAT (vips_band_format_get_type()) | |
| GType vips_coding_get_type (void) G_GNUC_CONST; | | GType vips_coding_get_type (void) G_GNUC_CONST; | |
| #define VIPS_TYPE_CODING (vips_coding_get_type()) | | #define VIPS_TYPE_CODING (vips_coding_get_type()) | |
| GType vips_access_get_type (void) G_GNUC_CONST; | | GType vips_access_get_type (void) G_GNUC_CONST; | |
| #define VIPS_TYPE_ACCESS (vips_access_get_type()) | | #define VIPS_TYPE_ACCESS (vips_access_get_type()) | |
| /* enumerations from "../../../libvips/include/vips/colour.h" */ | | /* enumerations from "../../../libvips/include/vips/colour.h" */ | |
| GType vips_intent_get_type (void) G_GNUC_CONST; | | GType vips_intent_get_type (void) G_GNUC_CONST; | |
| #define VIPS_TYPE_INTENT (vips_intent_get_type()) | | #define VIPS_TYPE_INTENT (vips_intent_get_type()) | |
|
| | | GType vips_pcs_get_type (void) G_GNUC_CONST; | |
| | | #define VIPS_TYPE_PCS (vips_pcs_get_type()) | |
| /* enumerations from "../../../libvips/include/vips/operation.h" */ | | /* enumerations from "../../../libvips/include/vips/operation.h" */ | |
| GType vips_operation_flags_get_type (void) G_GNUC_CONST; | | GType vips_operation_flags_get_type (void) G_GNUC_CONST; | |
| #define VIPS_TYPE_OPERATION_FLAGS (vips_operation_flags_get_type()) | | #define VIPS_TYPE_OPERATION_FLAGS (vips_operation_flags_get_type()) | |
| /* enumerations from "../../../libvips/include/vips/convolution.h" */ | | /* enumerations from "../../../libvips/include/vips/convolution.h" */ | |
| GType vips_precision_get_type (void) G_GNUC_CONST; | | GType vips_precision_get_type (void) G_GNUC_CONST; | |
| #define VIPS_TYPE_PRECISION (vips_precision_get_type()) | | #define VIPS_TYPE_PRECISION (vips_precision_get_type()) | |
|
| | | GType vips_combine_get_type (void) G_GNUC_CONST; | |
| | | #define VIPS_TYPE_COMBINE (vips_combine_get_type()) | |
| | | /* enumerations from "../../../libvips/include/vips/morphology.h" */ | |
| | | GType vips_operation_morphology_get_type (void) G_GNUC_CONST; | |
| | | #define VIPS_TYPE_OPERATION_MORPHOLOGY (vips_operation_morphology_get_type( | |
| | | )) | |
| /* enumerations from "../../../libvips/include/vips/object.h" */ | | /* enumerations from "../../../libvips/include/vips/object.h" */ | |
| GType vips_argument_flags_get_type (void) G_GNUC_CONST; | | GType vips_argument_flags_get_type (void) G_GNUC_CONST; | |
| #define VIPS_TYPE_ARGUMENT_FLAGS (vips_argument_flags_get_type()) | | #define VIPS_TYPE_ARGUMENT_FLAGS (vips_argument_flags_get_type()) | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif /*VIPS_ENUM_TYPES_H*/ | | #endif /*VIPS_ENUM_TYPES_H*/ | |
| | | | |
| /* Generated data ends here */ | | /* Generated data ends here */ | |
| | | | |
End of changes. 3 change blocks. |
| 0 lines changed or deleted | | 10 lines changed or added | |
|
| foreign.h | | foreign.h | |
| | | | |
| skipping to change at line 89 | | skipping to change at line 89 | |
| | | | |
| GType vips_foreign_get_type( void ); | | GType vips_foreign_get_type( void ); | |
| | | | |
| /* Map over and find formats. This uses type introspection to loop over | | /* Map over and find formats. This uses type introspection to loop over | |
| * subclasses of VipsForeign. | | * subclasses of VipsForeign. | |
| */ | | */ | |
| void *vips_foreign_map( const char *base, | | void *vips_foreign_map( const char *base, | |
| VipsSListMap2Fn fn, void *a, void *b ); | | VipsSListMap2Fn fn, void *a, void *b ); | |
| | | | |
| /* Image file load properties. | | /* Image file load properties. | |
|
| | | * | |
| | | * Keep in sync with the deprecated VipsFormatFlags, we need to be able to | |
| | | * cast between them. | |
| */ | | */ | |
| typedef enum /*< flags >*/ { | | typedef enum /*< flags >*/ { | |
| VIPS_FOREIGN_NONE = 0, /* No flags set */ | | VIPS_FOREIGN_NONE = 0, /* No flags set */ | |
| VIPS_FOREIGN_PARTIAL = 1, /* Lazy read OK (eg. tiled tiff) */ | | VIPS_FOREIGN_PARTIAL = 1, /* Lazy read OK (eg. tiled tiff) */ | |
|
| VIPS_FOREIGN_SEQUENTIAL = 2, /* Top-to-bottom lazy read OK */ | | VIPS_FOREIGN_BIGENDIAN = 2, /* Most-significant byte first */ | |
| VIPS_FOREIGN_BIGENDIAN = 4, /* Most-significant byte first */ | | VIPS_FOREIGN_SEQUENTIAL = 4, /* Top-to-bottom lazy read OK */ | |
| VIPS_FOREIGN_ALL = 7 /* All flags set */ | | VIPS_FOREIGN_ALL = 7 /* All flags set */ | |
| } VipsForeignFlags; | | } VipsForeignFlags; | |
| | | | |
| #define VIPS_TYPE_FOREIGN_LOAD (vips_foreign_load_get_type()) | | #define VIPS_TYPE_FOREIGN_LOAD (vips_foreign_load_get_type()) | |
| #define VIPS_FOREIGN_LOAD( obj ) \ | | #define VIPS_FOREIGN_LOAD( obj ) \ | |
| (G_TYPE_CHECK_INSTANCE_CAST( (obj), \ | | (G_TYPE_CHECK_INSTANCE_CAST( (obj), \ | |
| VIPS_TYPE_FOREIGN_LOAD, VipsForeignLoad )) | | VIPS_TYPE_FOREIGN_LOAD, VipsForeignLoad )) | |
| #define VIPS_FOREIGN_LOAD_CLASS( klass ) \ | | #define VIPS_FOREIGN_LOAD_CLASS( klass ) \ | |
| (G_TYPE_CHECK_CLASS_CAST( (klass), \ | | (G_TYPE_CHECK_CLASS_CAST( (klass), \ | |
| VIPS_TYPE_FOREIGN_LOAD, VipsForeignLoadClass)) | | VIPS_TYPE_FOREIGN_LOAD, VipsForeignLoadClass)) | |
| | | | |
| skipping to change at line 249 | | skipping to change at line 252 | |
| VIPS_SAVEABLE_RGB, | | VIPS_SAVEABLE_RGB, | |
| VIPS_SAVEABLE_RGBA, | | VIPS_SAVEABLE_RGBA, | |
| VIPS_SAVEABLE_RGB_CMYK, | | VIPS_SAVEABLE_RGB_CMYK, | |
| VIPS_SAVEABLE_ANY, | | VIPS_SAVEABLE_ANY, | |
| VIPS_SAVEABLE_LAST | | VIPS_SAVEABLE_LAST | |
| } VipsSaveable; | | } VipsSaveable; | |
| | | | |
| typedef struct _VipsForeignSave { | | typedef struct _VipsForeignSave { | |
| VipsForeign parent_object; | | VipsForeign parent_object; | |
| | | | |
|
| | | /* Dont't attach metadata. | |
| | | */ | |
| | | gboolean strip; | |
| | | | |
| /*< public >*/ | | /*< public >*/ | |
| | | | |
| /* The image we are to save, as supplied by our caller. | | /* The image we are to save, as supplied by our caller. | |
| */ | | */ | |
| VipsImage *in; | | VipsImage *in; | |
| | | | |
| /* @in converted to a saveable format (eg. 8-bit RGB) according to t
he | | /* @in converted to a saveable format (eg. 8-bit RGB) according to t
he | |
| * instructions you give in the class fields below. | | * instructions you give in the class fields below. | |
| * | | * | |
| * This is the image you should actually write to the output. | | * This is the image you should actually write to the output. | |
| | | | |
| skipping to change at line 424 | | skipping to change at line 431 | |
| | | | |
| int vips_csvload( const char *filename, VipsImage **out, ... ) | | int vips_csvload( const char *filename, VipsImage **out, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| int vips_csvsave( VipsImage *in, const char *filename, ... ) | | int vips_csvsave( VipsImage *in, const char *filename, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| | | | |
| int vips_matrixload( const char *filename, VipsImage **out, ... ) | | int vips_matrixload( const char *filename, VipsImage **out, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| int vips_matrixsave( VipsImage *in, const char *filename, ... ) | | int vips_matrixsave( VipsImage *in, const char *filename, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
|
| | | int vips_matrixprint( VipsImage *in, ... ) | |
| | | __attribute__((sentinel)); | |
| | | | |
| int vips_magickload( const char *filename, VipsImage **out, ... ) | | int vips_magickload( const char *filename, VipsImage **out, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| | | | |
| int vips_pngload( const char *filename, VipsImage **out, ... ) | | int vips_pngload( const char *filename, VipsImage **out, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| int vips_pngload_buffer( void *buf, size_t len, VipsImage **out, ... ) | | int vips_pngload_buffer( void *buf, size_t len, VipsImage **out, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| int vips_pngsave( VipsImage *in, const char *filename, ... ) | | int vips_pngsave( VipsImage *in, const char *filename, ... ) | |
| __attribute__((sentinel)); | | __attribute__((sentinel)); | |
| | | | |
End of changes. 4 change blocks. |
| 2 lines changed or deleted | | 11 lines changed or added | |
|
| private.h | | private.h | |
| | | | |
| skipping to change at line 59 | | skipping to change at line 59 | |
| | | | |
| /* Private to iofuncs: add at least this many bytes above and below the win
dow. | | /* Private to iofuncs: add at least this many bytes above and below the win
dow. | |
| * There's no point mapping just a few KB of a small image. | | * There's no point mapping just a few KB of a small image. | |
| */ | | */ | |
| #define VIPS__WINDOW_MARGIN_BYTES (1024 * 1024 * 10) | | #define VIPS__WINDOW_MARGIN_BYTES (1024 * 1024 * 10) | |
| | | | |
| /* sizeof() a VIPS header on disc. | | /* sizeof() a VIPS header on disc. | |
| */ | | */ | |
| #define VIPS_SIZEOF_HEADER (64) | | #define VIPS_SIZEOF_HEADER (64) | |
| | | | |
|
| | | /* Startup plus ABI check. | |
| | | */ | |
| | | int vips__init( const char *argv0 ); | |
| | | size_t vips__get_sizeof_vipsobject( void ); | |
| | | | |
| /* What we track for each mmap window. Have a list of these on an openin | | /* What we track for each mmap window. Have a list of these on an openin | |
| * VipsImage. | | * VipsImage. | |
| */ | | */ | |
| typedef struct { | | typedef struct { | |
| int ref_count; /* # of regions referencing us */ | | int ref_count; /* # of regions referencing us */ | |
| struct _VipsImage *im; /* VipsImage we are attached to */ | | struct _VipsImage *im; /* VipsImage we are attached to */ | |
| | | | |
| int top; /* Area of image we have mapped, in pixels *
/ | | int top; /* Area of image we have mapped, in pixels *
/ | |
| int height; | | int height; | |
| VipsPel *data; /* First pixel of line 'top' */ | | VipsPel *data; /* First pixel of line 'top' */ | |
| | | | |
| skipping to change at line 80 | | skipping to change at line 85 | |
| void *baseaddr; /* Base of window */ | | void *baseaddr; /* Base of window */ | |
| size_t length; /* Size of window */ | | size_t length; /* Size of window */ | |
| } VipsWindow; | | } VipsWindow; | |
| | | | |
| /* window manager. | | /* window manager. | |
| */ | | */ | |
| VipsWindow *vips_window_ref( struct _VipsImage *im, int top, int height ); | | VipsWindow *vips_window_ref( struct _VipsImage *im, int top, int height ); | |
| int vips_window_unref( VipsWindow *window ); | | int vips_window_unref( VipsWindow *window ); | |
| void vips_window_print( VipsWindow *window ); | | void vips_window_print( VipsWindow *window ); | |
| | | | |
|
| /* Per-thread buffer cache. Held in a GPrivate. | | /* Per-thread buffer state. Held in a GPrivate. | |
| */ | | */ | |
| typedef struct { | | typedef struct { | |
|
| GHashTable *hash; /* Hash to VipsBufferCacheList* */ | | GHashTable *hash; /* VipsImage -> VipsBufferCache* */ | |
| GThread *thread; /* Just for sanity checking */ | | GThread *thread; /* Just for sanity checking */ | |
|
| } VipsBufferCache; | | } VipsBufferThread; | |
| | | | |
| /* Per-image buffer cache. Hash to this from VipsBufferCache. | | /* Per-image buffer cache. Hash to this from VipsBufferCache. | |
| * We can't store the GSList directly in the hash table, as GHashTable lack
s an | | * We can't store the GSList directly in the hash table, as GHashTable lack
s an | |
| * update operation and we'd need to _remove() and _insert() on every list | | * update operation and we'd need to _remove() and _insert() on every list | |
| * operation. | | * operation. | |
| */ | | */ | |
|
| typedef struct _VipsBufferCacheList { | | typedef struct _VipsBufferCache { | |
| GSList *buffers; /* GSList of VipsBuffer* */ | | GSList *buffers; /* GSList of VipsBuffer* */ | |
| GThread *thread; /* Just for sanity checking */ | | GThread *thread; /* Just for sanity checking */ | |
| struct _VipsImage *im; | | struct _VipsImage *im; | |
|
| VipsBufferCache *cache; | | VipsBufferThread *buffer_thread; | |
| } VipsBufferCacheList; | | GSList *reserve; /* VipsBuffer kept in reserve */ | |
| | | int n_reserve; /* Number in reserve */ | |
| | | } VipsBufferCache; | |
| | | | |
|
| /* What we track for each pixel buffer. | | /* What we track for each pixel buffer. These can move between caches and | |
| | | * between threads, but not between images. | |
| */ | | */ | |
| typedef struct _VipsBuffer { | | typedef struct _VipsBuffer { | |
| int ref_count; /* # of regions referencing us */ | | int ref_count; /* # of regions referencing us */ | |
| struct _VipsImage *im; /* VipsImage we are attached to */ | | struct _VipsImage *im; /* VipsImage we are attached to */ | |
| | | | |
| VipsRect area; /* Area this pixel buffer covers */ | | VipsRect area; /* Area this pixel buffer covers */ | |
| gboolean done; /* Calculated and in cache */ | | gboolean done; /* Calculated and in cache */ | |
|
| VipsBufferCache *cache; | | VipsBufferCache *cache; /* The cache this buffer is published on */ | |
| VipsPel *buf; /* Private malloc() area */ | | VipsPel *buf; /* Private malloc() area */ | |
| size_t bsize; /* Size of private malloc() */ | | size_t bsize; /* Size of private malloc() */ | |
| } VipsBuffer; | | } VipsBuffer; | |
| | | | |
|
| | | void vips_buffer_dump_all( void ); | |
| void vips_buffer_done( VipsBuffer *buffer ); | | void vips_buffer_done( VipsBuffer *buffer ); | |
| void vips_buffer_undone( VipsBuffer *buffer ); | | void vips_buffer_undone( VipsBuffer *buffer ); | |
| void vips_buffer_unref( VipsBuffer *buffer ); | | void vips_buffer_unref( VipsBuffer *buffer ); | |
| VipsBuffer *vips_buffer_new( struct _VipsImage *im, VipsRect *area ); | | VipsBuffer *vips_buffer_new( struct _VipsImage *im, VipsRect *area ); | |
| VipsBuffer *vips_buffer_ref( struct _VipsImage *im, VipsRect *area ); | | VipsBuffer *vips_buffer_ref( struct _VipsImage *im, VipsRect *area ); | |
| VipsBuffer *vips_buffer_unref_ref( VipsBuffer *buffer, | | VipsBuffer *vips_buffer_unref_ref( VipsBuffer *buffer, | |
| struct _VipsImage *im, VipsRect *area ); | | struct _VipsImage *im, VipsRect *area ); | |
| void vips_buffer_print( VipsBuffer *buffer ); | | void vips_buffer_print( VipsBuffer *buffer ); | |
| | | | |
| /* Sections of region.h that are private to VIPS. | | /* Sections of region.h that are private to VIPS. | |
| | | | |
| skipping to change at line 152 | | skipping to change at line 161 | |
| #define VIPS__THINSTRIP_HEIGHT (1) | | #define VIPS__THINSTRIP_HEIGHT (1) | |
| #define VIPS__FATSTRIP_HEIGHT (16) | | #define VIPS__FATSTRIP_HEIGHT (16) | |
| | | | |
| /* Functions on regions. | | /* Functions on regions. | |
| */ | | */ | |
| struct _VipsRegion; | | struct _VipsRegion; | |
| void vips__region_take_ownership( struct _VipsRegion *reg ); | | void vips__region_take_ownership( struct _VipsRegion *reg ); | |
| void vips__region_check_ownership( struct _VipsRegion *reg ); | | void vips__region_check_ownership( struct _VipsRegion *reg ); | |
| void vips__region_no_ownership( struct _VipsRegion *reg ); | | void vips__region_no_ownership( struct _VipsRegion *reg ); | |
| | | | |
|
| int vips__region_start( struct _VipsRegion *reg ); | | | |
| void vips__region_stop( struct _VipsRegion *reg ); | | | |
| | | | |
| typedef int (*VipsRegionFillFn)( struct _VipsRegion *, void * ); | | typedef int (*VipsRegionFillFn)( struct _VipsRegion *, void * ); | |
| int vips_region_fill( struct _VipsRegion *reg, | | int vips_region_fill( struct _VipsRegion *reg, | |
| VipsRect *r, VipsRegionFillFn fn, void *a ); | | VipsRect *r, VipsRegionFillFn fn, void *a ); | |
| | | | |
| int vips__image_wio_output( struct _VipsImage *image ); | | int vips__image_wio_output( struct _VipsImage *image ); | |
| int vips__image_pio_output( struct _VipsImage *image ); | | int vips__image_pio_output( struct _VipsImage *image ); | |
| | | | |
| VipsArgumentInstance *vips__argument_get_instance( | | VipsArgumentInstance *vips__argument_get_instance( | |
| VipsArgumentClass *argument_class, | | VipsArgumentClass *argument_class, | |
| VipsObject *object); | | VipsObject *object); | |
| VipsArgument *vips__argument_table_lookup( VipsArgumentTable *table, | | VipsArgument *vips__argument_table_lookup( VipsArgumentTable *table, | |
| GParamSpec *pspec); | | GParamSpec *pspec); | |
| | | | |
|
| | | void vips__demand_hint_array( struct _VipsImage *image, | |
| | | int hint, struct _VipsImage **in ); | |
| | | int vips__image_copy_fields_array( struct _VipsImage *out, | |
| | | struct _VipsImage *in[] ); | |
| | | | |
| #ifdef __cplusplus | | #ifdef __cplusplus | |
| } | | } | |
| #endif /*__cplusplus*/ | | #endif /*__cplusplus*/ | |
| | | | |
| #endif /*VIPS_PRIVATE_H*/ | | #endif /*VIPS_PRIVATE_H*/ | |
| | | | |
End of changes. 11 change blocks. |
| 11 lines changed or deleted | | 22 lines changed or added | |
|
| vips7compat.h | | vips7compat.h | |
| | | | |
| skipping to change at line 211 | | skipping to change at line 211 | |
| #define error_exit vips_error_exit | | #define error_exit vips_error_exit | |
| | | | |
| #define im_get_argv0 vips_get_argv0 | | #define im_get_argv0 vips_get_argv0 | |
| #define im_version_string vips_version_string | | #define im_version_string vips_version_string | |
| #define im_version vips_version | | #define im_version vips_version | |
| #define im_get_option_group vips_get_option_group | | #define im_get_option_group vips_get_option_group | |
| #define im_guess_prefix vips_guess_prefix | | #define im_guess_prefix vips_guess_prefix | |
| #define im_guess_libdir vips_guess_libdir | | #define im_guess_libdir vips_guess_libdir | |
| #define im__global_lock vips__global_lock | | #define im__global_lock vips__global_lock | |
| | | | |
|
| #define im_cp_desc vips_image_copy_fields | | int im_cp_desc(IMAGE *out, IMAGE *in ); | |
| #define im_cp_descv vips_image_copy_fieldsv | | int im_cp_descv (IMAGE * im, ...); | |
| #define im_cp_desc_array vips_image_copy_fields_array | | #define im_cp_desc_array(I, A) vips__image_copy_fields_array(I, A) | |
| | | int im_demand_hint (IMAGE * im, VipsDemandStyle hint, ...); | |
| | | #define im_demand_hint_array( A, B, C ) (vips__demand_hint_array( A, B, C ) | |
| | | , 0) | |
| | | | |
| #define im_image vips_image_new_from_memory | | #define im_image vips_image_new_from_memory | |
| #define im_binfile vips_image_new_from_file_raw | | #define im_binfile vips_image_new_from_file_raw | |
| #define im__open_temp vips_image_new_temp_file | | #define im__open_temp vips_image_new_temp_file | |
| #define im__test_kill( I ) (vips_image_get_kill( I )) | | #define im__test_kill( I ) (vips_image_get_kill( I )) | |
| #define im__start_eval( I ) (vips_image_preeval( I ), vips_image_get_kill(
I )) | | #define im__start_eval( I ) (vips_image_preeval( I ), vips_image_get_kill(
I )) | |
| #define im__handle_eval( I, W, H ) \ | | #define im__handle_eval( I, W, H ) \ | |
| (vips_image_eval( I, W, H ), vips_image_get_kill( I )) | | (vips_image_eval( I, W, H ), vips_image_get_kill( I )) | |
| #define im__end_eval vips_image_posteval | | #define im__end_eval vips_image_posteval | |
| #define im_invalidate vips_image_invalidate_all | | #define im_invalidate vips_image_invalidate_all | |
| #define im_isfile vips_image_isfile | | #define im_isfile vips_image_isfile | |
| | | | |
| skipping to change at line 329 | | skipping to change at line 332 | |
| #define im_rect_marginadjust vips_rect_marginadjust | | #define im_rect_marginadjust vips_rect_marginadjust | |
| #define im_rect_includespoint vips_rect_includespoint | | #define im_rect_includespoint vips_rect_includespoint | |
| #define im_rect_includesrect vips_rect_includesrect | | #define im_rect_includesrect vips_rect_includesrect | |
| #define im_rect_intersectrect vips_rect_intersectrect | | #define im_rect_intersectrect vips_rect_intersectrect | |
| #define im_rect_isempty vips_rect_isempty | | #define im_rect_isempty vips_rect_isempty | |
| #define im_rect_unionrect vips_rect_unionrect | | #define im_rect_unionrect vips_rect_unionrect | |
| #define im_rect_equalsrect vips_rect_equalsrect | | #define im_rect_equalsrect vips_rect_equalsrect | |
| #define im_rect_dup vips_rect_dup | | #define im_rect_dup vips_rect_dup | |
| #define im_rect_normalise vips_rect_normalise | | #define im_rect_normalise vips_rect_normalise | |
| | | | |
|
| int im_demand_hint (IMAGE * im, VipsDemandStyle hint, ...); | | | |
| #define im_demand_hint_array( A, B, C ) (vips_demand_hint_array( A, B, C ), | | | |
| 0) | | | |
| | | | |
| #define im_start_one vips_start_one | | #define im_start_one vips_start_one | |
| #define im_stop_one vips_stop_one | | #define im_stop_one vips_stop_one | |
| #define im_start_many vips_start_many | | #define im_start_many vips_start_many | |
| #define im_stop_many vips_stop_many | | #define im_stop_many vips_stop_many | |
| #define im_allocate_input_array vips_allocate_input_array | | #define im_allocate_input_array vips_allocate_input_array | |
| #define im_start_fn VipsStartFn | | #define im_start_fn VipsStartFn | |
| typedef int (*im_generate_fn)( VipsRegion *out, void *seq, void *a, void *b
); | | typedef int (*im_generate_fn)( VipsRegion *out, void *seq, void *a, void *b
); | |
| #define im_stop_fn VipsStopFn | | #define im_stop_fn VipsStopFn | |
| int im_generate( VipsImage *im, | | int im_generate( VipsImage *im, | |
| im_start_fn start, im_generate_fn generate, im_stop_fn stop, | | im_start_fn start, im_generate_fn generate, im_stop_fn stop, | |
| | | | |
| skipping to change at line 590 | | skipping to change at line 590 | |
| #define IM_MINOR_VERSION VIPS_MINOR_VERSION | | #define IM_MINOR_VERSION VIPS_MINOR_VERSION | |
| #define IM_MICRO_VERSION VIPS_MICRO_VERSION | | #define IM_MICRO_VERSION VIPS_MICRO_VERSION | |
| | | | |
| #define IM_EXEEXT VIPS_EXEEXT | | #define IM_EXEEXT VIPS_EXEEXT | |
| | | | |
| #define IM_SIZEOF_HEADER VIPS_SIZEOF_HEADER | | #define IM_SIZEOF_HEADER VIPS_SIZEOF_HEADER | |
| | | | |
| #define im_concurrency_set vips_concurrency_set | | #define im_concurrency_set vips_concurrency_set | |
| #define im_concurrency_get vips_concurrency_get | | #define im_concurrency_get vips_concurrency_get | |
| | | | |
|
| | | int im_init_world( const char *argv0 ); | |
| | | | |
| int im_add( VipsImage *in1, VipsImage *in2, VipsImage *out ); | | int im_add( VipsImage *in1, VipsImage *in2, VipsImage *out ); | |
| int im_subtract( VipsImage *in1, VipsImage *in2, VipsImage *out ); | | int im_subtract( VipsImage *in1, VipsImage *in2, VipsImage *out ); | |
| int im_multiply( VipsImage *in1, VipsImage *in2, VipsImage *out ); | | int im_multiply( VipsImage *in1, VipsImage *in2, VipsImage *out ); | |
| int im_divide( VipsImage *in1, VipsImage *in2, VipsImage *out ); | | int im_divide( VipsImage *in1, VipsImage *in2, VipsImage *out ); | |
| int im_min( VipsImage *in, double *out ); | | int im_min( VipsImage *in, double *out ); | |
| int im_minpos( VipsImage *in, int *xpos, int *ypos, double *out ); | | int im_minpos( VipsImage *in, int *xpos, int *ypos, double *out ); | |
| int im_max( VipsImage *in, double *out ); | | int im_max( VipsImage *in, double *out ); | |
| int im_maxpos( VipsImage *in, int *xpos, int *ypos, double *out ); | | int im_maxpos( VipsImage *in, int *xpos, int *ypos, double *out ); | |
| int im_avg( VipsImage *in, double *out ); | | int im_avg( VipsImage *in, double *out ); | |
| int im_deviate( VipsImage *in, double *out ); | | int im_deviate( VipsImage *in, double *out ); | |
| | | | |
| skipping to change at line 715 | | skipping to change at line 717 | |
| int im_extract_band( VipsImage *in, VipsImage *out, int band ); | | int im_extract_band( VipsImage *in, VipsImage *out, int band ); | |
| int im_extract_bands( VipsImage *in, VipsImage *out, int band, int nbands )
; | | int im_extract_bands( VipsImage *in, VipsImage *out, int band, int nbands )
; | |
| int im_extract_areabands( VipsImage *in, VipsImage *out, | | int im_extract_areabands( VipsImage *in, VipsImage *out, | |
| int left, int top, int width, int height, int band, int nbands ); | | int left, int top, int width, int height, int band, int nbands ); | |
| int im_replicate( VipsImage *in, VipsImage *out, int across, int down ); | | int im_replicate( VipsImage *in, VipsImage *out, int across, int down ); | |
| int im_wrap( VipsImage *in, VipsImage *out, int x, int y ); | | int im_wrap( VipsImage *in, VipsImage *out, int x, int y ); | |
| int im_rotquad( VipsImage *in, VipsImage *out ); | | int im_rotquad( VipsImage *in, VipsImage *out ); | |
| int im_clip2fmt( VipsImage *in, VipsImage *out, VipsBandFormat fmt ); | | int im_clip2fmt( VipsImage *in, VipsImage *out, VipsBandFormat fmt ); | |
| int im_bandjoin( VipsImage *in1, VipsImage *in2, VipsImage *out ); | | int im_bandjoin( VipsImage *in1, VipsImage *in2, VipsImage *out ); | |
| int im_gbandjoin( VipsImage **in, VipsImage *out, int n ); | | int im_gbandjoin( VipsImage **in, VipsImage *out, int n ); | |
|
| | | int im_rank_image( VipsImage **in, VipsImage *out, int n, int index ); | |
| | | int im_maxvalue( VipsImage **in, VipsImage *out, int n ); | |
| int im_grid( VipsImage *in, VipsImage *out, int tile_height, int across, in
t down ); | | int im_grid( VipsImage *in, VipsImage *out, int tile_height, int across, in
t down ); | |
| int im_scale( VipsImage *in, VipsImage *out ); | | int im_scale( VipsImage *in, VipsImage *out ); | |
| int im_scaleps( VipsImage *in, VipsImage *out ); | | int im_scaleps( VipsImage *in, VipsImage *out ); | |
| int im_msb( VipsImage *in, VipsImage *out ); | | int im_msb( VipsImage *in, VipsImage *out ); | |
| int im_msb_band( VipsImage *in, VipsImage *out, int band ); | | int im_msb_band( VipsImage *in, VipsImage *out, int band ); | |
| int im_zoom( VipsImage *in, VipsImage *out, int xfac, int yfac ); | | int im_zoom( VipsImage *in, VipsImage *out, int xfac, int yfac ); | |
| int im_subsample( VipsImage *in, VipsImage *out, int xshrink, int yshrink )
; | | int im_subsample( VipsImage *in, VipsImage *out, int xshrink, int yshrink )
; | |
| | | | |
| int im_gaussnoise( VipsImage *out, int x, int y, double mean, double sigma
); | | int im_gaussnoise( VipsImage *out, int x, int y, double mean, double sigma
); | |
| int im_text( VipsImage *out, const char *text, const char *font, | | int im_text( VipsImage *out, const char *text, const char *font, | |
| | | | |
| skipping to change at line 772 | | skipping to change at line 776 | |
| int im_rot90( VipsImage *in, VipsImage *out ); | | int im_rot90( VipsImage *in, VipsImage *out ); | |
| int im_rot180( VipsImage *in, VipsImage *out ); | | int im_rot180( VipsImage *in, VipsImage *out ); | |
| int im_rot270( VipsImage *in, VipsImage *out ); | | int im_rot270( VipsImage *in, VipsImage *out ); | |
| | | | |
| int im_ifthenelse( VipsImage *c, VipsImage *a, VipsImage *b, VipsImage *out
); | | int im_ifthenelse( VipsImage *c, VipsImage *a, VipsImage *b, VipsImage *out
); | |
| int im_blend( VipsImage *c, VipsImage *a, VipsImage *b, VipsImage *out ); | | int im_blend( VipsImage *c, VipsImage *a, VipsImage *b, VipsImage *out ); | |
| | | | |
| DOUBLEMASK *im_vips2mask( VipsImage *in, const char *filename ); | | DOUBLEMASK *im_vips2mask( VipsImage *in, const char *filename ); | |
| INTMASK *im_vips2imask( IMAGE *in, const char *filename ); | | INTMASK *im_vips2imask( IMAGE *in, const char *filename ); | |
| int im_mask2vips( DOUBLEMASK *in, VipsImage *out ); | | int im_mask2vips( DOUBLEMASK *in, VipsImage *out ); | |
|
| | | int im_imask2vips( INTMASK *in, VipsImage *out ); | |
| | | | |
| int im_bandmean( VipsImage *in, VipsImage *out ); | | int im_bandmean( VipsImage *in, VipsImage *out ); | |
| int im_recomb( VipsImage *in, VipsImage *out, DOUBLEMASK *recomb ); | | int im_recomb( VipsImage *in, VipsImage *out, DOUBLEMASK *recomb ); | |
| | | | |
| int im_argb2rgba( VipsImage *in, VipsImage *out ); | | int im_argb2rgba( VipsImage *in, VipsImage *out ); | |
| | | | |
| int im_falsecolour( VipsImage *in, VipsImage *out ); | | int im_falsecolour( VipsImage *in, VipsImage *out ); | |
| int im_gammacorrect( VipsImage *in, VipsImage *out, double exponent ); | | int im_gammacorrect( VipsImage *in, VipsImage *out, double exponent ); | |
| | | | |
| int im_shrink( VipsImage *in, VipsImage *out, double xshrink, double yshrin
k ); | | int im_shrink( VipsImage *in, VipsImage *out, double xshrink, double yshrin
k ); | |
| | | | |
| skipping to change at line 898 | | skipping to change at line 903 | |
| | | | |
| /* Not really correct, but who uses these. | | /* Not really correct, but who uses these. | |
| */ | | */ | |
| #define im_lhisteq_raw im_lhisteq | | #define im_lhisteq_raw im_lhisteq | |
| #define im_stdif_raw im_stdif | | #define im_stdif_raw im_stdif | |
| | | | |
| /* ruby-vips uses this | | /* ruby-vips uses this | |
| */ | | */ | |
| #define vips_class_map_concrete_all vips_class_map_all | | #define vips_class_map_concrete_all vips_class_map_all | |
| | | | |
|
| | | int im_dilate( VipsImage *in, VipsImage *out, INTMASK *mask ); | |
| | | int im_erode( VipsImage *in, VipsImage *out, INTMASK *mask ); | |
| | | | |
| | | int im_aconv( VipsImage *in, VipsImage *out, | |
| | | DOUBLEMASK *mask, int n_layers, int cluster ); | |
| | | int im_conv( VipsImage *in, VipsImage *out, INTMASK *mask ); | |
| | | int im_conv_f( VipsImage *in, VipsImage *out, DOUBLEMASK *mask ); | |
| | | | |
| | | int im_aconvsep( VipsImage *in, VipsImage *out, | |
| | | DOUBLEMASK *mask, int n_layers ); | |
| | | | |
| | | int im_convsep( VipsImage *in, VipsImage *out, INTMASK *mask ); | |
| | | int im_convsep_f( VipsImage *in, VipsImage *out, DOUBLEMASK *mask ); | |
| | | | |
| | | int im_compass( VipsImage *in, VipsImage *out, INTMASK *mask ); | |
| | | int im_gradient( VipsImage *in, VipsImage *out, INTMASK *mask ); | |
| | | int im_lindetect( VipsImage *in, VipsImage *out, INTMASK *mask ); | |
| | | | |
| | | int im_addgnoise( VipsImage *in, VipsImage *out, double sigma ); | |
| | | | |
| | | int im_contrast_surface_raw( IMAGE *in, IMAGE *out, | |
| | | int half_win_size, int spacing ); | |
| | | int im_contrast_surface( VipsImage *in, VipsImage *out, | |
| | | int half_win_size, int spacing ); | |
| | | | |
| | | int im_grad_x( VipsImage *in, VipsImage *out ); | |
| | | int im_grad_y( VipsImage *in, VipsImage *out ); | |
| | | | |
| | | int im_fastcor( VipsImage *in, VipsImage *ref, VipsImage *out ); | |
| | | int im_spcor( VipsImage *in, VipsImage *ref, VipsImage *out ); | |
| | | int im_gradcor( VipsImage *in, VipsImage *ref, VipsImage *out ); | |
| | | | |
| | | int im_sharpen( VipsImage *in, VipsImage *out, | |
| | | int mask_size, | |
| | | double x1, double y2, double y3, | |
| | | double m1, double m2 ); | |
| | | | |
| | | typedef enum { | |
| | | IM_MASK_IDEAL_HIGHPASS = 0, | |
| | | IM_MASK_IDEAL_LOWPASS = 1, | |
| | | IM_MASK_BUTTERWORTH_HIGHPASS = 2, | |
| | | IM_MASK_BUTTERWORTH_LOWPASS = 3, | |
| | | IM_MASK_GAUSS_HIGHPASS = 4, | |
| | | IM_MASK_GAUSS_LOWPASS = 5, | |
| | | | |
| | | IM_MASK_IDEAL_RINGPASS = 6, | |
| | | IM_MASK_IDEAL_RINGREJECT = 7, | |
| | | IM_MASK_BUTTERWORTH_RINGPASS = 8, | |
| | | IM_MASK_BUTTERWORTH_RINGREJECT = 9, | |
| | | IM_MASK_GAUSS_RINGPASS = 10, | |
| | | IM_MASK_GAUSS_RINGREJECT = 11, | |
| | | | |
| | | IM_MASK_IDEAL_BANDPASS = 12, | |
| | | IM_MASK_IDEAL_BANDREJECT = 13, | |
| | | IM_MASK_BUTTERWORTH_BANDPASS = 14, | |
| | | IM_MASK_BUTTERWORTH_BANDREJECT = 15, | |
| | | IM_MASK_GAUSS_BANDPASS = 16, | |
| | | IM_MASK_GAUSS_BANDREJECT = 17, | |
| | | | |
| | | IM_MASK_FRACTAL_FLT = 18 | |
| | | } ImMaskType; | |
| | | | |
| | | int im_flt_image_freq( VipsImage *in, VipsImage *out, ImMaskType flag, ... | |
| | | ); | |
| | | int im_create_fmask( VipsImage *out, | |
| | | int xsize, int ysize, ImMaskType flag, ... ); | |
| | | | |
| | | int im_fwfft( VipsImage *in, VipsImage *out ); | |
| | | int im_invfft( VipsImage *in, VipsImage *out ); | |
| | | int im_invfftr( VipsImage *in, VipsImage *out ); | |
| | | | |
| | | int im_freqflt( VipsImage *in, VipsImage *mask, VipsImage *out ); | |
| | | int im_disp_ps( VipsImage *in, VipsImage *out ); | |
| | | int im_fractsurf( VipsImage *out, int size, double frd ); | |
| | | int im_phasecor_fft( VipsImage *in1, VipsImage *in2, VipsImage *out ); | |
| | | | |
| | | int im_cntlines( VipsImage *im, double *nolines, int flag ); | |
| | | int im_rank( VipsImage *in, VipsImage *out, int width, int height, int inde | |
| | | x ); | |
| | | int im_zerox( VipsImage *in, VipsImage *out, int sign ); | |
| | | | |
| #ifdef __cplusplus | | #ifdef __cplusplus | |
| } | | } | |
| #endif /*__cplusplus*/ | | #endif /*__cplusplus*/ | |
| | | | |
| #endif /*VIPS_VIPS7COMPAT_H*/ | | #endif /*VIPS_VIPS7COMPAT_H*/ | |
| | | | |
End of changes. 6 change blocks. |
| 7 lines changed or deleted | | 93 lines changed or added | |
|