Commit Graph

2623 Commits

Author SHA1 Message Date
John Cupitt
9fbfbb3e48 Merge branch 'master' of github.com:jcupitt/libvips
Conflicts:
	ChangeLog
2014-01-15 14:11:27 +00:00
John Cupitt
bbd5cbfb44 add vips_thread_shutdown()
You now need to call vips_thread_shutdown() from all threads you create
yourself just before they exit. This gives vips a chance to free any
thread-private memory and to write out profiling data. libvips will
complain noisily if you fail to do this. You can harmlessly call
vips_thread_shutdown() more than once if you wish.

libvips will call vips_thread_shutdown for you automatically for the main
thread (the one that calls vips_shutdown()) and for threads it creates
directly itself.
2014-01-15 14:07:13 +00:00
John Cupitt
e489d2e099 add --uchar option to vips_linear() 2014-01-14 19:31:19 +00:00
John Cupitt
a181ef1f2c stuff 2014-01-14 13:47:11 +00:00
John Cupitt
4cb37cf0c3 note helgrind usage 2014-01-14 12:21:21 +00:00
John Cupitt
8b41147a90 add our valgrind suppressions file 2014-01-14 12:12:01 +00:00
John Cupitt
1090f48900 fix two tiny memleaks 2014-01-14 12:07:50 +00:00
John Cupitt
0aa521a09e add GREY16 / RGB16 as colourspace source / target 2014-01-12 19:03:03 +00:00
John Cupitt
112ca9ec21 add B_W as a source / target for vips_colourspace() 2014-01-12 18:41:49 +00:00
John Cupitt
74dc3cf6ef sync 2014-01-10 14:49:03 +00:00
John Cupitt
68a816f104 try again on the buffer cache assert 2014-01-09 16:56:44 +00:00
John Cupitt
2a81c611c5 Merge remote-tracking branch 'origin/7.36'
Conflicts:
	ChangeLog
	configure.ac
	libvips/deprecated/im_exr2vips.c
	libvips/foreign/radiance.c
2014-01-09 14:30:52 +00:00
John Cupitt
c81654ad93 fix some clang warnings 2014-01-09 14:26:58 +00:00
John Cupitt
765c4b0c1d Merge remote-tracking branch 'origin/7.36' into 7.36 2014-01-08 14:21:04 +00:00
John Cupitt
72271dae6d more compact trace output 2014-01-08 13:07:56 +00:00
John Cupitt
cc8e06db0b fix a race in buffer.c 2014-01-07 21:31:00 +00:00
John Cupitt
3dcf138fc4 more freq_dispatch to deprecated 2014-01-07 09:14:53 +00:00
John Cupitt
f5b0722a13 redo im_phasecor_fft() a s aclass 2014-01-07 09:06:02 +00:00
John Cupitt
9ac512cfc6 fix cross-phase 2014-01-07 08:43:51 +00:00
John Cupitt
2c184ac06a redo im_fractsurf() as a class 2014-01-04 14:38:30 +00:00
John Cupitt
4bc67b8bee redo im_disp_ps() as a class 2014-01-04 13:00:43 +00:00
John Cupitt
f8b9645bd8 move im_freqflt() to a class
and move im_freq_mask() to deprecated
2014-01-03 23:22:07 +00:00
John Cupitt
9f150e3063 rename freq_filt package as freqfilt 2014-01-03 17:19:45 +00:00
John Cupitt
fe92ef64d4 deprecate old im_*fft*() funcs
just wrappers over the new classes
2014-01-03 17:07:41 +00:00
John Cupitt
46489ea84c redo im_invfft() as a class 2014-01-03 17:03:06 +00:00
John Cupitt
451eff58b1 im_fwfft() is a class 2014-01-03 16:23:44 +00:00
John Cupitt
1f51409bf1 remove old vips7 mask stuff
just a wrapper now
2014-01-03 14:24:04 +00:00
John Cupitt
bd17e1811b oops forgot the fractal filter 2014-01-03 12:58:48 +00:00
John Cupitt
2fbaf2d051 finish new mask funcs
revised docs too
2014-01-03 12:40:13 +00:00
John Cupitt
54b6ef4e87 rename ffilter as mask
ffilter was annoying to type
2014-01-03 09:55:21 +00:00
John Cupitt
dde6e4508a rewrite (most of) the freq mask builders
all classes now, except gauss band filter
2014-01-02 18:29:59 +00:00
John Cupitt
6059b0deb8 sync 2014-01-02 09:25:16 +00:00
John Cupitt
c12349ae97 remove old v4l1 code
removed video4linux 1 video grabber

bring it back some day with a v4l2 rewrite

https://github.com/jcupitt/libvips/issues/90
2013-12-30 16:26:56 +00:00
John Cupitt
3f95520580 fix vips_hist_match()
it wasn't upcasting input to uint due to a mix-up with VipsHistogram
2013-12-19 10:05:49 +00:00
John Cupitt
2a79c6110b tiny stuff 2013-12-18 17:17:03 +00:00
John Cupitt
c4cce7c978 fix /0 bug
real image / real image failed for rhs == 0
2013-12-18 16:36:48 +00:00
John Cupitt
5dc22091de update man pages 2013-12-18 14:38:27 +00:00
John Cupitt
748d516ab2 update vipsthumbnail man page 2013-12-18 14:29:59 +00:00
John Cupitt
bbf899eb35 add --crop to vipsthumbnail 2013-12-18 14:23:39 +00:00
John Cupitt
9c30242745 fix erroneous leak report from vipsprofile 2013-12-18 12:50:22 +00:00
John Cupitt
d263c4d9c4 small vipsprofile cleanups 2013-12-18 11:49:32 +00:00
John Cupitt
7f63ecdeb6 more morph to smalltile as well
fatstrip works poorly for very wide images
2013-12-18 11:11:48 +00:00
John Cupitt
a9f85e1fd9 vipsprofile speed problems fixed
moved to O(n) layout
2013-12-18 11:10:13 +00:00
John Cupitt
2c5ee332f0 make the buffer recycle list per image
so now recycle lists are short, scale with pipeline complexity, and
buffers are always appropriately sized for the image instead of being
slowly sized up to the max size for the pipeline

before:

$ vips sharpen k2.jpg x.jpg --radius 20
memory: high-water mark 38.99 MB

after:

$ vips sharpen k2.jpg x.jpg --radius 20
memory: high-water mark 29.46 MB
2013-12-18 09:54:26 +00:00
John Cupitt
3835834177 oops 2013-12-17 16:58:52 +00:00
John Cupitt
5780b33506 vipsprofile progress feedback
rather crude
2013-12-17 16:58:16 +00:00
John Cupitt
0d79221853 memuse improvements
- conv is now SMALLTILE
- more instrumentation
- better buffer recycling
- quicker buf freeing
2013-12-17 15:21:21 +00:00
John Cupitt
d09041a500 Merge branch 'master' into memaudit 2013-12-16 16:46:18 +00:00
John Cupitt
63591f6ac1 FATSTRIP for jpeg read 2013-12-16 16:22:44 +00:00
John Cupitt
d6c1dd910c sync 2013-12-16 09:46:27 +00:00