- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to perform resize operation on planar data. Functions that
operate on planar images require an array of separate pointers (IppType* plane[3]) to
each plane as input. To do that I got sample code from manual. In this sample code how the stepBytes[] array is initialized?
int stepBytes[3];
Ipp8u* plane[3];
plane[0] = ippiMalloc_8u_C1(widthPixels, heightPixels,
&(stepBytes [0]));
plane[1] = ippiMalloc_8u_C1(widthPixels/2, heightPixels/2,
&(stepBytes [1]));
plane[2] = ippiMalloc_8u_C1(widthPixels/2, heightPixels/2,
&(stepBytes [2]));
operate on planar images require an array of separate pointers (IppType* plane[3]) to
each plane as input. To do that I got sample code from manual. In this sample code how the stepBytes[] array is initialized?
int stepBytes[3];
Ipp8u* plane[3];
plane[0] = ippiMalloc_8u_C1(widthPixels, heightPixels,
&(stepBytes [0]));
plane[1] = ippiMalloc_8u_C1(widthPixels/2, heightPixels/2,
&(stepBytes [1]));
plane[2] = ippiMalloc_8u_C1(widthPixels/2, heightPixels/2,
&(stepBytes [2]));
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Kishore,
See this forum to get information on calculation of step - http://software.intel.com/en-us/forums/showthread.php?t=64816
Regards,
Naveen Gv

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page