After testing on both GPU and CPU, it seems that using
ints instead of
floats can give a 50% performance boost for CPU - and interestingly, absolutely zero for GPU.
It might be worth doing anyway sometime, patch attached.
There are probably other performance improvements we could make.
implements all calculations using integers
done in r4425 - only tested RGB to YUV (not the other way around).
Gains are between 0% (Intel SDK with AMD CPU) to 50% (AMD SDK with AMD GPU at 420P) - the wiki/CSC will need updating...
(setting correct milestone the work was completed in)
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/437