Alexander
|
58542fdfb9
|
Move WORDS_BIGENDIAN to ImagingUtils.h
|
2017-08-19 15:30:41 +03:00 |
|
wiredfool
|
9c4535bc82
|
Merge pull request #2655 from python-pillow/fast-allocation
Fast image allocation
|
2017-08-16 15:16:43 +01:00 |
|
Alexander
|
c2e0092589
|
Speed up resampling again a bit )
|
2017-08-13 01:10:19 +03:00 |
|
Alexander
|
19a8649589
|
create dirty images for some operations
|
2017-08-06 14:22:58 +03:00 |
|
Alexander
|
afc592ad7b
|
replace the excluding of zero coefficients with math power
|
2017-05-29 14:29:12 +03:00 |
|
Alexander
|
ad883961ac
|
fix hamming filter
|
2017-05-29 14:29:12 +03:00 |
|
Alexander Karpinsky
|
5a359fbf28
|
Fix coefficients calculation (#2162)
Fix coefficients calculation
* test for regression
* detailed comments what is going on
prevent setting the `k[-1]` item
* more readable
|
2016-10-17 01:31:45 -07:00 |
|
Andrew Murray
|
00cb14afd7
|
Removed trailing whitespace
|
2016-09-03 12:19:04 +10:00 |
|
homm
|
5c0eb2c365
|
normalize coefficients in normalize_coeffs_8bpc
increase precision of negative filter lobes. Add test
|
2016-08-25 04:11:02 -07:00 |
|
homm
|
788810f313
|
ImagingPrecompute → precompute_coeffs
|
2016-08-25 04:11:02 -07:00 |
|
homm
|
7d3db1f02a
|
truncate zero coefficients
|
2016-08-25 04:11:02 -07:00 |
|
homm
|
62388199fa
|
use lookups table instead of two conditions for each channel
|
2016-08-25 04:11:02 -07:00 |
|
homm
|
66715246c1
|
remove mitchell filter. Has no advantages over bicubic
|
2016-07-02 01:54:39 +03:00 |
|
homm
|
a67e5453d5
|
add tests, fix errors )
|
2016-07-02 01:54:39 +03:00 |
|
homm
|
c3d702538d
|
add BOX, HAMMING, MITCHELL filters to resample.c
|
2016-07-02 01:54:39 +03:00 |
|
homm
|
0e9beed76d
|
add constants for filters: BOX, HAMMING, MITCHELL
rearrange filters everywhere
|
2016-07-02 01:54:39 +03:00 |
|
Andrew Murray
|
5e5bda95e0
|
Removed trailing whitespace
|
2016-06-30 20:12:50 +01:00 |
|
wiredfool
|
291c00c58a
|
Merge pull request #1954 from uploadcare/skip-resampling-passes
Do not do unnecessary passes on resizing
|
2016-06-30 12:23:07 +01:00 |
|
wiredfool
|
95f464f827
|
removed redundant check
|
2016-06-16 01:09:38 -07:00 |
|
homm
|
78fad0f819
|
Do not make unnecessary passes on resizing
|
2016-06-15 01:04:02 +03:00 |
|
wiredfool
|
92a13d975d
|
Malloc check merge/rebase
|
2016-06-08 06:25:46 -07:00 |
|
homm
|
12c8cf94f2
|
replace calloc with remaining values emptying
|
2016-06-08 03:45:08 +03:00 |
|
homm
|
3b7923c09f
|
add calloc explanation
|
2016-06-03 12:51:58 +03:00 |
|
homm
|
34afabbf18
|
return malloc where clearing is not required
|
2016-05-28 10:47:07 +03:00 |
|
homm
|
4ea0c83450
|
do not rotate image between passes
|
2016-05-27 07:24:22 +03:00 |
|
homm
|
c051f1d79d
|
ImagingResampleVertical_32bpc implementation
|
2016-05-27 07:21:34 +03:00 |
|
homm
|
5cd8c35c82
|
complete ImagingResampleVertical_8bpc implementation
|
2016-05-27 07:12:01 +03:00 |
|
homm
|
8180b0f4c3
|
ResampleVertical first implementation
|
2016-05-27 06:52:19 +03:00 |
|
homm
|
5ffd9e53bc
|
use calloc and INT_MAX
|
2016-05-26 02:28:35 +03:00 |
|
homm
|
1c3def1d5a
|
return malloc
|
2016-05-26 02:07:56 +03:00 |
|
homm
|
eec17c0c7a
|
change xmax meaning to avoid substructions
|
2016-05-26 02:07:56 +03:00 |
|
homm
|
7722d00daf
|
simpler coefficients calculation in ImagingResampleHorizontal_8bpc
|
2016-05-26 02:07:56 +03:00 |
|
homm
|
d3749ccc7c
|
possible increase precision and avoid compiler warnings
|
2016-05-26 02:07:56 +03:00 |
|
homm
|
f44a7f8b11
|
implement round
fix windows build
|
2016-05-26 02:07:56 +03:00 |
|
homm
|
babaaf9bbe
|
raise on special cases even if imIn->image8
|
2016-05-26 02:07:56 +03:00 |
|
homm
|
d48324bd21
|
unroll 8bpc version
|
2016-05-26 02:07:56 +03:00 |
|
homm
|
126c3151b5
|
use ImagingPrecompute in ImagingResampleHorizontal_8bpc
|
2016-05-26 02:07:56 +03:00 |
|
homm
|
f3f03bcd67
|
unroll 32bpc version
|
2016-05-26 02:07:56 +03:00 |
|
homm
|
04552b015d
|
use ImagingPrecompute in ImagingResampleHorizontal_32bpc
|
2016-05-26 02:07:56 +03:00 |
|
homm
|
023f7adcf6
|
precompute function
|
2016-05-26 02:07:56 +03:00 |
|
homm
|
7693da9287
|
separate 8 and 32 bpc implementations
|
2016-05-26 02:07:56 +03:00 |
|
homm
|
9618ec98b8
|
test for consistency
|
2016-05-26 02:07:56 +03:00 |
|
homm
|
e13297b396
|
make coefficients ints
|
2016-05-26 02:07:03 +03:00 |
|
homm
|
342e6f213b
|
extra line
|
2016-05-26 02:07:03 +03:00 |
|
homm
|
3ee407e859
|
pass struct filter to ImagingResampleHorizontal
|
2016-05-26 02:07:03 +03:00 |
|
homm
|
0e2a8e4323
|
intermediate not normalized buffer for coefficients
|
2016-05-26 02:07:03 +03:00 |
|
homm
|
a5b99dd302
|
move checks before mallocs to prevent memory leaks
|
2016-05-26 02:07:03 +03:00 |
|
Andrew Murray
|
a7c7aa171d
|
Updated redirected URLs
|
2016-02-11 18:51:36 +11:00 |
|
Ned Williamson
|
4e0d9b0b97
|
fix integer overflow in Resample.c
|
2016-02-04 07:19:54 -08:00 |
|
Andrew Murray
|
9a2903bf5b
|
Changed 32 bit to 32-bit and 64 bit to 64-bit
|
2015-10-15 00:49:03 +11:00 |
|