565 B
565 B
[-] Quaternions [X] Draw rotated pixels in src order [X] Use atan2 at beginning and end of line. Interpolation in-between values [X] Test pixel perfect 90 [ ] Fix out-of-bounds pixel set
[ ] Optimization for square images? [X] Fixed point computation?
Cache
[-] Rotate per channel -> no gain [ ] Load pixels in 64-bit variable [X] Cut image in tiles [ ] Overlap? [-] Rotate in one temp tile then copy/move it [X] Align tiles in memory [-] Align memory -> no gain [ ] RGBX format
Quality
[X] Interpolate using SIMD, SSE (no big gain) [ ] Image borders