Quote:
Originally Posted by jpsdr
Just when i finaly found it...
Thanks anyway. Now, i have to figure out why... why... why... the compiler don't want to compile minmax.h anymore, throwing me a lot of errors about the template T !
|
The types inside min, max or std::clamp are not similar. All parameters have to be the same int, short or float (or pixel_t in templates).
PS, I have cleaned up the resizers a bit (after you found unused avx path test code) and added a real avx2 path, I bet it is still not as fast as zimg, but at least it got cleaner. Just have commited, check my MT repo.