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: reading 10 bit uncompressed 4:2:2 QuickTimes?



Paul,

I need to find the effective PixelFormat of the QuickTime movie, in order to determine if I need to allocate a 32-bit or 64-bit GWorld to render it to.

I don't know much about the application side of QuickTime, but if QuickTime doesn't offer a higher-level function to do this, I suppose you need to loop through the movie's video tracks' sample descriptions, look at the data format, and decide whether any of them warrant using 16-bit precision for RGB, for example by looking up a suitable image decompressor component for the format, and asking the codec what precision to use for the track, which the codec returns in the 'preferredOffscreenPixelSize' field of the 'CodecDecompressParams' argument to the 'Preflight()' selector.


Andreas Wittenstein
BitJazz Inc.
http://www.bitjazz.com/sheervideo/

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

This email sent to email@hidden
References: 
 >reading 10 bit uncompressed 4:2:2 QuickTimes? (From: Paul Miller <email@hidden>)
 >Re: reading 10 bit uncompressed 4:2:2 QuickTimes? (From: Andreas Wittenstein <email@hidden>)
 >Re: reading 10 bit uncompressed 4:2:2 QuickTimes? (From: Paul Miller <email@hidden>)
 >Re: reading 10 bit uncompressed 4:2:2 QuickTimes? (From: Andreas Wittenstein <email@hidden>)
 >Re: reading 10 bit uncompressed 4:2:2 QuickTimes? (From: Paul Miller <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.