Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get 24 bit RGB data



 
On Sunday, October 16, 2005, at 05:04PM, g w <email@hidden> wrote:

> When scaning the second line, it begins form bandBuffer + bandWidth * 4.
>  And the second line data is kPMXRGB_32 format data.

I thought we had decided in an earlier message that bandWidth*4 was incorrect because kPMRGB_24 format data had 3 bytes per pixel.

> The kPMRGB_24 format data is more fast than  kPMXRGB_32 format data
> when dealing or translating them???

I leave this to you to profile dependent on what you are doing with the data, but I would presume that Apple rips the raster into XRGB and only compresses out the X as an extra step when the driver requests that colorspace (thus, adding additional time), and then your processing may be less than optimal because of the lack of alignment of the pixels in memory.

--
Roger L Long
email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Printing mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/printing/email@hidden

This email sent to email@hidden

References: 
 >Re: How to get 24 bit RGB data (From: g w <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.