Commit Graph

3037 Commits

Author SHA1 Message Date
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
John Cupitt
362c292980 sync 2013-12-05 14:40:42 +00:00
John Cupitt
fd47e26164 oops seq mode wrong 2013-12-05 10:35:48 +00:00
John Cupitt
2559581939 oops opcode args wrong in vector abs 2013-12-04 11:12:22 +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
0f7e938aef sync 2013-12-02 18:53:56 +00:00
John Cupitt
85fe00ac46 stop sdev zero being generated by sharpen 2013-12-02 14:08:27 +00:00
John Cupitt
2360d4a6e9 oop set scale/offset 2013-12-02 13:24:05 +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
f387d13106 Merge remote-tracking branch 'origin/7.36' 2013-12-01 12:30:12 +00:00
John Cupitt
d7037618fc use a define for PATH_MAX
add VIPS_PATH_MAX, a long-enough-for-almost-any-path buffer size

we ought to switch to dynamic paths really ... do this when we fix
filename encoding
2013-12-01 12:18:16 +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
a44377f03e sync 2013-11-30 13:56:48 +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
29eed7b2b5 remove repack code from affine
just done in compat wrapper now
2013-11-29 23:20:32 +00:00