Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Lars_A_
Beginner
65 Views

ippiFilterBoxBorderGetBufferSize gives different buffer size in IPP8.2 vs. Ipp9.3

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

0 Kudos
3 Replies
Jonghak_K_Intel
Employee
65 Views

Hi,

could you please post the snippet of your code for better investigation ?

thank you.

 

Lars_A_
Beginner
65 Views

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

Valentin_K_Intel
Employee
65 Views

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