Question Regarding Temporal Smoothing and Frame Processing Order in AE/Pr SDK
Dear Adobe Teams,
I am developing custom filters for After Effects and Premiere Pro using the official Adobe SDK. From time to time, to prevent output artifacts such as flickering in the rendered sequence, I need to implement temporal smoothing—for example, combining results from consecutive frames.
From my understanding, both AE and Pr use a multi-threaded rendering engine, meaning that my Render function may be invoked simultaneously for multiple frames in the sequence (meaning called from number of host threads). Could you please confirm if this assumption is correct?
If so, I would like to know whether there is any mechanism or guarantee that Render calls are executed in frame order (i.e., frame 1, frame 2, frame 3, … frame N). This is critical for implementing temporal smoothing correctly, as it requires combining results from frame N with those from frame N-1.
Specifically:
Can I safely assume that the SDK will invoke Render in sequential frame order?
When processing of frame N is near completion, is it guaranteed that frame N-1 has already finished processing?
Any guidance on this matter would be greatly appreciated, as it would significantly influence how I implement temporal smoothing in my plugin.
Thank you in advance for your support.
Best regards,
