I am trying to use IPP functionality to resize/downsizeYuv image using ippiResizeYUV420Super_8u_P2R API.
I did use ippiResizeYUV420GetSize, allocated memory for pSpec and pBuffer as per output of this API using malloc, called ippiResizeYUV420SuperInit followed by ippiResizeYUV420GetBufferSize.
Everything is fine so far and all of these APIs return status 0, but when I actually use ippiResizeYUV420Super_8u_P2R, my application crashes at I9_ownSS1_8u.
Any advice? Also, I am not sure what should be my destination offset in ippiResizeYUV420Super_8u_P2R and how to calculate that.
Please note that I am using this API for downsizing my image.
Is there any sample code for this?
Please find the code below: