Quoting Claudio KLaN Ciccani: > Blitting 32 bits at once will be faster, but luma and chroma must be > scaled separately otherwise the image > will seem horribly corrupted. The above function is the fastest method I > found to do this, _currently_ (note: > "currently" is underlined).
Accessing memory byte wise is very slow on many platforms. You can scale the channels separately, but you should access the source and destination buffers 32 bit wise. -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" Convergence GmbH
