VSE: make Wipe effect 6x-20x faster #115837

Merged
Aras Pranckevicius merged 2 commits from aras_p/blender:vse-wipe-opt into main 2023-12-06 19:43:08 +01:00

2 Commits

Author SHA1 Message Date
Aras Pranckevicius 33e73ad398 VSE: speedup Wipe Clock by simplifying math
buildbot/vexp-code-patch-coordinator Build done. Details
asin(y/hypot(x,y)) plus a bunch of quadrant checks is just atan2. So do
that instead.

4K UHD resolution, Windows Ryzen 5950X, clock wipe: 21.1 -> 14.5ms
2023-12-06 13:39:12 +02:00
Aras Pranckevicius a7c815d5e7 VSE: speedup Wipe effect by multithreading
4K UHD resolution, Windows Ryzen 5950X, applying wipe:
- Single 99.8 -> 9.3 ms
- Double 98.1 -> 9.3 ms
- Iris 153.3 -> 12.3 ms
- Clock 301.4 -> 21.1 ms
2023-12-06 13:14:32 +02:00