Commit Graph

1419 Commits

Author SHA1 Message Date
John Cupitt
3920f5dc7e get im_system_image() working again
chop stuff about to get system image working again.
2011-06-16 13:54:13 +01:00
John Cupitt
6a582ae1a9 test for res-unit meta before fetching
if the res-unit meta is missing, don't generate an error message
2011-06-16 11:34:20 +01:00
John Cupitt
f85c36edee oop double free() in system_image on error 2011-06-15 22:17:08 +01:00
John Cupitt
5efdcd9b76 Merge remote-tracking branch 'origin/master'
Conflicts:
	libvips/convolution/im_aconv.c
2011-06-15 17:53:24 +01:00
John Cupitt
4650234e20 add VIPS_EXEEXT to the exported API
EXEEXT was just internal, now it's part of the API we export
2011-06-15 14:42:49 +01:00
John Cupitt
7bd79e3ef4 16-bit intermediates for im_aconv()
im_aconv() can use 16-bit intermediates for 8-bit images, if the mask has
small enough hlines (all less than 256 elements)

also, work for all types
2011-06-14 12:36:07 +01:00
John Cupitt
85e1359e4a Merge remote-tracking branch 'origin/master' 2011-06-13 21:36:05 +01:00
John Cupitt
ef8fee1722 -ore im_aconv() tweaks
common-up hlines where we can
2011-06-13 14:09:19 +01:00
John Cupitt
c248b7203d more im_aconv() cluster polishing
larger edge buffer, strike out all involved nodes on merge
2011-06-10 17:21:32 +01:00
John Cupitt
702ffd3d36 oops 2011-06-10 14:33:29 +01:00
John Cupitt
c605153852 much faster clustering in im_aconv()
cluster lines in batches to avoid rescanning the whole space each time
2011-06-10 12:02:33 +01:00
John Cupitt
953a315755 more im_aconv() speedups
now uses rolling boxes for the vertical pass too
2011-06-09 17:53:53 +01:00
John Cupitt
4e3e0cee6c refactor im_aconv
get ready for rolling vertical sums too
2011-06-09 15:21:42 +01:00
John Cupitt
21fce2ab9e im_aconv() works for a large 2d mask
needs some more tuning, we should be able to speed it up still
2011-06-09 11:39:31 +01:00
John Cupitt
a9e305787b longer lines for rw_mask
rw_mask failed for lines over 4096 characters
2011-06-09 09:35:57 +01:00
John Cupitt
d0cb80b341 more testing
now fails for large square masks
2011-06-09 00:57:55 +01:00
John Cupitt
ab06ba8a1b woo, works 2011-06-09 00:45:43 +01:00
John Cupitt
ecf344ec0f more tweaks, still not working
argh, can't see the problem
2011-06-08 22:13:30 +01:00
John Cupitt
788a43b8b1 im_aconv() almost working 2011-06-08 14:49:28 +01:00
John Cupitt
cca955136d more space for image headers
up to 32kb for image header print, but a true expanding string would be
better
2011-06-08 13:57:59 +01:00
John Cupitt
69331fab9f new im_aconv() compiles
compiled and linked in, needs testing though
2011-06-08 13:37:03 +01:00
John Cupitt
2d717ec578 more aconv hackery 2011-06-08 10:30:18 +01:00
John Cupitt
b1c1a3a65d more hacking on im_aconv()
got the splitter more-or-less done, the convolver next
2011-06-07 14:50:32 +01:00
John Cupitt
0aa9f81c30 started im_aconv()
started hacking non-separable version of im_aconvsep()
2011-06-06 17:35:32 +01:00
John Cupitt
7b6bc4267b better vips error msg
"vips mpouikh" makes a better error message
2011-06-06 12:31:12 +01:00
John Cupitt
20a65cca59 aconvsep supports all formats
float/int/complex etc. all work
2011-06-04 21:12:55 +01:00
John Cupitt
710294f889 rename aconv as aconvsep 2011-06-04 17:44:54 +01:00
John Cupitt
70dc170d97 much better accuracy for small masks 2011-06-04 12:39:54 +01:00
John Cupitt
56d8f75500 fix an edge problem in aconv
aconv no longer has tiling artifacts
2011-06-04 10:01:52 +01:00
John Cupitt
3fab0cbbd4 fix vips8 CLI
the vips8 CLI needed updating for the new refcount strategy
2011-06-02 15:53:30 +01:00
John Cupitt
35a7515e3f small bugfixes
various bugfixes ... nip2 runs reliably again now
2011-06-02 15:34:57 +01:00
John Cupitt
d28a7059cf oops 2011-06-02 12:54:56 +01:00
John Cupitt
971615d6ae back to fixed refs, add a pool system instead
floating refs were very confusing and annoying, instead use simple fixed
refs and add a pool system to track refs for you

also fixed a couple of dumb errors in close callbacks
2011-06-02 12:23:56 +01:00
John Cupitt
75e5804e3c small fixes
also bumped smalltile to 512x512 for tetsing aconv, this needs checking
2011-06-01 17:56:28 +01:00
John Cupitt
6819919f0c im_aconv() works
got im_aconv() working, woo
2011-06-01 17:36:17 +01:00
John Cupitt
f1b8b7e735 oop, test for vips_object_all NULL 2011-06-01 15:20:50 +01:00
John Cupitt
45b582678f first paste of aconv 2011-06-01 09:17:07 +01:00
John Cupitt
40a8c8f95d always check mask->scale is non-zero 2011-05-31 12:24:09 +01:00
John Cupitt
770398753c add vips_check_dmask_1d()
add a check-mask-is-1d function
2011-05-31 12:21:05 +01:00
John Cupitt
c0cbbbf415 free im_malloc() mem in postclose 2011-05-30 19:40:56 +01:00
John Cupitt
a55e8d15bb fix -ve lobes on laplacian for large sigma 2011-05-30 12:14:20 +01:00
John Cupitt
fc363fae99 Merge remote-tracking branch 'origin/master' 2011-05-30 11:45:02 +01:00
John Cupitt
a9045c9ec3 oops vipsthumbnail needed updating 2011-05-30 11:41:02 +01:00
John Cupitt
10aecae374 added im_gauss_dmask_sep() 2011-05-26 13:20:15 +01:00
John Cupitt
47a3bd6689 TODO updates 2011-05-25 14:06:23 +01:00
John Cupitt
cba1ea0024 vipsobject fallback for new_from_string() as well 2011-05-25 13:43:53 +01:00
John Cupitt
3f1c855177 vipsinterpolate uses new_from_string() vfunc system 2011-05-25 13:25:18 +01:00
John Cupitt
1a75cf5be2 object new from string() is now a vfunc
and the inverse too ... interpolate and format need fixing still
2011-05-25 12:24:01 +01:00
John Cupitt
5492e0dbda TODO updates 2011-05-25 08:51:19 +01:00
John Cupitt
ff44680022 get the CLI working again
get the cli working with the new vfunc thing
2011-05-24 17:01:23 +01:00