Hi,
During the upgrade from IPP 8.2 to IPP 9.3, we noticed that "ippiFilterBoxBorderGetBufferSize" function gives different results.
The input parameters to this function were:
ROI: {X = 0 Y = 0 Width = 2056 Height = 2056}
Mask Size: {Width = 15 Height = 15}
Data Type: ipp32f
Number Of Channels: 1
And the buffer size coming out of this function was:
IPP 8.2: 17843472
IPP 9.3: 827240
Please advise with further information about the root cause to this difference.
I'd appreciate your help in advance
Link Copied
Hi,
could you please post the snippet of your code for better investigation ?
thank you.
Hi,
Thanks for your reply.
The code snippet is as follows (The same for both 8.2 and 9.03):
Size maskSize = new Size(15,15);
int bufferSize;
ippStatus = ippiFilterBoxBorderGetBufferSize(outputImage.GetRoiSize(), maskSize, IppDataType.ipp32f, 1, &bufferSize);
Best,
Lars
Hi Lars,
The function ippiFilterBoxBorderGetBufferSize returns the maximum buffer size from out-of-place and in-place cases. The implementation of function ippiFilterBoxBorder_32f_C1R was changed for IPP 9.0.3 for in-place case. So the buffer size for in-place case was changed that leads to changing the returned buffer size.
Best regards,
Valentin
For more complete information about compiler optimizations, see our Optimization Notice.