e3e0d3c20a
The first tile on each row seemed to be missing values. This was due to the ‘continue’ statement that would prevent src_rotated_point to be incremented properly.
25 lines
561 B
Markdown
25 lines
561 B
Markdown
[-] 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?
|
|
[ ] Fixed point computation?
|
|
|
|
# Cache
|
|
[-] Rotate per channel -> no gain
|
|
[ ] Load pixels in uint64-t
|
|
[X] Cut image in tiles
|
|
[ ] Overlap?
|
|
[ ] Rotate in one temp tile then copy/move it
|
|
[-] Align memory -> no gain
|
|
|
|
# Quality
|
|
[X] Interpolate using SIMD, SSE (no big gain)
|
|
[ ] Image borders
|
|
|
|
# Bugs
|
|
[X] first tile on each row is missing
|