Commit Graph

4941 Commits

Author SHA1 Message Date
John Cupitt df8a2f4802 move to a prescale / unprescale model
our own prescale / unprescale loops
2017-10-05 15:42:44 +01:00
John Cupitt 39ff89d915 Merge branch 'master' into add-composite 2017-10-04 16:31:19 +01:00
John Cupitt 37b3a75755 Merge pull request #765 from lovell/upsample-integral-nearest-with-zoom
Faster and more accurate integral nearest-neighour upsampling
2017-10-04 10:03:17 +01:00
Lovell Fuller ea6d496484 Upsample integral nearest neighour with zoom for accuracy.
This mirrors logic from sharp, allowing it to migrate to resize.

See https://github.com/lovell/sharp/issues/752
2017-10-03 19:44:34 +01:00
John Cupitt 07d6424a3e fix compositing space
typo
2017-10-03 17:51:35 +01:00
John Cupitt 7aa1746d83 Merge branch 'master' into add-composite 2017-10-03 17:30:49 +01:00
John Cupitt 808a54d23e Merge pull request #763 from astavale/remove-some-g-ir-scanner-warnings
Remove some g-ir-scanner warnings
2017-10-03 10:57:56 +01:00
John Cupitt e0cf15285a Merge pull request #755 from astavale/gi-updates-for-create
Update GObject introspection annotations for libvips/create directory
2017-10-03 10:56:59 +01:00
John Cupitt 62e6edaace add double -> enum conversion 2017-10-03 10:55:03 +01:00
Alistair Thomas 1ed7e66833 Remove duplicate doc comment for 'VipsKernel'
Now that resample/reduceh.cpp is being scanned by g-ir-scanner, g-ir-scanner was giving this warning:
resample/reduceh.cpp:58: Warning: Vips: multiple comment blocks documenting 'VipsKernel:' identifier (already seen at reduce.c:55)
2017-10-02 22:12:39 +01:00
Alistair Thomas 0426d98aab Change a doc comment to just a C comment in foreign/foreign.c
This stops the g-ir-scanner warning:
foreign/foreign.c:1025: Error: Vips: identifier not found on the first line:
 * Loaders can call this
