Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Badly need to know supported resolutions. Yep, this same question again.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Badly need to know supported resolutions. Yep, this same question again.



I found this:
http://www.ioxperts.com/APIDocumentation.html
and it is the coolest thing since sliced bread (in particular
those APIs give me the list of supported resolutions and frame
rates). But. Obviously, it only works with IOXperts drivers.
Am I right assuming that there is simply *NO* such a universal
API that works across most (dare I say all) drivers/cameras?
What workarounds do you guys use?

Here is one unpleasant workaround I found to know if the
particular resolution is supported: I set particular channel
bounds with SGSetChannelBounds, make the necessary preparations,
start recording, wait until my SGIdle proc is called, grab the
resulting width/height from ImageDescription and Stop recording
once I know the result. This takes quite a fraction of second
depending on driver/camera, so if I want to make a menu that
list supported resolutions it could take few seconds. Worse:
I have to only query few good "known" sizes, because iterating
over all combinations of 65,535 widths * 65,535 heights would
really take a *while*.

Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden




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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.