384 Commits
Author SHA1 Message Date
Kirill Kuzminykh bc1b61abbe Added description of latest changes into CHANGELOG.md 2023-04-27 00:53:41 +03:00
Kirill Kuzminykh 8548ee562b Merge pull request #16 from durin42/push-742f2c761e874ca9aaa7ca80c23ff6d3
Use (read|write)_unaligned for unaligned pointers (#15)
2023-04-07 14:19:55 +04:00
Augie Fackler f2640c3dc3 cleanup: use (read|write)_unaligned for unaligned pointers
This was caught by a recent change to Rust (22a7a19f9333bc1fcba97ce444a3515cb5fb33e6)
which proactively detects dereferences of unaligned pointers. Switching from a
dereference to the unaligned read and write methods fixes all the tests on today's nightly.

Fixes #15.
2023-04-06 13:23:40 -04:00
Kirill Kuzminykh 8fc4400ea7 Fixed CHANGELOG.md 2023-03-25 00:18:12 +03:00
Kirill Kuzminykh 7cdf7a8bd5 chore: Release v2.7.0 2023-03-24 23:55:54 +03:00
Kirill Kuzminykh fd071fd0cc - Added method DynamicImageViewMut::crop() to create cropped version of ImageViewMut.
- Added method `ImageViewMut::crop()` to create cropped version of `ImageViewMut`.
2023-03-24 23:40:25 +03:00
Kirill Kuzminykh a3692f11b6 chore: Release v2.6.0 2023-03-01 23:46:41 +03:00
Kirill Kuzminykh 5ddcf378ba Updated results of benchmark. 2023-03-01 23:23:37 +03:00
Kirill Kuzminykh eaf819c643 Merge branch 'main' into dev 2023-02-28 00:16:58 +03:00
Kirill Kuzminykh 0a47adc013 Revert few changes 2023-02-28 00:16:35 +03:00
Kirill Kuzminykh 1dd629eb81 Revert few changes 2023-02-28 00:16:07 +03:00
Kirill Kuzminykh 462b635f7e Merge pull request #14 from seddonm1/pub_buffer_mut
Make `Image::buffer_mut()` public
2023-02-22 10:50:58 +03:00
Mike Seddon 16846c8e8d make buffer_mut public 2023-02-22 10:59:35 +11:00
Kirill Kuzminykh 999c684fce Slightly improved speed of Convolution implementation for U8x2 images and Wasm32 SIMD128 instructions. 2023-02-21 00:09:21 +03:00
Kirill Kuzminykh 94070bbdba chore: Release v2.5.0 2023-01-29 22:18:49 +04:00
Kirill Kuzminykh 7c6a86b8f4 Prepare for release. 2023-01-29 21:56:37 +04:00
Kirill Kuzminykh 5c08df052a Updated benchmark results. 2023-01-29 01:58:59 +04:00
Kirill Kuzminykh 4f83db93e1 Fixed CHANGELOG.md 2023-01-29 00:45:25 +04:00
Kirill Kuzminykh 76a87bc305 - CpuExtension::Wasm32 renamed into CpuExtension::Simd128.
- Optimized MulDiv implementation for Wasm32 SIMD128.
2023-01-29 00:43:25 +04:00
Kirill Kuzminykh b765af521c Merge pull request #11 from cdmurph32/wasm32_simd
Add support of SIMD128 for Wasm32
2023-01-24 17:37:36 +04:00
Colin Murphy 3737133fbb Rebase 2023-01-23 16:53:12 -05:00
Colin Murphy ec4c61ccf9 Remove swizzle from load functions. 2023-01-23 16:51:16 -05:00
Colin Murphy ccdd08c8c9 Add #[target_feature(enable = "simd128")] 2023-01-23 16:51:16 -05:00
Colin Murphy 74fd01a267 Constantize v128 declarations.
Slight increase in performance by avoiding checks that values are within
bounds.
2023-01-23 16:51:16 -05:00
Colin Murphy 37a96fd79d Comment incorporation. 2023-01-23 16:51:15 -05:00
Colin Murphy 6f9bbcd56b Use empscripten replacement for _mm_mul_epi32 2023-01-23 16:50:36 -05:00
Colin Murphy ffec2ff6f2 Add wasm32 benchmarks. 2023-01-23 16:50:34 -05:00
Colin c23cab9df8 Improve efficiency 2023-01-23 16:46:56 -05:00
Colin 14e0a15d40 All tests working. 2023-01-23 16:46:54 -05:00
Colin d5055fee0b alpha u8x4 passing 2023-01-23 16:46:42 -05:00
Colin a71337a5c1 Alpha u8x2 working. 2023-01-23 16:46:42 -05:00
Colin a8e33d213c Resize Complete 2023-01-23 16:46:42 -05:00
Colin 9b15dcbc71 U8 complete. 2023-01-23 16:46:42 -05:00
Colin f0979ec3b9 Working vertical u16 2023-01-23 16:46:42 -05:00
Colin 11fbe03a8f Wasm simd for u16x1. 2023-01-23 16:46:38 -05:00
Kirill Kuzminykh b3d03d03ef Updated benchmark results in README.md 2023-01-22 00:23:03 +04:00
Kirill Kuzminykh 64f59565d5 Changed comments in .md files on version that supports by GitHub 2023-01-22 00:21:12 +04:00
Kirill Kuzminykh 9df6cde213 Changed comments in .md files on version that supports by GitHub 2023-01-22 00:07:11 +04:00
Kirill Kuzminykh e3b33da28d Updated results of benchmarks. 2023-01-21 23:25:34 +04:00
Kirill Kuzminykh 309d4a7b67 Updated results of benchmarks. 2023-01-21 23:21:36 +04:00
Kirill Kuzminykh 661777b0b4 - Benchmark framework glassbench replaced by criterion.
- Added report with results of benchmarks for `wasm32-wasi` target.
2023-01-21 22:06:51 +04:00
Kirill Kuzminykh 60367f1b44 Added couple comments into code. 2023-01-13 01:11:22 +04:00
Kirill Kuzminykh ea1b4f5991 chore: Release v2.4.0 2022-12-11 20:53:49 +04:00
Kirill Kuzminykh 216ef4b0a5 Prepare to release. 2022-12-11 20:24:06 +04:00
Kirill Kuzminykh 9b0d3d4c81 Prepare to release. 2022-12-11 20:23:10 +04:00
Kirill Kuzminykh f5c7c7937c Added implementation From trait to convert DynamicImageViewMut into DynamicImageView. 2022-12-11 19:09:19 +04:00
Kirill Kuzminykh 4afa17d599 Added optimisation for processing U16x2 images by MulDiv with helps of NEON SIMD instructions. 2022-12-11 17:33:07 +04:00
Kirill Kuzminykh 5c8477b344 - Improved speed of MulDiv implementation for U16x2 images.
- Added optimisation for processing `U16x2` images by `MulDiv` with helps of `NEON SIMD` instructions.
2022-12-11 17:28:26 +04:00
Kirill Kuzminykh 3aec6d71ae Improved speed of MulDiv implementation for U16x4 images. 2022-12-10 22:32:36 +04:00
Kirill Kuzminykh d59ff2d69f Improved speed of MulDiv implementation for U8x2 images. 2022-12-10 16:57:49 +04:00