2017-10-02 22:12:39 +01:00
Alistair Thomas 103452c3ee Correct typo in comment for out parameter of inverlut() and remove some trailing whitespace 2017-10-02 21:28:46 +01:00
John Cupitt ce4a3bc5f6 speedups, add missing paths, docs 2017-10-02 15:34:49 +01:00
John Cupitt 54e6cdd17e fix vips7 py enable flag 2017-10-02 13:17:12 +01:00
John Cupitt fddd277995 fix --enable-pyvips7 flag 2017-10-02 13:13:46 +01:00
John Cupitt 9f62b963b9 test for C++ vector arithmetic
clang seems to have shuffle but not mixed vector and scalar
2017-10-02 10:23:06 +01:00
John Cupitt 5f16c676db test c++ shuffle 2017-10-02 09:36:07 +01:00
John Cupitt 7b9c969e39 test for vector shuffle 2017-10-02 09:22:06 +01:00
John Cupitt c01aa40ebe add the test source 2017-10-02 08:36:30 +01:00
John Cupitt 99568356ab add a configure test for vector_size 2017-10-02 08:17:11 +01:00
John Cupitt 645618592c off by one error 2017-10-01 19:52:54 +01:00
John Cupitt aae5babfcc Merge branch 'master' into add-composite 2017-10-01 19:37:26 +01:00
John Cupitt 560f8ac727 add goi note to changelog
see https://github.com/jcupitt/libvips/issues/741
2017-10-01 19:35:44 +01:00
John Cupitt 4bf99b53bc Merge pull request #760 from astavale/mosaicing
Update GObject introspection annotations for libvips/mosaicing directory
2017-10-01 19:33:59 +01:00
John Cupitt 9c86459be3 Merge pull request #759 from astavale/gi-updates-for-morphology
Update GObject introspection annotations for libvips/morphology direc…
2017-10-01 19:33:22 +01:00
John Cupitt 7c1ec7744a Merge pull request #758 from astavale/gi-updates-for-histogram
Update GObject introspection annotations for libvips/histogram directory
2017-10-01 19:32:48 +01:00
John Cupitt b20f5f1459 Merge pull request #757 from astavale/gi-updates-for-freqfilt
Update GObject instrospection annotations for libvips/freqfilt directory
2017-10-01 19:32:14 +01:00
John Cupitt 79a085bd39 Merge pull request #756 from astavale/gi-updates-for-draw
Update GObject introspection annotations for libvips/draw directory
2017-10-01 19:31:41 +01:00
John Cupitt 8c243b7a11 Merge pull request #754 from astavale/gi-updates-for-convolution
Update GObject introspection annotations for libvips/convolution dire…
2017-10-01 19:29:47 +01:00
John Cupitt fe7908d5cc Merge pull request #753 from astavale/gi-updates-for-colour
Update GObject introspection annotations for libvips/colour directory
2017-10-01 19:28:50 +01:00
John Cupitt 0c8693659e add .cpp files to introspection sources
see https://github.com/jcupitt/libvips/pull/752
2017-10-01 19:27:17 +01:00
John Cupitt 779eedce44 Merge pull request #752 from astavale/gi-updates-for-resample
Update GObject introspection annotations for libvips/resample directory
2017-10-01 19:16:47 +01:00
John Cupitt d601c5ee19 remmove extra null check
see https://github.com/jcupitt/libvips/issues/761
2017-10-01 19:08:51 +01:00
John Cupitt 3a43fd4057 vectorize 3 band case
needs to test for gcc though
2017-10-01 19:07:02 +01:00
Alistair Thomas 5c2ceed80c Update GObject introspection annotations for libvips/mosaicing directory 2017-09-30 23:19:03 +01:00
Alistair Thomas 6033b897a1 Update GObject introspection annotations for libvips/morphology directory 2017-09-30 23:07:11 +01:00
Alistair Thomas 14679d392d Update GObject introspection annotations for libvips/histogram directory 2017-09-30 22:53:30 +01:00
Alistair Thomas db5cedf010 Update GObject instrospection annotations for libvips/freqfilt directory 2017-09-30 22:24:53 +01:00
Alistair Thomas 12b3c66d7c Update GObject introspection annotations for libvips/draw directory 2017-09-30 21:26:52 +01:00
Alistair Thomas 0563330b43 Update GObject introspection annotations for libvips/create directory 2017-09-30 20:47:39 +01:00
Alistair Thomas d5101319d2 Update GObject introspection annotations for libvips/convolution directory 2017-09-30 20:23:38 +01:00
Alistair Thomas 2917c73404 Update GObject introspection annotations for libvips/colour directory 2017-09-30 19:29:17 +01:00
Alistair Thomas c24d36fc79 Update GObject introspection annotations for libvips/resample directory 2017-09-30 17:26:55 +01:00
John Cupitt fe20b92e33 Merge pull request #751 from astavale/gi-updates-for-iofuncs
Update GObject introspection annotations for libvips/iofuncs directory
2017-09-30 14:27:21 +01:00
Alistair Thomas 7452d046ca Update GObject introspection annotations for libvips/iofuncs directory 2017-09-30 13:31:00 +01:00
John Cupitt 37ef9c2074 whitespace 2017-09-29 12:44:37 +01:00
John Cupitt 7dda5810f9 rewrite composite in c++
easier to read, will be easier to add PDF operators
2017-09-29 11:54:42 +01:00
John Cupitt 0cc786aa14 give up on PDF modes for now
they need colour channels in [0-1], so some sort of RGB only ... come
back to this later
2017-09-28 15:09:57 +01:00
John Cupitt 775005820d cleanups ready for PDF modes 2017-09-28 11:12:36 +01:00
John Cupitt c9a83ac9a8 add the rest of the porter-duff operators
PDF ones next, after a reorganisation
2017-09-28 09:04:55 +01:00