How to pass data between CPU-side and GPU-side of an AE Transition Extension Plugin
Hi,
I'm developing a Premiere Pro Transition Plugin using the GPU and AE Transition Extensions.
But right now I'm struggling to pass data between the CPU-side of the plugin to the GPU-side (e.g. data allocated and set during PF_Cmd_SEQUENCE_SETUP).
In the GPUFilter I tried to use GetProperty( kVideoSegmentProperty_Transition_TransitionOpaqueData ), but always received an suiteError_IDNotValid error.
I also tried to call
prSuiteError suiteError = mVideoSegmentSuite->GetNodeProperty(instanceID, kVideoSegmentProperty_Transition_TransitionOpaqueData, &buffer);
directly with instanceID == kVideoSegmentProperty_Transition_RuntimeInstanceID, but received the same error.
Then I tried to use the PrSDKOpaqueEffectDataSuite. A call to AcquireOpaqueEffectData() with instanceID seemed to work without error, but I always received a null pointer as the passed OpaqueEffectDataType.
I also tried to use an ArbitraryData parameter from the PF_Cmd_PARAMS_SETUP, but the memory pointer i received via GetParam() didn't seem to be valid anyhow.
Do you have any idea what I might be doing wrong, or what would be the correct way to pass data?
Regards,
Philipp Stelzer
