Re: image squeezes when I apply my template
Re: image squeezes when I apply my template
- Subject: Re: image squeezes when I apply my template
- From: Paul Miller <email@hidden>
- Date: Fri, 05 Aug 2011 15:35:19 -0500
On 8/5/2011 3:14 PM, Peter Litwinowicz wrote:
I've found there are problems in FCP with both time and resolution with
getInputBitmap, but have not found significant problems in Motion.
I'm guessing you are getting back NULL because you are asking for
kFxDepth_UINT8? What happens if you use the renderinfo passed to you
instead of setting one up from scratch?
Nobody is giving me a RenderInfo, since this is in a parameterChanged
callback. So I figured I would give it ideal parameters for my needs.
Darrin wrote this on June 24:
One thing I forgot to mention is that all processing is now in float.
You should never again receive an 8-bit per channel image. They'll all
be either 16-bit textures (hardware render) or 32-bit bitmaps (software
render).
I'll just try passing an empty RenderInfo and see what happens!
Pete
From: Paul Miller <email@hidden <mailto:email@hidden>>
Date: Fri, 05 Aug 2011 14:50:24 -0500
To: "<undisclosed-recipients: ;>"
Cc: Pro-Apps-Dev <email@hidden
<mailto:email@hidden>>
Subject: Re: image squeezes when I apply my template
Just FYI, I've reported all kinds of stupid squeezing, offsetting, etc.
bugs like this. And the kind of squeezing seems to even change whether
there is an image well/drop zone in the effect or not (even if you are
not using it to do anything).
Thanks Pete - I'm about to file another one.
Have you had any problem fetching a bitmap with getInputBitmap?
In response to twiddling a checkbox, I need to fetch the current image
and do something with it. This is my code (uses the FxTemporalImageAPI):
FxRenderInfo info = { 0 };
info.frame = currentTime;// got from FxCustomParameterActionAPI
info.qualityLevel = kFxQuality_HIGH;
info.fieldOrder = kFieldOrder_PROGRESSIVE;
info.scaleX = info.scaleY = 1;
info.depth = kFxDepth_UINT8;
FxBitmap *bitmap = NULL;
[imageApi getInputBitmap:&bitmap withInfo:info atTime:currentTime];
But bitmap is NULL. This is in Motion.
Is this one of those cases where I was supposed to cache the last
rendered image and use it instead?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden
<mailto:email@hidden>)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden <mailto:email@hidden>
_______________________________________________
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