Post

How about replacing sRGB/linear conversions with simple square & sqrt(x)? I'd guess that for these kind of images the difference will be very minimal, but the code will be smaller (no tables) and probably as fast. And easier to apply SIMD.

I gave it a try and on mobile it makes things worse, losing 20% of performance. sqrt() is unfortunately still fairly expensive.

0 reposts1 like

No replies yet.