Looking at scanLine I wonder if we can't do something even lower-level. We don't actually need to use the QRgb, qRed, qBlue etc values - all we need to do is take each block of four bytes from the address given by scanLine and reverse their order. That should be the fastest way I would think?
I've got to take the dog for his walk right now but I'll have a go in an hour or so ;)
Looking at scanLine I wonder if we can't do something even lower-level. We don't actually need to use the QRgb, qRed, qBlue etc values - all we need to do is take each block of four bytes from the address given by scanLine and reverse their order. That should be the fastest way I would think?
I've got to take the dog for his walk right now but I'll have a go in an hour or so ;)