subpixel_sample does not work as intended in Premiere Pro 2025
Hi !
I created a Premier Pro effect plugin using the After Effects C++ SDK. The effect moves an image randomly. In order to achieve this, I used the SDK’s subpixel_sample function, very similarly to the shifter exemple provided within the SDK. Here is the function to achieve this :
PF_Err Pixel8Iteration(void* refcon, A_long x, A_long y, PF_Pixel* inPixel, PF_Pixel* outPixel) {
PF_Err err = PF_Err_NONE;
SettingsInfo* settings = (SettingsInfo*)refcon;
PF_Fixed new_xFi = INT2FIX(x) + settings->offset.x;
PF_Fixed new_yFi = INT2FIX(y) + settings->offset.y;
ERR(settings->in_data.utils->subpixel_sample(settings->in_data.effect_ref, new_xFi, new_yFi,
&settings->samp, outPixel));
return err;
}
We used subpixel_sample in order to achieve smooth transition when the movement is between to integer pixels.
My issue
The effect works well in every Premier Pro version until the version 2025.

In Premiere Pro 2025 however, the effect jumps from pixel to pixel.

What I have tried
- Testing older version of the plugins to make sure the issue does not come from my code
- Upgrading the SDK to the latest version (from 25.2 to 25.6) and testing on every Premiere version
- Changing the settings’s offset to use double instead of float
Do you know how I can solve this / what workaround can be applied ?
