Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
6712 Discussions

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

Kishor_D_
New Contributor I
281 Views
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
281 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

0 Kudos
Reply