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: Possible bug with disabling color correction within a movie player patch - anyone else notice this?



Hello vade,

I am able to reproduce it.

it seems that the colour corrected movie has different coordinates in the CI space (don't know what the correct name is. working space perhaps)
I tested it with image 1 larger than image 2. When I do that and enable colour correction then I have to shift the image vertically by the dimensions difference.
say image 1 is 1024 x 768
image 2 is 640 x 480


then I have to shift image 2 up by (768-480)px = 288px

vec4 img2 = sample(image2, (samplerCoord(image2) + vec2(0,288) )/ maxSize * samplerSize(image2) );

A long time ago when I read the CI manual I think that I can remember a part where the image is usualy positioned into the first quadrant in CI space. When correcting the colours it seems to no longer apply.

Don't know whether it is intended to be so but in my opinion it is not because I can't see any sense behind that.
At least this little hint will give you a workaround.


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

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 © 2007 Apple Inc. All rights reserved.