Commit Graph

40 Commits

Author SHA1 Message Date
Kleis Auke Wolthuizen 0629a5de7f
Ensure consistent formatting of `->format_table` (#3199) 2022-11-30 09:41:05 +00:00
Kleis Auke Wolthuizen 0337c09700
Cleanup gettext handling (#2695)
Use GLib's i18n support instead of copying and pasting that
logic into its own header. This deprecates the vips/intl.h
header in favour of glib/gi18n.h.
2022-02-27 15:27:28 +00:00
John Cupitt 7b26bd1fdf add more "const" decls 2020-03-05 13:41:41 +00:00
John Cupitt 3a43fd4057 vectorize 3 band case
needs to test for gcc though
2017-10-01 19:07:02 +01:00
Alistair Thomas 9303ee2511 Update GObject introspection annotations for /libvips/arithmetic directory 2017-09-20 10:36:21 +01:00
John Cupitt 34970d0cf2 remove some casts
and use VIPS_AREA instead
2017-07-26 14:57:27 +01:00
John Cupitt 1ae92bb15f make optional args into bullets
make docs easier to read
2016-05-02 10:12:37 +01:00
John Cupitt 4d18300560 add VIPS_FABS/MAX/MIN/CLIP
macros which use the gcc __builtin_fabs() etc. functions when they can
2016-01-26 12:26:21 +00:00
John Cupitt 07a1903390 use g_assert_not_reached()
we were using g_assert(0) ... g_assert_not_reached() makes the
intention clearer
2016-01-24 13:21:53 +00:00
John Cupitt 67a45a3749 more small coverity tweaks 2015-09-30 11:11:11 +01:00
John Cupitt 133e2f94e9 fix linear with mismatched vectors
we had:

	$ vips linear sarto_ng.v x.v "1 2 3" "4"
	$ vipsheader x.v
	x.v: 1865x2556 float, 1 band, b-w
	$ vips linear sarto_ng.v x.v "1" "4 5 6"
	$ vipsheader x.v
	x.v: 1865x2556 float, 3 bands, b-w

there was a typo in linear.c
2014-09-15 12:41:05 +01:00
John Cupitt 011fd99a1a start fixing up the auto-decode stuff 2014-05-19 14:53:47 +01:00
John Cupitt ea1aeaec8c argh revert complex linear again
how did it get tangled up
2014-03-06 19:43:45 +00:00
John Cupitt 28b6602683 Merge remote-tracking branch 'origin/7.38'
Conflicts:
	ChangeLog
	configure.ac
2014-03-06 16:03:33 +00:00
John Cupitt 499b977043 back out the complex linear stuff
needs cooking for a while longer in a branch
2014-03-04 14:32:43 +00:00
John Cupitt a562f46e69 VipsLinear allows complex constants 2014-02-22 16:08:46 +00:00
John Cupitt d059431867 more auto-decode stuff
more to do though
2014-01-22 14:53:48 +00:00
John Cupitt e489d2e099 add --uchar option to vips_linear() 2014-01-14 19:31:19 +00:00
John Cupitt f606f038eb more restrict use 2013-12-03 14:25:22 +00:00
John Cupitt 4aedd7cd16 put the ORC stuff back in arithmetic
ready to use on linear.c
2013-12-03 12:39:13 +00:00
John Cupitt 0bb052414a use plain "restrict"
configure changes this to __restrict__ for us, if the compiler supports
it
2013-12-03 08:53:36 +00:00
John Cupitt 7c43e3d332 remove the orc stuff from arithmetic
no faster than gcc auto vec
2013-12-02 11:22:08 +00:00
John Cupitt 1cffe216f5 faster vips_linear()
put the 1ary path back, faster with gcc 4.8
2013-11-30 17:26:13 +00:00
John Cupitt dccc5d5180 add __restrict__ markup to loop pointers
helps auto-vec

also remove a couple of if()s from inner loops, again, helps auto-vec
2013-11-30 13:55:10 +00:00
John Cupitt f0d4760560 redo correlation funcs as classes
im_fastcor()
im_spcor()
im_gradcor()

though gradcor we just deprecate, it's complex and hardly used ...
rework later is anyone complains
2013-11-08 14:09:42 +00:00
John Cupitt 6167d4d97c Fix three minor memleaks 2013-07-15 22:01:00 +01:00
Benjamin Gilbert 8cc76a6ba3 Update address for Free Software Foundation
Also update LGPLv2.1 license text from the copy currently on the GNU
website.
2013-03-07 00:40:19 -05:00
John Cupitt 3216fddc92 easier array arg creation
added stdarg array double creator, used the _new as well, small other
fixes
2012-11-02 21:45:13 +00:00
John Cupitt 777d1ea554 better error domain names 2012-11-02 14:41:47 +00:00
John Cupitt 26f2105e5b make everything LGPL2.1+
some files were incorrectly tagged as GPL, thanks Dmitry
2012-09-17 11:52:32 +01:00
John Cupitt d0ec401a12 hackery to get goi working 2011-12-31 18:22:42 +00:00
John Cupitt 8cbf924d3f more docs and convenience functions 2011-11-18 09:52:27 +00:00
John Cupitt 01a64422b2 start revising new docs 2011-11-18 09:08:45 +00:00
John Cupitt 3c608233e5 moved remainder over to a class 2011-11-12 13:29:32 +00:00
John Cupitt 827e5311c1 finish unaryconst, move relational to it 2011-11-11 21:54:45 +00:00
John Cupitt d9e2920cf8 started adding unaryconst operators 2011-11-11 14:44:35 +00:00
John Cupitt 4c74266017 remove 1-ary path in VipsLinear
the many-constant path is no slower, just keep that
2011-11-01 12:14:35 +00:00
John Cupitt c673bd139b oops, double/object confusion
C API to VipsLinear was broken
2011-11-01 09:24:43 +00:00
John Cupitt 735749a4a2 add VipsLinear
remove im_lintra*(), redone as a class
2011-10-31 14:25:27 +00:00
John Cupitt 55aab0236f started VipsLinear 2011-10-31 09:23:43 +00:00