93ca2788ff01f88e762ca9745cdd7849a798642f
Use multithreading, plus make the non-float / non-separate luma calculations faster by avoiding byte->float->byte conversions back and forth. On a 4K resolution sequencer display, time taken to calculate the waveform (Windows, Ryzen 5950X): - regular images: 127.0ms -> 6.4ms - regular images, separate colors: 160.3ms -> 13.1ms - float images: 86.2ms -> 11.1ms - float images, separate colors: 162.9ms -> 17.4ms This also fixes curious "one black pixel row" in the middle of the waveform, which was caused by the code spreading 256 possible luma values over "off by one" vertical range: Pull Request: https://projects.blender.org/blender/blender/pulls/115579
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
