Skip to main content
Inspiring
March 24, 2025
Question

How do I increase the outFrame buffer size in the Premiere Pro SDK?

  • March 24, 2025
  • 0 replies
  • 154 views
Hello, everyone!
 
I'm creating a GPU effects plugin by modifying the Vignette_GPU example.
I used the CreateGPUPPix function of PrSDKGPUDeviceSuite to change the outFrame buffer size.
 
int bufferWidth = 2560;
int bufferHeight = 1440;

mGPUDeviceSuite->CreateGPUPPix(
mDeviceIndex,
pixelFormat,
bufferWidth,
bufferHeight,
inRenderParams->inRenderPARNum,
inRenderParams->inRenderPARDen,
inRenderParams->inRenderFieldType,
outFrame
);
 

However, the problem is that the origin of the buffer is fixed to the top left of the sequence.

The image below shows the problem I was facing, where the start of the outframe buffer is anchored to the top left of the sequence.

 

The image below is an example of the typical buffer resizing I want to implement.

 

How do I move the start point of an outframe buffer?

Dear Adobe community, please help me with this issue.