John Cupitt
1a25c7a083
better rounding in vipsthumbnail
2016-03-25 10:42:21 +00:00
John Cupitt
2996947b0d
start fixing up test_thumbnail
...
since --interpolator no longer does anything
2016-03-25 06:11:01 +00:00
John Cupitt
da43a4041f
move cpp overloads outside class
...
so they are true functions and we can take their address
see https://github.com/jcupitt/libvips/issues/409
2016-03-25 06:09:07 +00:00
John Cupitt
2ab14a3590
better rounding in vector reducev
...
add before downshift to round to nearest on 16->8 fixed-point conversion
2016-03-25 06:07:58 +00:00
John Cupitt
8a74609172
Merge branch '8.2'
2016-03-24 17:52:18 +00:00
John Cupitt
0f298b0e4d
docs note
2016-03-24 17:47:24 +00:00
John Cupitt
213f9e23b4
count colour pixels
...
more overcomputation testing
2016-03-24 17:41:05 +00:00
John Cupitt
f6d7463185
sync
2016-03-24 16:10:58 +00:00
John Cupitt
ec5cdf4fff
Merge branch '8.2'
2016-03-24 16:09:44 +00:00
John Cupitt
b4737525cf
sync
2016-03-24 16:08:36 +00:00
John Cupitt
72ea91fecc
fix nohalo, vsqbs interpolators
...
we were getting occasional memory access problems in nohalo and vsqbs
interpolators ... the previous fix was not enough
version bump
2016-03-24 16:06:31 +00:00
John Cupitt
36e0b60ffa
put the resize cache back again
...
stops overcomputation on vips_shrink()
2016-03-22 14:35:44 +00:00
John Cupitt
3c98ba78a0
small experiment
2016-03-22 14:19:32 +00:00
John Cupitt
e8b5cb6c23
add VIPS_COUNT_PIXELS, overcomputation tracking
...
added VIPS_COUNT_PIXELS(), use like this:
static int vips_shrinkh_gen( VipsRegion *or, ... )
{
VIPS_COUNT_PIXELS( or, "vips_shrinkh_gen" );
}
and on image close, if more than 100% of the pixels have been
calculated, you get a warning
only if you enable debugging, since this hurts perf slightly
2016-03-22 12:26:45 +00:00
John Cupitt
4f8aca3a93
sync
2016-03-21 16:40:55 +00:00
John Cupitt
c2035eb0f0
similarity uses reduce more often
2016-03-21 14:18:01 +00:00
John Cupitt
385f8a167f
notes
2016-03-21 11:36:15 +00:00
John Cupitt
063706f300
notes
2016-03-21 11:11:27 +00:00
John Cupitt
ba3ae9e671
finished!
...
fix up preciscion and signedness issues, simpler inner loop
2016-03-21 11:08:38 +00:00
John Cupitt
57cba39607
switch to 2.6 bits
...
almost working
2016-03-20 22:29:25 +00:00
John Cupitt
74984f1049
off by one error
...
didn't always write the output
2016-03-19 10:37:02 +00:00
John Cupitt
05156edd15
add orc path for reducev
...
works, but still not quite right, see some banding
2016-03-18 17:41:51 +00:00
John Cupitt
c20eb9dca0
remove old unrolled case for reduce
...
not used any more
2016-03-15 17:34:31 +00:00
John Cupitt
46a18118c6
works!
2016-03-15 16:46:18 +00:00
John Cupitt
ff88087a28
try making the reduce mask larger with residual
2016-03-15 14:59:59 +00:00
John Cupitt
45c3fea6ac
more resize tuning
2016-03-15 09:49:30 +00:00
John Cupitt
ac4e5ce059
return of shrink-less-affine-more
...
though a bit less extreme
2016-03-14 14:58:02 +00:00
John Cupitt
773b474116
Merge branch 'master' of github.com:jcupitt/libvips
2016-03-14 13:35:47 +00:00
John Cupitt
82cecf3d9f
bilinear interp. supports complex types
...
in line with cubic etc.
2016-03-14 10:06:45 +00:00
John Cupitt
fba2ac2f85
fix sizing issues with new reduce code
...
a couple of bugs and some changed conventions
2016-03-13 17:44:24 +00:00
John Cupitt
f12fef4aa9
fix compile
2016-03-13 11:35:35 +00:00
John Cupitt
dc7902b12f
Merge branch 'master' into add-lanczos3
2016-03-13 11:23:03 +00:00
John Cupitt
6368ab0649
add switches to disable rad, analyze and ppm
...
vips has built-in support for rad, analyze and ppm ... add configure
switches to disable these readers
useful to reduce the attack surface in some applications
2016-03-12 16:48:27 +00:00
John Cupitt
42224b6b0e
Merge branch '8.2'
2016-03-12 15:12:56 +00:00
John Cupitt
abe4e70d02
make radload slightly more robust
...
stops some valgrind warnings
2016-03-12 15:10:52 +00:00
John Cupitt
70db9aa77b
better rounding in resize
2016-03-12 13:14:34 +00:00
John Cupitt
493482c8a7
hey ho, line cache goes back too
2016-03-11 14:56:06 +00:00
John Cupitt
a832a0c254
notes
2016-03-11 14:42:12 +00:00
John Cupitt
4f41617d89
TODO notes
2016-03-11 13:47:19 +00:00
John Cupitt
08e8c27e38
moore vips_resize() tuning
...
put back the mild post-shrink sharpen, a little more anti-alias
see https://github.com/jcupitt/libvips/issues/404#issuecomment-195297607
2016-03-11 10:17:41 +00:00
John Cupitt
5d31d8e824
turn up anti-alias for small shrinks
...
a little more anti-alias for small reductions
see https://github.com/jcupitt/libvips/issues/404#issuecomment-195276154
2016-03-11 09:25:33 +00:00
John Cupitt
2ca7b29214
better gauss mat generation
2016-03-10 22:01:55 +00:00
John Cupitt
4974a1ed9c
better rounding for vips_resize()
...
we were getting off by one size errors
2016-03-10 19:53:05 +00:00
John Cupitt
9209fb25c5
update notes
2016-03-10 17:40:19 +00:00
John Cupitt
d351e07a6b
finish up
2016-03-10 17:33:34 +00:00
John Cupitt
e9bf936377
finish vl3
...
but it's still not producing identical results to reducev, seems to be
offset by one?
2016-03-10 12:16:21 +00:00
John Cupitt
4d10bd12f9
still trying to get reducevl3 to vectorise
2016-03-10 10:24:44 +00:00
John Cupitt
f58d941d99
Merge branch 'master' into add-lanczos3
2016-03-10 08:54:10 +00:00
John Cupitt
61d2aa6586
formatting
2016-03-10 08:53:54 +00:00
John Cupitt
013102de01
finish hl3 version
...
vl3 nest
2016-03-10 08:43:50 +00:00