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

IPP v4 speed ippcopy..ippMirror

support2
Beginner
1,249 Views
In order to provide pixel swizzeling for a 2 tap camera i've used IPP with ippcopy() for first part of image ( halfline ) and ippMirror for second part of the image (halfline). This works well but is not as fast as expected. For a 24bit image 2048 * 2048 a trivial double loop in straight C is quite faster and less cpu time consuming. Why ? I have an intel board with 3Ghz P4 HT and 1Go Ram.
Anyway I really enjoy IPP and wait for upcoming book on it.
Sincerly yours
SRSR (france)
0 Kudos
5 Replies
Intel_C_Intel
Employee
1,249 Views

Hi, it looks a bit strange. Could you please provide us with your test code, so we will able to verify what is the problem. It is something that definitely should not be.

Thanks,
Vladimir

0 Kudos
support2
Beginner
1,249 Views

Hi,

here is the function using IPP:

void ResequenceTap2_IPP_C3HLR(BYTE* pDest,BYTE* pSrc,long iWidth, long iHeight,long iPitchDest, long iPitchSrc)

{

IppiSize dstRoiSize;

dstRoiSize.width = iWidth /2;

dstRoiSize.height= iHeight;

ippiCopy_8u_C3R((const Ipp8u*) pSrc,iPitchSrc,

(Ipp8u*)pDest,iPitchDest,(IppiSize)dstRoiSize);

pSrc += iPitchSrc/2;

pDest+= iPitchDest/2;

ippiMirror_8u_C3R((unsigned char*)pSrc,iPitchSrc,

(unsigned char*)pDest,iPitchDest,dstRoiSize,ippAxsVertical);

}

Sincerly yours,

0 Kudos
Intel_C_Intel
Employee
1,249 Views

Thank you, we will try to reproduce it.

Vladimir

0 Kudos
adi_shavit
Beginner
1,249 Views
Book? What book?
0 Kudos
support2
Beginner
1,249 Views
HI,
Intel Press has to publish a book on IPP ( and an another on Hyperthreading ): take a look at Intel Press and, like me expect that the book announced for February 2004 will be soon here... perhaps in April ?
SRSR
0 Kudos
Reply