Re: image squeezes when I apply my template
site_archiver@lists.apple.com Delivered-To: pro-apps-dev@lists.apple.com User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0 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? 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 <paul@fxtech.com <mailto:paul@fxtech.com>> Date: Fri, 05 Aug 2011 14:50:24 -0500 To: "<undisclosed-recipients: ;>" Cc: Pro-Apps-Dev <pro-apps-dev@lists.apple.com <mailto:pro-apps-dev@lists.apple.com>> 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 (Pro-apps-dev@lists.apple.com <mailto:Pro-apps-dev@lists.apple.com>) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/pro-apps-dev/pete%40revisionfx.com This email sent to pete@revisionfx.com <mailto:pete@revisionfx.com> _______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.ap... On 8/5/2011 3:14 PM, Peter Litwinowicz wrote: 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. This email sent to site_archiver@lists.apple.com
participants (1)
-
Paul Miller