- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi!
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?
Thanks,
Pratibha
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Could you please provide your source code example in order to check the issue?
Thanks,
Tatyana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please find the code below:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tatyana,
I figured out that I was passing wrong image sizes to the API and its working without crash after that.
Thanks,
Pratibha
![](/skins/images/D3C0B914909A6564BBB97F4AD1ED1973/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page