Copy link to clipboard
Copied
Hello,
I have written a PremierePro plugin that expose GPU rendering via PrGPUFilterModule template which add a xGPUFilterEntry entry point.
In AfterEffects, it is detected as a GPU filter however, I am using:
But these suites are not available in AfterEffects.
Is there a way to get a mechanism to pass "opaque" data between AE "EffectMain" and PPro "xGPUFilterEntry" ? in_data->sequence_data is not available in xGPUFilterEntry and AcquireOpaqueEffectData was the way I found in PremierePro to exhange data BUT the corresponding suite is not available in AE!
Thanks in advance
David
Copy link to clipboard
Copied
I have done some investigations and the `xGPUFilterEntry` (CreateInstance) callback seems to be able to acquire the kPrSDKOpaqueEffectDataSuite using:
mSuites->utilFuncs->getSPBasicSuite()->AcquireSuite(kPrSDKOpaqueEffectDataSuite, kPrSDKOpaqueEffectDataSuiteVersion, (const void**)&mOpaqueEffectSuite);
However trying to get the suite in AE's EffectMain, I got an exception when using:
AEFX_SuiteScoper<PrSDKOpaqueEffectDataSuite> opaqueEffectDataSuite(in_data, kPrSDKOpaqueEffectDataSuite, kPrSDKOpaqueEffectDataSuiteVersion, out_data);
So, it seems to me that the suite code is avaibale in AfterEffects but I have no idea to get a pointer to it in the AE's EffectMain callbacks ?
What should/could I do ?
Thanks in advance.