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

ippiAdd for Ipp32s

ezeng3
Beginner
538 Views

HI, All:

 

     I cannot find the ippiAdd for data type Ipp32s, even in the latest ipp2019 update 3. Is there any specific reason and what is the work around solution?

    Thanks.

 

Best Regards,

Edwin Zeng

0 Kudos
3 Replies
Igor_A_Intel
Employee
538 Views

Hi Edwin,

the simplest workaround is to use ippSP functions - for each image row:

IPPAPI(IppStatus, ippsAdd_32s_ISfs,  (const Ipp32s*  pSrc,                        Ipp32s*  pSrcDst, int len, int scaleFactor))
IPPAPI(IppStatus, ippsAdd_32s_Sfs,   (const Ipp32s*  pSrc1, const Ipp32s*  pSrc2, Ipp32s*  pDst,    int len, int scaleFactor))
IPPAPI(IppStatus, ippsAdd_32sc_ISfs, (const Ipp32sc* pSrc,                        Ipp32sc* pSrcDst, int len, int scaleFactor))
IPPAPI(IppStatus, ippsAdd_32sc_Sfs,  (const Ipp32sc* pSrc1, const Ipp32sc* pSrc2, Ipp32sc* pDst,    int len, int scaleFactor))
 

regards, Igor

0 Kudos
ezeng3
Beginner
538 Views

Hi, Igor:

 

       Thanks for your information. Yes, I have tried to use ippsAdd, but it is much slower compared to directly using the SIMD instruction.

 

        Is there any specific reason why the intel does not provide the ippiAdd for the 32s? It provides the function to allocate the memory, but there is no much basic operation to support the Ipps32 for image.

 

Best Regards

Edwin

0 Kudos
Gennady_F_Intel
Moderator
538 Views

You may submit the Feature Request to the Intel Online service center : 

OSC - https://supporttickets.intel.com/?lang=en-US

and here is how to create the access: https://software.intel.com/en-us/articles/how-to-create-a-support-reques...

 

0 Kudos
Reply