James Jackson-South
c11751e6c5
No need for second type param
Former-commit-id: 19180d2962371ebdbe77b1e08a1867b8630abf43
Former-commit-id: 84da094533206cb0c1a859a438fe6a937af9fa77
Former-commit-id: 3094f56fbf68569748a6b31f3874cf716ed673b6
10 years ago
James Jackson-South
60b17f2b01
Use float to prevent casting.
Former-commit-id: 4d0f0912927e86fb3dda26bc8131c2b61e4913d6
Former-commit-id: 87fc5322e14aa23b36a5edc91e2a539be87e6568
Former-commit-id: ba498a73a37b2550eded45e46a37515e5182d157
10 years ago
James Jackson-South
0cdc209c32
Now faster than System.Drawing.
Former-commit-id: 14ac44a018e4525cf65c19e3864840b4d6934981
Former-commit-id: b6d60bd3b96b352577dfd53a6cdd8f0d237d6a91
Former-commit-id: a0c275d2ed132c6d87f01c2469fd1b7d69e9dc62
10 years ago
James Jackson-South
eb1b1b47ba
Faster clamp
30% performance increase removing ternary operator.
Former-commit-id: 9664ddb7da1c63be4034d0466ac10560db42edf0
Former-commit-id: 019ec4638e02acdf8bafc1f251859a25f75f07d2
Former-commit-id: 9b608a6ba964226e0f45d023d466f207aa24c796
10 years ago
James Jackson-South
af8a465660
Benchmark clamp
Former-commit-id: ecfd869a3c6f282f03f38239b0dc0a204d3bf565
Former-commit-id: 4ad46c7929a15caebfe440eb7610617e97872a0b
Former-commit-id: dfdcfa618c48e66921be1ebb395183de6785323c
10 years ago
James Jackson-South
03cd0e2d6e
Clamp values!
Former-commit-id: 83933734dde4c1545394533a62388835dfae0996
Former-commit-id: 63b7ec79f61945702174a51807695c71d3354f21
Former-commit-id: 43b34db2532e71a7f98913ecfe8c2ada1c43ee49
10 years ago
James Jackson-South
af355582c6
Use double for resamplers
Former-commit-id: 6c024e150c3521c9a8f6ac12da96abfd7b4d1be7
Former-commit-id: 598e6e70606a95d16c6205d4eb04a960842246aa
Former-commit-id: 2c3e00cf2db86aaf7eedcbca3b7eef382d689885
10 years ago
James Jackson-South
79c20533ec
Use default(T)
Former-commit-id: b6028bf2565e2e25395e0658332e351df870277b
Former-commit-id: cfdbc86934bc83757056a87600580cbd81743b53
Former-commit-id: ac78e9ca21eccb3830d5ba12ca573a9f54aae995
10 years ago
James Jackson-South
ea4fae53d4
Use blitting, cleanup code.
Former-commit-id: a52a42b2bfb7b00e838d5c5108c7eaec8bf1da95
Former-commit-id: 495ad3d53a5d04e510dffb7b1f2f71e3fc7b28d1
Former-commit-id: df993deb570146848acce1064c2a6a960ec7d6f2
10 years ago
James Jackson-South
7a6e17d5c0
Faster... Much Faster...
Former-commit-id: 72030d1552aad7da681b03900ffe614bb8fee3d2
Former-commit-id: 13219f66ec6a6f6e3d61eddd8102810ab4b948f7
Former-commit-id: 356cddebc1dd634474e0b5ddc450318d5b21bff3
10 years ago
James Jackson-South
abe4412c79
Getting there....
Former-commit-id: 52d18a5b7db2755316ced3502b012186b6eebf96
Former-commit-id: c03f4bd0c6cf3701e9cd9244b43425c1d5e7c32b
Former-commit-id: 794deb40b750df545be1aacff66677ea4443190b
10 years ago
James Jackson-South
05cf0f1894
Use Operator<T>
Former-commit-id: 1bc110efc169542f998698c406473969ff03432a
Former-commit-id: 0a96341575e95754884d20aff07d2f31f4265576
Former-commit-id: 404c8605fcc6a522e96b5812d647a89337ce65cc
10 years ago
James Jackson-South
bd8112fc33
Experiment with multipliers.
Former-commit-id: 084a071bbe2f57ed8eaa29fc48e77ebf24eb204b
Former-commit-id: cf8ca002917043c93bd18c10e21c0005999ef972
Former-commit-id: a7f231eb49f32fe8b3bc9bff312fd9995e2dabbc
10 years ago
James Jackson-South
64d4a815ef
Move allocation outside the loop.
Former-commit-id: 924260a626f911229b51c5758718261bd4b891cc
Former-commit-id: b525508bf841c68404316c328e510a89fbe00a40
Former-commit-id: 67ebc6a448994abb588f5308f03e7cf8be70f9c7
10 years ago
James Jackson-South
5fd858b487
Trim back to test cause of slowness.
Former-commit-id: 467d987c47c6f4a97448a478aedba2b35d74b527
Former-commit-id: 38c2fb2764fc522bf2850bc8018f7303f51f56ed
Former-commit-id: caa43702a4f1aa90c87daf68a236d48a6ffcfe44
10 years ago
James Jackson-South
ff9bca00f7
Moar T
Former-commit-id: 53f37fb68f78c602df15d87f6c9086f75eed1cfc
Former-commit-id: 79ee79b98b686595c4e5d6054365884a7dbf5b7a
Former-commit-id: afc91142ccd716afb271b29bdbf736d779ef4d84
10 years ago
James Jackson-South
a868921848
IPixelAcessor<TPacked>
Former-commit-id: 5b04e85fc18ebe98bd122766c58379a1666d0cbb
Former-commit-id: 6e626d6a6e55aa75922a3c1aeeb4094390b4e185
Former-commit-id: f5293704eec3ece4aceaebff57218bce383d02e8
10 years ago
James Jackson-South
1d563ac393
Avoid activator
Former-commit-id: 369a59330765de72829d5b2e6eec83cdb18a3f03
Former-commit-id: 8611d5b3aebe7f155a80598eeff86c707c614e64
Former-commit-id: 862e506ccc0485d075b4afa2c514c6619823f1f5
10 years ago
James Jackson-South
a1383fdaf3
F**ck me it works!
Former-commit-id: 5349fc67232b2863c8e5d6fa880ffd1bd415efa3
Former-commit-id: 5e92562e0c7131b65d41ff81ba48bbc0f83b60d8
Former-commit-id: 79570635457be4888019984092c73105a159848d
10 years ago
James Jackson-South
20f34563ef
Trim back to basics
Former-commit-id: 3cca13c49abcf0e9a5a394794153406084d2e19e
Former-commit-id: 767a3db69cf4adecac58c58a84891b736ada79eb
Former-commit-id: db1a5b695cc73951becdff9b31535b8f7b03e75b
10 years ago
James Jackson-South
f61634418a
True Generic Image?
Former-commit-id: 5b08411e203ba38ad40a1892f599cf67af7c513f
Former-commit-id: 64f7bf7a94fc878e8fb8b4a19f049b55bca5dea6
Former-commit-id: d183d15ce5ebefc2f8b9dc86ac8a9d7bb5c27714
10 years ago
James Jackson-South
cb2d928ed6
Bring back generic image
Former-commit-id: dd3f92b3358e43e8c26e6ad974b8fd1432d3a36d
Former-commit-id: e0ce0080191426e2bf6bc73afc0da56bb2545a3c
Former-commit-id: ba0189d24efa44c744044a88d05204bc7afecf6e
10 years ago
James Jackson-South
ab78b9bdf0
Begin switching to generics
Former-commit-id: 88d16159717d23208e4e151e5434aca3a27ff3b2
Former-commit-id: 2a7d97bb9c9a42b3e6ce720bd0da36d0b3fea5d8
Former-commit-id: d6db3166d72eb48c18e2fc0c093ba42462e2a208
10 years ago
James Jackson-South
f0f0749851
Use direct access to Color to get/set pixels.
Former-commit-id: 38f45a1ac9325aabbeb25c0422f973bf44d7fe65
Former-commit-id: 55b3f1b83610fe278d3af85a855689319c37eba9
Former-commit-id: a2e726b811db365bbb164d3b30b8232da842636b
10 years ago
James Jackson-South
c6c0641a11
Add TODO: for unmanaged pixel copying [skip ci]
Former-commit-id: 45772bc399b25280ea79cd5afc081945b45808a8
Former-commit-id: f14063e037c5cc3c7bd2d1e9c0abf6d7413034dd
Former-commit-id: 7f4addaec89fea153275167ac093716192995108
10 years ago
James Jackson-South
9233748d09
Fix after method.
Former-commit-id: 5f9d7336f76a2caa586b400bef7fd96cde06bc77
Former-commit-id: 22493cbf1d2ad4f816715faff23ac0af1af26a01
Former-commit-id: 6ec88244fefd04fdb3758020e91ebd2e88dd08a9
10 years ago
James Jackson-South
a11d0177e9
Remove task splitting code.
Former-commit-id: a29d6e26e80dd4c47adfe6dab3cea8b41699165e
Former-commit-id: 5463d0ceda62e577377de3ad9d52d347a830622b
Former-commit-id: b3efff43e573ba7239d5724187cea5ae62f93690
10 years ago
Sverre Rekvin
02427212fc
Rotate and skew, shorter code fewer if, better math
Former-commit-id: 1c43328c71d549a566fe1c3a655f97c9ce9fad05
Former-commit-id: db8c7b880c3f17b85feb7277477eddc50f6dffb5
Former-commit-id: 405ff7e2dccdc33b5cbf53a07208a57528616c6b
10 years ago
Sverre Rekvin
82fae083e1
rotate
Former-commit-id: b47614eda6c4bf9f50968bd324f27dcec5f685bb
Former-commit-id: 8a1a1b13359ba260906d8439f131d0f07ce81cba
Former-commit-id: 9ce6a4e24ec11eb2e0a90f9e12ea103c4dbacd8c
10 years ago
Sverre Rekvin
d0f5d53d1f
First working version
Former-commit-id: 9a29900c60ed46679ec35b19764f2716a071cdcc
Former-commit-id: 5d27440cde0a1b795322f33df43c1e23a5686158
Former-commit-id: 94ca246cfdf0d6ad960284d4dcd626632d15c300
10 years ago
Sverre Rekvin
b6940cbbd1
maybe working
Former-commit-id: 696365d1b984a55ecb1063cb21e0a2f48b454274
Former-commit-id: 11caf1a2b1f7c67874c8ac1fbf33c53318068c8e
Former-commit-id: 4cb2557cbbf7e5d6eba652eac57d969a1d2705fd
10 years ago
James Jackson-South
2432014b16
Add a few comments [skip ci]
Former-commit-id: c62a04c3030c1322782ccd7ec9823f1ccb2629a2
Former-commit-id: 097737d5586667952794d078b6d65eb198f53c48
Former-commit-id: 26b4e34da805f42ddd0bec44127020756f7140dc
10 years ago
James Jackson-South
92c4170c85
cleanup
Former-commit-id: a680527d251607d8925867ed9826bbad23564609
Former-commit-id: 06d34a2e01dc6a1ca0d757621699ee3bb473201b
Former-commit-id: 455a73c3426b690087a4eba9c81b8fe920e22280
10 years ago
James Jackson-South
e780b08d20
Remove first pass from Rotate [skip ci]
Former-commit-id: 0c0c868ae14312f4ab5d7bc78a0c8e118d10f404
Former-commit-id: 3406deb6ce32e26d84ccc744b094e65a5583d78a
Former-commit-id: e2cfeca125cfefc1a48088d63707379fd85f036e
10 years ago
James Jackson-South
6a1f0975a5
Update dependencies to RTM
Former-commit-id: cb35519c9df4004aaca655c7796ffab4270c12c1
Former-commit-id: d810fa84b548c367af73c54c9cd0f4d4a5bd61ff
Former-commit-id: aaf866274811d7c09fecaa08c4887361582d1602
10 years ago
Sverre Rekvin
d567e1b250
Inv matrix, traget size of image was wrong
Former-commit-id: b62be965af469e6c365f57261b5790ac05475329
Former-commit-id: 621c23abc663803c7b49e81ce3e576a2042dc740
Former-commit-id: e133d3a733742ec6038f8fb9f2053731e6f44618
10 years ago
Sverre Rekvin
c1099f498b
Mad code simple as pssible
Former-commit-id: a54d5643736150d029ae1fbdbf8866de0ed9cc19
Former-commit-id: 35ff5d480c7082b92b37d1ebeda1b88a57a9235f
Former-commit-id: d1872fb301e23d0fdbbe085223ed8838bcc8ef63
10 years ago
Sverre Rekvin
c8839d0933
I suspect that resize is aslo worng
Former-commit-id: 02a07dbd5b84292e2b5fea6c4dd164d323a9a4cf
Former-commit-id: a45041a6f7cf0b1eb6ba88ed68545e4375cf6890
Former-commit-id: 3ab6536cddbc2e09b20ce54b1334ca1f3e5aca88
10 years ago
Sverre Rekvin
b4079eaf18
50 degree problem
Former-commit-id: 0520faa2f766ec02358fce15ec7207dc3f05a2fa
Former-commit-id: d09c6d305cb917e513a2f0a85a7e236bb115e7a2
Former-commit-id: f3d80d94646b8ab67d41168ef35cdcb4dd3e2359
10 years ago
Sverre Rekvin
20726b351a
how needs float or double
Former-commit-id: 4636317442582ed070b7e5b60a1c1671ee04fe49
Former-commit-id: b9cfab5bc32cd78a1f3c6ea65b3eb3026214dc66
Former-commit-id: 0cd0ab47777a3a93bb5a4edb0b9cd644b7311d55
10 years ago
Sverre Rekvin
3ddbb62ef6
allmost
Former-commit-id: 2381cad96fed8bc6fcdf302ae430902ab5e49250
Former-commit-id: 85b9f55b31c5d2e664cf86ac08696e2929de1b05
Former-commit-id: cfbb14402f0dbb5bf915b67af8778c00a7f18e98
10 years ago
James Jackson-South
e75d424a18
Use constant
Former-commit-id: ffa70d25bd458a66583eb7e26e12e8ef2d625d31
Former-commit-id: dc1117d146a13935391f8fc5141e479242c1d69c
Former-commit-id: ef9570326915c2a7680626c9b9d0ad930805eb97
10 years ago
James Jackson-South
c332cd8a1e
Fix namespaces
Former-commit-id: 5e9d8e0d98e6bed499d71b0cab005c2c253ec917
Former-commit-id: 87cc61833ac266b0795f93a8c3a46ba84796e726
Former-commit-id: 2d3e58fe24556ae5701d00236b10125f878b4b63
10 years ago
Sverre Rekvin
e5b71e8e90
a smal bug
Former-commit-id: c6e0afbd230747057de8314c9599821c69dc1ffe
Former-commit-id: be47dfa7a12de85db15a8c00ac434952213fafbb
Former-commit-id: 891a14bf95046a3a8eb5108c6e389060a01a5094
10 years ago
James Jackson-South
5898a56a39
Use PixelAccessor
Former-commit-id: 9b7174022ac6745534acff3ed69718d143e91e6f
Former-commit-id: f8d1e182dec104b3c77fec79cd4d7c00a299a70f
Former-commit-id: 98f22a9d62b5133aeba4b4525a71b2e6c2b18133
10 years ago
Eric Mellino
b2a45ce8f5
Explicitly list individual NuGet dependencies.
* Rather than use a reference to NETStandard.Library, use individual
references so that projects consuming the library can be more granular
about their dependencies
Former-commit-id: 16c745fa59752189479efacabb018d775eeae4a5
Former-commit-id: 2e058cb12ed86ac403462f239ceef03c0306a9c1
Former-commit-id: 4c82d4e7894ce9605eaccfafa38f7823131abd2b
10 years ago
Sverre Rekvin
0226d8f74c
found stepping bug
Former-commit-id: ee2d54efce687030938c51f5886331974183cbd4
Former-commit-id: 8c080d5a56232ce06304afecb56ac339dd677689
Former-commit-id: 06bb22b1b2c9f757a52194a79641eb56d9d747aa
10 years ago
Sverre Rekvin
f6457ba3aa
Removed first pass
Former-commit-id: ae4c65acb9d7eb7b5d2840b6a268ee8483d226b1
Former-commit-id: ac8bb1c013bf432f990487d01b3e797578ce29b0
Former-commit-id: 9965e32b231efe13d189ecb6d6f594d9809b6d93
10 years ago
James Jackson-South
4f49544e15
Remove line number [skip ci]
Former-commit-id: c223456744511729aa1ff3d62dada2d26da89068
Former-commit-id: 8dc9e9e427a3e1d6c62fa1e1bba765ec294e86ba
Former-commit-id: ee08889af7f086f0aeab2a1eb9873ba480075d68
10 years ago
James Jackson-South
7835f9eaaa
Flatten namespace [skip ci]
Former-commit-id: 16779a3ac82e4d9ca67d4b9dd318b443c12e0949
Former-commit-id: fd491dea8ad3366ca25c6f7cf0760addadb6f2d4
Former-commit-id: 1c04febd3c3b9e84f4ea724707caacca73237b40
10 years ago