|
|
|
|
|
by phire
1667 days ago
|
|
The algorithm is extremely resistant to SIMD optimizations. Every pixel uses a different encoding, 95% of the encodings rely on the value of the previous pixel, or the accumulated state of all previously processed pixels. The number of bytes per pixel and pixels per byte swing wildly. SIMD optimization would basically require redesigning it from scratch. |
|
Two other immediate avenues are multithreading, which think could be quite effective for this algorithm or GLSL, of that I have no opinion.