Commit Graph

585 Commits

Author SHA1 Message Date
Alexander
5a1cdfc72c rename arena->blocks to arena->blocks_pool
fix comments
2017-09-30 15:03:28 +03:00
Alexander
83530975e9 rename lines_remaining 2017-09-30 04:16:12 +03:00
Alexander
9db1b760e5 revert reverse order of blocks associated with the image
take alignment into account when calculating lines_per_block
2017-09-23 06:07:47 +03:00
Alexander
385963928f make MS C compiler happy 2017-09-23 04:56:18 +03:00
Alexander
145180a105 fix alignment 2017-09-23 04:44:01 +03:00
Alexander
6a435793d8 fallback to small block size on memory error
increase default block size to previous value
2017-09-23 04:15:19 +03:00
Alexander
b51d77e4e5 Merge branch 'master' into block-storage
# Conflicts:
#	docs/releasenotes/4.3.0.rst
2017-09-23 04:07:09 +03:00
Alexander
a78e92356f Merge branch 'master' into block-storage 2017-09-19 21:08:21 +03:00
Alexander
ecfc10d002 oops 2017-09-19 21:01:34 +03:00
Alexander
bca70a743d Merge branch 'master' into imaging-copy-palette-info 2017-09-19 20:51:52 +03:00
Alexander
bda6d1e588 rename ImagingCopyPaletteInfo to ImagingCopyPalette 2017-09-19 20:42:13 +03:00
wiredfool
e5513804a3 Merge pull request #2709 from uploadcare/alpha-composite-box
Alpha composite fixes
2017-09-19 11:13:19 +01:00
wiredfool
7541755aa5 Merge pull request #2730 from uploadcare/fast-geometry
Faster Transposition
2017-09-19 10:58:47 +01:00
Alexander
db08235c05 reduce size of blocks returned to pool 2017-09-19 00:14:44 +03:00
Alexander
44c2698f69 ImagingMemoryBlock structure 2017-09-18 22:48:32 +03:00
Alexander
67e1e03c79 Set options from environment variables 2017-09-18 21:29:48 +03:00
Alexander
3bfdfcd48a reduce code duplication 2017-09-18 03:57:43 +03:00
Alexander
6d2be876c8 tests 2017-09-18 02:37:47 +03:00
Alexander
af3dcf84af python api for resources 2017-09-18 01:41:39 +03:00
Alexander
53dde3b7f6 fix visual c compiler 2017-09-17 22:46:11 +03:00
Alexander
8659cd7564 stats 2017-09-17 21:31:50 +03:00
Alexander
4951962af1 ImagingMemoryArean tata type 2017-09-17 20:31:13 +03:00
Alexander
dc192be83f temp 2017-09-17 20:10:31 +03:00
Alexander
c8a2923d17 Return blocks in reverse order to reduce reallocations 2017-09-17 19:54:49 +03:00
Alexander
fd907fbdc9 Fix 0-width and 0-height images other way 2017-09-17 03:31:24 +03:00
Alexander
0054743100 fix zero size images 2017-09-17 02:58:01 +03:00
Alexander
6007e818a9 debug messages 2017-09-17 01:40:30 +03:00
Alexander
a5034b54cd do not request more lines than required 2017-09-17 01:34:57 +03:00
Alexander
f2123b4222 limit allocated memory to lines_per_block * linesize size
allocate block for wider lines
2017-09-17 01:22:44 +03:00
Alexander
d4a1f7a01a align lines 2017-09-16 22:58:37 +03:00
Alexander
63b925d74c Merge branch 'master' into block-storage
# Conflicts:
#	libImaging/Imaging.h
2017-09-16 22:21:56 +03:00
Alexander
763df3d90b Convert tabs to spaces in Imaging.h 2017-09-16 20:46:09 +03:00
Alexander
883fb8f9e9 MEMORY_MAX_BLOCKS should be 0 by default 2017-09-15 19:00:53 +03:00
Alexander
fe283b10a5 Do not use ImagingNewBlock at all 2017-09-15 18:11:20 +03:00
Alexander
f584f8399a save released blocks 2017-09-15 18:00:15 +03:00
Alexander
0a3c852e1b work in ImagingAllocateArray with blocks 2017-09-15 17:50:29 +03:00
Alexander
852124d49b Add params check for ImagingNewBlock 2017-09-15 17:32:49 +03:00
Alexander
f6a05fd22c Rename ImagingCopyInfo to ImagingCopyPaletteInfo 2017-09-15 00:33:04 +03:00
Alexander
e3954aa4ea remove unnecessary ImagingCopyInfos 2017-09-15 00:30:49 +03:00
Alexander Karpinsky
1f61c4efd4 Merge pull request #2686 from uploadcare/new-dirty
Use ImagingNewDirty when possible
2017-09-14 14:14:33 +03:00
Alexander
be02f87ee7 fix comment [ci skip] 2017-09-14 14:02:30 +03:00
Alexander
ef1df617f9 move _i2f to utils 2017-09-12 17:35:38 +03:00
Alexander
bc13a9d011 Use macros for FLIP_LEFT_RIGHT and ROTATE_180 2017-09-12 14:07:33 +03:00
Alexander
5bc72dbc10 Merge branch 'master' into alpha-composite-box 2017-09-11 23:34:45 +03:00
Alexander
29515f59bb rename TRANSPOSE_ROTATE_180 to TRANSVERSE 2017-09-11 22:58:22 +03:00
Alexander
fd297fe588 3-level transpospose 2017-09-11 19:26:30 +03:00
Alexander
b8789e6815 Change geometry chunk size 2017-09-11 02:44:28 +03:00
Alexander
a2a2d8d716 Implement ImagingTransposeRotate180 2017-09-11 01:47:47 +03:00
Alexander
67459795db 2 times faster ImagingRotate180 2017-09-11 01:07:38 +03:00
wiredfool
3b5c2c30be Merge pull request #2679 from uploadcare/fast-filters
Fast filters
2017-09-10 17:22:00 +01:00