Commit Graph

2931 Commits

Author SHA1 Message Date
John Cupitt
86031879a0 notes 2014-02-25 13:25:37 +00:00
John Cupitt
bc2bfd489b Merge remote-tracking branch 'origin/7.38' 2014-02-25 13:21:41 +00:00
John Cupitt
e32354bf4b Merge remote-tracking branch 'origin/7.38' 2014-02-25 13:20:53 +00:00
John Cupitt
594af28c8e remove support for seq mode read for extract etc.
see comment in sequential

We used to not stall if the read position was zero, ie. if the first
request was for a line some way down the image, and assume this was
extract or somesuch. But this could sometimes break on busy, many-core
systems.

Think of a better way to support eg.  extract safely in sequential mode.
2014-02-25 12:28:36 +00:00
John Cupitt
4d85011a51 disable sequential skipahead
this was causing some problems on very-many-core systems

still need to update operation flags and disable seq mode for
insert/extract/etc.
2014-02-25 11:12:41 +00:00
John Cupitt
0ef0328396 oops 2014-02-24 21:58:07 +00:00
John Cupitt
af8cecde1a Merge branch '7.38'
Conflicts:
	ChangeLog
	configure.ac
	libvips/foreign/jpeg2vips.c
2014-02-24 21:56:42 +00:00
John Cupitt
35d15b07a2 Merge pull request #107 from lovell/master
Use static buffer for fake JPEG EOI marker as src->buf might not be allocated
2014-02-24 21:42:46 +00:00
John Cupitt
d843521f77 jpeg load from buffer shouldn't modify buffer
fill_input_buffer() could write to the input buffer

see: https://github.com/jcupitt/libvips/pull/107

thanks Lovell
2014-02-24 17:10:07 +00:00
John Cupitt
dd835bdac9 fix webp load from buffer
was broken horribly, see

fa8b7e66ca
2014-02-24 09:46:52 +00:00
John Cupitt
1002d4da52 vips__vector_to_ink() has an imag parameter 2014-02-22 16:26:42 +00:00
John Cupitt
a562f46e69 VipsLinear allows complex constants 2014-02-22 16:08:46 +00:00
Lovell Fuller
854eab527a Use static buffer for fake JPEG EOI marker as src->buf might not be allocated
Discovered whilst investigating lovell/sharp#6
2014-02-22 12:45:18 +00:00
John Cupitt
3bceb5286b better usage message
more sensible output for "vips max" or "vips getpoint"
2014-02-20 19:52:36 +00:00
John Cupitt
b80b503474 Merge branch 'draw'
Conflicts:
	ChangeLog
2014-02-20 14:32:16 +00:00
John Cupitt
c758c7f379 notes 2014-02-20 14:31:23 +00:00
John Cupitt
c3def93361 ban size == 0 for max/min 2014-02-19 17:13:12 +00:00
John Cupitt
1414958b00 oops put drawink_scanline back 2014-02-18 16:23:16 +00:00
John Cupitt
36c6654374 improve direct path for flood 2014-02-17 19:42:58 +00:00
John Cupitt
c5a48effa2 flood direct path fixed
but still too slow
2014-02-14 13:55:55 +00:00
John Cupitt
76b2fa9732 Merge remote-tracking branch 'origin/7.38'
Conflicts:
	ChangeLog
	configure.ac
2014-02-14 10:30:12 +00:00
John Cupitt
3277e26e65 add a direct path to flood for labelregions 2014-02-14 10:29:09 +00:00
John Cupitt
1380f59e89 add an operation name -> gtype lookup hash 2014-02-14 09:41:19 +00:00
John Cupitt
ba75a0c0ad Merge remote-tracking branch 'origin/7.38' into draw
Conflicts:
	ChangeLog
	configure.ac
2014-02-13 16:10:52 +00:00
John Cupitt
e4f0b4b469 version bump 2014-02-13 14:28:43 +00:00
John Cupitt
d201245a99 more locking for properties
need more locking on property create / lookup on very-threaded systems
2014-02-13 14:27:02 +00:00
John Cupitt
bf2acf2621 fix --sharpen=none
thanks ferryfax
2014-02-13 08:42:59 +00:00
John Cupitt
eaa8bbe729 fix up labelregions 2014-02-12 10:33:31 +00:00
John Cupitt
3c1815ea67 fix vector_to_ink
was failing if called on an im under construction
2014-02-11 19:27:25 +00:00
John Cupitt
025e56c894 im_label_regions() is a class 2014-02-11 14:55:31 +00:00
John Cupitt
487e6ed95e break ink out to a draw subclass 2014-02-11 13:57:28 +00:00
John Cupitt
f4e970fb72 im_draw_smudge() done 2014-02-11 13:28:13 +00:00
John Cupitt
25fbe71c74 do im_read_point() / im_draw_point() 2014-02-10 21:54:54 +00:00
John Cupitt
4c732ce369 im_draw_point() -> vips8 2014-02-10 13:00:04 +00:00
John Cupitt
6b54181707 rename draw funcs
more consistent now
2014-02-10 11:59:05 +00:00
John Cupitt
33551fbf4c im_draw_rect() is a class 2014-02-10 11:07:00 +00:00
John Cupitt
495a6c7af1 im_draw_image() is a class 2014-02-09 19:38:53 +00:00
John Cupitt
268fe3c38c add line_user ... helps vips7 compat
so we now have a working im_draw_line_user() wrapper for the nip2
paintbox
2014-02-09 11:00:45 +00:00
John Cupitt
e809f9d169 stats operations are sequential 2014-02-08 14:14:53 +00:00
John Cupitt
6da3752815 im_draw_line() is a wrapper 2014-02-07 17:42:11 +00:00
John Cupitt
da6de1f10e im_draw_mask() is now a class 2014-02-07 17:15:21 +00:00
John Cupitt
aa93889480 vips_paintmask() compiles 2014-02-07 14:59:18 +00:00
John Cupitt
c394f8567d more linemask hackery 2014-02-07 10:34:54 +00:00
John Cupitt
ba25922f8e sync 2014-02-06 14:54:46 +00:00
John Cupitt
95a9c52138 start line draw
line is working, doing a line_mask subclass
2014-02-06 14:46:45 +00:00
John Cupitt
78b20891f9 fix a ref count thing 2014-02-06 12:53:16 +00:00
John Cupitt
3c087fc902 replace im_circle()/im_flood() with wrappers 2014-02-06 09:52:45 +00:00
John Cupitt
20b93262b6 tiny 2014-02-05 09:49:35 +00:00
John Cupitt
8e1ae0c6ec better handling of overflow in vips_flatten() 2014-02-05 09:30:24 +00:00
John Cupitt
c5d5fd515d Merge remote-tracking branch 'origin/master' into draw
Conflicts:
	ChangeLog
	libvips/draw/flood.c
2014-02-05 09:26:15 +00:00