Skip to main content
dkt0
Inspiring
May 2, 2025
Question

Expand buffer/Sample out of bounds.

  • May 2, 2025
  • 1 reply
  • 168 views

How do you expand the buffer correctly, because I always get the "invalid max_result_rect" error from AE and how do you SAMPLE in that expanded buffer?

 

What do you do with Distortions or Blurs? They are supposed to sample out of bounds.

 

This little issue here is just beyond my capabilities I swear. I just can't comprehend the fact that I managed to implement GPU Acceleration for CUDA, OpenCL, Metal and DirectX, and I can't do something as simple as expanding the buffer and sampling out of bounds.

 

You all should really update the SDK with a sample plugin that does this, there's only Resizer which is a non-SmartFX plugin, that does not help at all, yk??

Please provide example codes!

1 reply

Community Expert
May 19, 2025

ah. i see that you have already found the resizer sample project.

can you post the relevant code? perhaps there's some problem there that will catch my eye.