diff --git a/configure.ac b/configure.ac index e05cd3d3..f4529249 100644 --- a/configure.ac +++ b/configure.ac @@ -113,6 +113,7 @@ headers="\ morphology.h \ type.h \ rect.h \ + resample.h \ memory.h \ region.h" diff --git a/libvips/resample/affine.c b/libvips/resample/affine.c index 76ff1a9c..e737395c 100644 --- a/libvips/resample/affine.c +++ b/libvips/resample/affine.c @@ -599,9 +599,9 @@ vips_affine_init( VipsAffine *affine ) } /** - * vips_affine: + * vips_affine: (method) * @in: input image - * @out: output image + * @out: (out): output image * @a: transformation matrix coefficient * @b: transformation matrix coefficient * @c: transformation matrix coefficient diff --git a/libvips/resample/interpolate.c b/libvips/resample/interpolate.c index 66a8b24e..a002070d 100644 --- a/libvips/resample/interpolate.c +++ b/libvips/resample/interpolate.c @@ -617,7 +617,7 @@ vips__interpolate_init( void ) } /** - * vips_interpolate_new: + * vips_interpolate_new: (constructor) * @nickname: nickname for interpolator * * Look up an interpolator from a nickname and make one. You need to free the diff --git a/libvips/resample/mapim.c b/libvips/resample/mapim.c index d2524200..ee19c85b 100644 --- a/libvips/resample/mapim.c +++ b/libvips/resample/mapim.c @@ -410,9 +410,9 @@ vips_mapim_init( VipsMapim *mapim ) } /** - * vips_mapim: + * vips_mapim: (method) * @in: input image - * @out: output image + * @out: (out): output image * @index: index image * @...: %NULL-terminated list of optional named arguments * @@ -447,7 +447,7 @@ vips_mapim_init( VipsMapim *mapim ) * Returns: 0 on success, -1 on error */ int -vips_mapim( VipsImage *in, VipsImage **out, VipsImage *index, ... ) +vips_mapim( VipsImage *in, VipsImage **out, VipsImage *index, ... ) { va_list ap; int result; diff --git a/libvips/resample/quadratic.c b/libvips/resample/quadratic.c index 8db0fd6a..06363f1a 100644 --- a/libvips/resample/quadratic.c +++ b/libvips/resample/quadratic.c @@ -363,9 +363,9 @@ vips_quadratic_init( VipsQuadratic *quadratic ) } /** - * vips_quadratic: + * vips_quadratic: (method) * @in: input image - * @out: output image + * @out: (out): output image * @coeff: horizontal quadratic * @...: %NULL-terminated list of optional named arguments * diff --git a/libvips/resample/reduce.c b/libvips/resample/reduce.c index 6f76ade8..729a4d3a 100644 --- a/libvips/resample/reduce.c +++ b/libvips/resample/reduce.c @@ -183,9 +183,9 @@ vips_reduce_init( VipsReduce *reduce ) } /** - * vips_reduce: + * vips_reduce: (method) * @in: input image - * @out: output image + * @out: (out): output image * @hshrink: horizontal shrink * @vshrink: vertical shrink * @...: %NULL-terminated list of optional named arguments diff --git a/libvips/resample/reduceh.cpp b/libvips/resample/reduceh.cpp index 6372ce41..6922a903 100644 --- a/libvips/resample/reduceh.cpp +++ b/libvips/resample/reduceh.cpp @@ -610,9 +610,9 @@ vips_reduceh_init( VipsReduceh *reduceh ) } /** - * vips_reduceh: + * vips_reduceh: (method) * @in: input image - * @out: output image + * @out: (out): output image * @hshrink: horizontal reduce * @...: %NULL-terminated list of optional named arguments * diff --git a/libvips/resample/reducev.cpp b/libvips/resample/reducev.cpp index 24671621..b74a0d98 100644 --- a/libvips/resample/reducev.cpp +++ b/libvips/resample/reducev.cpp @@ -964,9 +964,9 @@ vips_reducev_init( VipsReducev *reducev ) } /** - * vips_reducev: + * vips_reducev: (method) * @in: input image - * @out: output image + * @out: (out): output image * @vshrink: horizontal reduce * @...: %NULL-terminated list of optional named arguments * diff --git a/libvips/resample/resize.c b/libvips/resample/resize.c index d6c6abda..1a4fafb9 100644 --- a/libvips/resample/resize.c +++ b/libvips/resample/resize.c @@ -352,9 +352,9 @@ vips_resize_init( VipsResize *resize ) } /** - * vips_resize: + * vips_resize: (method) * @in: input image - * @out: output image + * @out: (out): output image * @scale: scale factor * @...: %NULL-terminated list of optional named arguments * diff --git a/libvips/resample/shrink.c b/libvips/resample/shrink.c index e97fb3c1..f675ab49 100644 --- a/libvips/resample/shrink.c +++ b/libvips/resample/shrink.c @@ -171,9 +171,9 @@ vips_shrink_init( VipsShrink *shrink ) } /** - * vips_shrink: + * vips_shrink: (method) * @in: input image - * @out: output image + * @out: (out): output image * @hshrink: horizontal shrink * @vshrink: vertical shrink * @...: %NULL-terminated list of optional named arguments diff --git a/libvips/resample/shrinkh.c b/libvips/resample/shrinkh.c index e44f8352..97678e8f 100644 --- a/libvips/resample/shrinkh.c +++ b/libvips/resample/shrinkh.c @@ -342,9 +342,9 @@ vips_shrinkh_init( VipsShrinkh *shrink ) } /** - * vips_shrinkh: + * vips_shrinkh: (method) * @in: input image - * @out: output image + * @out: (out): output image * @hshrink: horizontal shrink * @...: %NULL-terminated list of optional named arguments * diff --git a/libvips/resample/shrinkv.c b/libvips/resample/shrinkv.c index bf011685..13da3218 100644 --- a/libvips/resample/shrinkv.c +++ b/libvips/resample/shrinkv.c @@ -470,9 +470,9 @@ vips_shrinkv_init( VipsShrinkv *shrink ) } /** - * vips_shrinkv: + * vips_shrinkv: (method) * @in: input image - * @out: output image + * @out: (out): output image * @vshrink: vertical shrink * @...: %NULL-terminated list of optional named arguments * diff --git a/libvips/resample/similarity.c b/libvips/resample/similarity.c index 89c0c6c4..35312072 100644 --- a/libvips/resample/similarity.c +++ b/libvips/resample/similarity.c @@ -229,9 +229,9 @@ vips_similarity_init( VipsSimilarity *similarity ) } /** - * vips_similarity: + * vips_similarity: (method) * @in: input image - * @out: output image + * @out: (out): output image * @...: %NULL-terminated list of optional named arguments * * Optional arguments: diff --git a/libvips/resample/thumbnail.c b/libvips/resample/thumbnail.c index 672c7b1a..211d09d1 100644 --- a/libvips/resample/thumbnail.c +++ b/libvips/resample/thumbnail.c @@ -751,7 +751,7 @@ vips_thumbnail_file_init( VipsThumbnailFile *file ) /** * vips_thumbnail: * @filename: file to read from - * @out: output image + * @out: (out): output image * @width: target width in pixels * @...: %NULL-terminated list of optional named arguments * @@ -925,9 +925,9 @@ vips_thumbnail_buffer_init( VipsThumbnailBuffer *buffer ) /** * vips_thumbnail_buffer: - * @buf: memory area to load - * @len: size of memory area - * @out: output image + * @buf: (array length=len) (element-type guint8): memory area to load + * @len: (type gsize): size of memory area + * @out: (out): output image * @width: target width in pixels * @...: %NULL-terminated list of optional named arguments * @@ -1040,9 +1040,9 @@ vips_thumbnail_image_init( VipsThumbnailImage *image ) } /** - * vips_thumbnail_image: + * vips_thumbnail_image: (method) * @in: input image - * @out: output image + * @out: (out): output image * @width: target width in pixels * @...: %NULL-terminated list of optional named arguments *