Mailing Lists: Apple Mailing Lists

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

Camera IIDC and setting properties again..



I have problems setting features with VDIIDCSetFeatures.
I have tried getting an QTAtomContainer with VDIIDCGetFeatures. Finding the atom I want to copy, copying the atom to a QTAtomContainer, found the FeatureState structure in that structure, changed it and called VDIIDCSetFeatures.

What happens is, if I try to do this, nothing will happen to the image, if I change e.g. saturation, nothing happens.
If I read the FeatureState it reads e.g. 0.5 in the saturation state(seems like a fair value, and a correct value), and my guess is i have to supply a number between 0.0 and 1.0. My flags says 37, which I have decoded to "using raw values" and "manual control' plus one more flag.... I just can't get it to work
What confuses me is, raw values should be between 0...255 but all I have i a floatingpoint number to write in... Should I deliver as an absolute number ..
I have tried many possible scenarios, even tried to typecasting the QTSingleFloat to a long.. and setting a long value in it...

I have tried calling VDDigitizerChanged(channel) afterwards.. Without any luck!

I just can't get my VDig or camera to react to the values i give it, but I can read the values without problems...

What did i not read in the QT6.4 docs?? Are there any hidden info that i missed??

Is a code example necessary???


Jesper
_______________________________________________
quicktime-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/quicktime-api
Do not post admin requests to the list. They will be ignored.




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.