Commit Graph

2753 Commits

Author SHA1 Message Date
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
John Cupitt
a9fd318712 run over memuse for sharpen 2013-12-16 09:22:05 +00:00
John Cupitt
bd3b3e04f9 sync 2013-12-13 17:34:38 +00:00
John Cupitt
bfcd50acf2 works!
reusing work, though memuse seems high?
2013-12-13 16:51:01 +00:00
John Cupitt
82df44f9d6 clean up buffer recycle fix 2013-12-13 14:05:10 +00:00
John Cupitt
c782150a6d fix sharing detection (again) 2013-12-13 12:20:05 +00:00
John Cupitt
ffd04bce91 sync 2013-12-12 09:51:55 +00:00
John Cupitt
0a27f2b6c0 ahem 2013-12-11 14:45:27 +00:00
John Cupitt
61068cd03d added vips::init() and vips::shutdown()
OS X mav was having trouble linking im_init_world() via the C++ API, so
we now have C++ functions for startup and shutdown.
2013-12-11 14:43:58 +00:00
John Cupitt
e8c4188936 be more forgiving about x values
buildlut() would fail if rounding moved some of your x values away from
ints
2013-12-10 14:56:14 +00:00
John Cupitt
9167767179 sync 2013-12-10 14:12:02 +00:00
John Cupitt
4ec50c3715 on reflection, remove cmyk2srgbjpeg again
simpler to updat ethe blog post with a shell-script version using the
new icc_transform operation
2013-12-10 12:29:39 +00:00
John Cupitt
dc229765ed sync 2013-12-10 10:31:11 +00:00
John Cupitt
34ce75a48d vips8ify cmyk2srgbjpeg 2013-12-10 10:22:51 +00:00
John Cupitt
aede2cafce paste in cmyk2srgbjpeg
many thanks Nicolas
2013-12-10 09:23:34 +00:00
John Cupitt
c0b8b67987 better memuse graph 2013-12-09 15:14:54 +00:00
John Cupitt
b3d31ced79 vipsprofile graphs memory use
marks malloc/free as well
2013-12-09 13:45:41 +00:00
John Cupitt
466f25cf28 added memory logging to --vips-profile
though the analysis program doesn't understand yet
2013-12-09 10:04:24 +00:00
John Cupitt
131594dde8 draw a time axis on vipsprofile
and set the start time correctly
2013-12-08 03:41:01 +00:00
John Cupitt
a011287e75 Merge remote-tracking branch 'origin/master' 2013-12-08 03:04:44 +00:00
John Cupitt
6ae1888ab3 delay region resource unref to reduce malloc churn
we were unreffing windows and buffers attached to regions on
vips_region_region() etc.

when these regions were reinitialised later, fresh buffers were
allocated causing a lot of churn
2013-12-07 11:38:32 +00:00