Re: Getting the original Y values back from inside a core image kernel
Re: Getting the original Y values back from inside a core image kernel
- Subject: Re: Getting the original Y values back from inside a core image kernel
- From: Darrin Cardani <email@hidden>
- Date: Tue, 15 Jul 2008 13:07:31 -0700
On Jul 15, 2008, at 12:14 PM, Brad Wright wrote: Hi ProApps:
I have an FXPlug filter that uses a core image kernel to calculate the original Y values in a Ycbcr color space. Using Core Video in a separate applications, the values match the original Y values. Inside Final Cut Pro, the values are only matching in the first and last 10 percent or so of the video brightness range. I've tried Gamma Correction, and all forms of compensating I can think of, but it doesn't pull back the original Y values. What filters and working color space is Final Cut Pro using when it converts an image from Ycbcr into an FXTexture. I can explain the variation.
You can get the color transformation using the FxImageColorInfoAPI defined in FxImage.h. See the definition of FxImageColorInfo for more details. You can also get the Y'CbCr texture from Final Cut Pro directly by adding the kFxPropertyKey_SupportsR408 and kFxPropertyKey_SupportsR4fl flags to the dictionary returned by your plugin's -properties method, if that would help at all.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden