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: parsing numbers in QT files



There are fixed-point conversion routines in quicktime.util.QTUtils. Pehaps you're looking for Fix2X(), which takes an int in fixed-point and return a float?

--Chris

On Jun 5, 2008, at 6:11 PM, email@hidden wrote:

Even after doing some background research on two's complement
encoding, I'm still a little stuck.  Specifically I'm trying to parse
4 bytes representing "fixed-point numbers divided as 16.16". (And then
once that is addressed, also "divided as 2.30".)

Before I beat myself up over this: does anyone have any pointers on
this subject?  Maybe examples of other code that does this?

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

This email sent to email@hidden
References: 
 >parsing numbers in QT files (From: 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.