Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Kishor_D_
New Contributor I
43 Views

IPP Operations on planar data (IPP malloc for planar data)

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]));
0 Kudos
1 Reply
Naveen_G_Intel
Employee
43 Views

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