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

simple conversion from 24 to 32 bit... can't do it...

O_Brien__Brian
Beginner
305 Views

I have a memory buffer that is even in width of pixels.  
The buffer is formatted as a stream of bytes.  RGBRGBRGB
I simply want to convert that buffer to RGBARGBA.

Help?

 

0 Kudos
1 Reply
Igor_A_Intel
Employee
305 Views

Hi Brian,

IPP has special function for this purpose:

IPPAPI( IppStatus, ippiCopy_8u_C3AC4R,
                   ( const Ipp8u* pSrc, int srcStep,
                     Ipp8u* pDst, int dstStep, IppiSize roiSize ))

regards, Igor

0 Kudos
Reply