Date: February 12, 2007 4:09:09 PM PST
Subject: Re: FxPlug adding color cast.
At 3:29 PM -0800 2/12/07, Trevor Anderson wrote:
I found the problem. I logged the pixel data by running two plugins,
one after the other. Final cut is decreasing all values by one. If you
simply pass back the input values in the plugin, FC then subtracts one
from them, after fixing this in the plugin, passing back the input
data plus one, the cast went away and everything works as expected.
Seems like there is a bug in there somewhere, and it's in Final Cut
after it gets the frame back from the plugin.
Thanks to everyone who helped me out, I'm glad it was this simple, as
I really wanted to avoid the workaround.
Trevor
Good catch, Trevor -- though it sounds like the shift affects all RGB colors and is not really a cast.
I'd noticed some 254's in my debugging code where I expected 255's , but had been too busy with other issues to dig further.
Dave, et al,
Can you comment on this. We don't really want to bump our input values by 1 every time we are called.
--
"Now, here, you see, it takes all the running you can do, to keep in the same place. If you want to get somewhere else, you must run at least twice as fast as that!" -- The Red Queen
Emile Tobenfeld, Ph. D.
Video Producer Image Processing Specialist
Video for your HEAD! Boris FX