vImage_Buffer struct has a field for row bytes as well as image dimensions.

On Jan 8, 2009, at 6:54 AM, Eric Gorr wrote:

Looks nearly perfect ... unfortunately, it does not look like it will take the rowBytes of the GWorldPtr data into account. But, it may still be faster to create a flattened buffer and pass that into vImagePermuteChannels_ARGB8888 to do all of the swapping.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to